

# TimeToLive
<a name="API_TimeToLive"></a>

Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.

For more information, see [Enabling TTL on tables](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_enabling) in the *Amazon Keyspaces Developer Guide*.

## Contents
<a name="API_TimeToLive_Contents"></a>

 ** status **   <a name="keyspaces-Type-TimeToLive-status"></a>
Shows how to enable custom Time to Live (TTL) settings for the specified table.  
Type: String  
Valid Values: `ENABLED`   
Required: Yes

## See Also
<a name="API_TimeToLive_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/keyspaces-2022-02-10/TimeToLive) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/keyspaces-2022-02-10/TimeToLive) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/keyspaces-2022-02-10/TimeToLive) 