sdk/python/pulumi_aws/ec2/_inputs.py
def capacity_reservation_id(self) -> Optional[pulumi.Input[str]]:
        """
        The ID of the Capacity Reservation in which to run the instance.
        """
        return pulumi.get(self, "capacity_reservation_id")

        The ID of the Capacity Reservation in which to run the instance.
        
The ID of the Capacity Reservation in which to run the instance.
The ID of the Capacity Reservation in which to run the instance .
def capacity_reservation_id(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "capacity_reservation_id")
def capacity_reservation_id ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "capacity_reservation_id" )
The ID of the Capacity Reservation in which to run the instance.
The ID of the Capacity Reservation in which to run the instance .
"""
        The ID of the Capacity Reservation in which to run the instance.
        """
self