

# TtlDuration
<a name="API_TtlDuration"></a>

Time to live duration, where the record is hard deleted after the expiration time is reached; `ExpiresAt` = `EventTime` \$1 `TtlDuration`. For information on HardDelete, see the [DeleteRecord](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html) API in the Amazon SageMaker API Reference guide.

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

 ** Unit **   <a name="sagemaker-Type-TtlDuration-Unit"></a>
 `TtlDuration` time unit.  
Type: String  
Valid Values: `Seconds | Minutes | Hours | Days | Weeks`   
Required: No

 ** Value **   <a name="sagemaker-Type-TtlDuration-Value"></a>
 `TtlDuration` time value.  
Type: Integer  
Valid Range: Minimum value of 1.  
Required: No

## See Also
<a name="API_TtlDuration_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/sagemaker-2017-07-24/TtlDuration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/TtlDuration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/TtlDuration) 