sdk/python/pulumi_aws/ec2/spot_instance_request.py
def disable_api_termination(self) -> Optional[pulumi.Input[bool]]:
        """
        If true, enables [EC2 Instance Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination).
        """
        return pulumi.get(self, "disable_api_termination")

        If true, enables [EC2 Instance Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination).
        
If true, enables [EC2 Instance Termination Protection].
If true enables [ EC2 Instance Termination Protection ] .
def disable_api_termination(self) -> Optional[pulumi.Input[bool]]:
        return pulumi.get(self, "disable_api_termination")
def disable_api_termination ( self ) -> Optional [ pulumi . Input [ bool ] ] : return pulumi . get ( self , "disable_api_termination" )
If true, enables [EC2 Instance Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination).
If true enables [ EC2 Instance Termination Protection ] ( https : // docs . aws . amazon . com / AWSEC2 / latest / UserGuide / terminating - instances . html#Using_ChangingDisableAPITermination ) .
"""
        If true, enables [EC2 Instance Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination).
        """
self