@Stability(value=Stable)
public static interface CfnTable.TimeToLiveSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getAttributeName()
The name of the TTL attribute used to store the expiration time for items in the table.
|
Object |
getEnabled()
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
|
@Stability(value=Stable) @NotNull String getAttributeName()
To update this property, you must first disable TTL then enable TTL with the new attribute name.
@Stability(value=Stable) @NotNull Object getEnabled()
@Stability(value=Stable) static CfnTable.TimeToLiveSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.