sdk/python/pulumi_aws/ec2/spot_instance_request.py
def spot_type(self) -> Optional[pulumi.Input[str]]:
        """
        If set to `one-time`, after
        the instance is terminated, the spot request will be closed.
        """
        return pulumi.get(self, "spot_type")

        If set to `one-time`, after
        the instance is terminated, the spot request will be closed.
        
If set to `one-time`, after
the instance is terminated, the spot request will be closed.
If set to ` one - time ` after the instance is terminated the spot request will be closed .
def spot_type(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "spot_type")
def spot_type ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "spot_type" )
If set to `one-time`, after
the instance is terminated, the spot request will be closed.
If set to ` one - time ` after the instance is terminated the spot request will be closed .
"""
        If set to `one-time`, after
        the instance is terminated, the spot request will be closed.
        """
self