sdk/python/pulumi_aws/ec2/spot_instance_request.py
def ami(self) -> Optional[pulumi.Input[str]]:
        """
        AMI to use for the instance. Required unless `launch_template` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
        """
        return pulumi.get(self, "ami")

        AMI to use for the instance. Required unless `launch_template` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
        
AMI to use for the instance. Required unless `launch_template` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
AMI to use for the instance . Required unless ` launch_template ` is specified and the Launch Template specifes an AMI . If an AMI is specified in the Launch Template setting ` ami ` will override the AMI specified in the Launch Template .
def ami(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "ami")
def ami ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "ami" )
AMI to use for the instance.
AMI to use for the instance .
"""
        AMI to use for the instance. Required unless `launch_template` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
        """
self