public static interface CfnTable.TimeToLiveSpecificationProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTable.TimeToLiveSpecificationProperty.Builder
A builder for
CfnTable.TimeToLiveSpecificationProperty |
static class |
CfnTable.TimeToLiveSpecificationProperty.Jsii$Proxy
An implementation for
CfnTable.TimeToLiveSpecificationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTable.TimeToLiveSpecificationProperty.Builder |
builder() |
java.lang.String |
getAttributeName()
The name of the TTL attribute used to store the expiration time for items in the table.
|
java.lang.Object |
getEnabled()
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
|
java.lang.String getAttributeName()
To update this property, you must first disable TTL then enable TTL with the new attribute name.
java.lang.Object getEnabled()
static CfnTable.TimeToLiveSpecificationProperty.Builder builder()