sdk/python/pulumi_aws/ec2/fleet.py
def excess_capacity_termination_policy(self) -> Optional[pulumi.Input[str]]:
        """
        Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
        """
        return pulumi.get(self, "excess_capacity_termination_policy")

        Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
        
Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 . Valid values : ` no - termination ` ` termination ` . Defaults to ` termination ` .
def excess_capacity_termination_policy(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "excess_capacity_termination_policy")
def excess_capacity_termination_policy ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "excess_capacity_termination_policy" )
Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2.
Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 .
"""
        Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
        """
self