Interface CfnTable.TimeToLiveSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.TimeToLiveSpecificationProperty.Jsii$Proxy
- Enclosing class:
- CfnTable
@Stability(Stable)
public static interface CfnTable.TimeToLiveSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.dynamodb.*; TimeToLiveSpecificationProperty timeToLiveSpecificationProperty = TimeToLiveSpecificationProperty.builder() .attributeName("attributeName") .enabled(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTable.TimeToLiveSpecificationProperty
static final class
An implementation forCfnTable.TimeToLiveSpecificationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the TTL attribute used to store the expiration time for items in the table.Indicates whether TTL is to be enabled (true) or disabled (false) on the table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributeName
The name of the TTL attribute used to store the expiration time for items in the table.- To update this property, you must first disable TTL and then enable TTL with the new attribute name.
-
getEnabled
Indicates whether TTL is to be enabled (true) or disabled (false) on the table. -
builder
-