sdk/python/pulumi_aws/ec2/instance.py
def credit_specification(self) -> Optional[pulumi.Input['InstanceCreditSpecificationArgs']]:
        """
        Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
        """
        return pulumi.get(self, "credit_specification")

        Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
        
Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
Configuration block for customizing the credit specification of the instance . See Credit Specification below for more details . the provider will only perform drift detection of its value when present in a configuration . Removing this configuration on existing instances will only stop managing it . It will not change the configuration back to the default for the instance type .
def credit_specification(self) -> Optional[pulumi.Input['InstanceCreditSpecificationArgs']]:
        return pulumi.get(self, "credit_specification")
def credit_specification ( self ) -> Optional [ pulumi . Input [ 'InstanceCreditSpecificationArgs' ] ] : return pulumi . get ( self , "credit_specification" )
Configuration block for customizing the credit specification of the instance.
Configuration block for customizing the credit specification of the instance .
"""
        Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
        """
self