Interface CfnTablePropsMixin.TimeToLiveSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTablePropsMixin.TimeToLiveSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnTablePropsMixin
@Stability(Stable)
public static interface CfnTablePropsMixin.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.cfnpropertymixins.services.dynamodb.*;
TimeToLiveSpecificationProperty timeToLiveSpecificationProperty = TimeToLiveSpecificationProperty.builder()
.attributeName("attributeName")
.enabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsMixin.TimeToLiveSpecificationPropertystatic final classAn implementation forCfnTablePropsMixin.TimeToLiveSpecificationProperty -
Method Summary
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.- The
AttributeNameproperty is required when enabling the TTL, or when TTL is already enabled. - To update this property, you must first disable TTL and then enable TTL with the new attribute name.
- See Also:
- The
-
getEnabled
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-