Interface CfnTable.ITimeToLiveSpecificationProperty
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITimeToLiveSpecificationProperty
Syntax (vb)
Public Interface ITimeToLiveSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var timeToLiveSpecificationProperty = new TimeToLiveSpecificationProperty {
Enabled = false,
// the properties below are optional
AttributeName = "attributeName"
};
Synopsis
Properties
AttributeName | The name of the TTL attribute used to store the expiration time for items in the table. |
Enabled | Indicates whether TTL is to be enabled (true) or disabled (false) on the table. |
Properties
AttributeName
The name of the TTL attribute used to store the expiration time for items in the table.
virtual string AttributeName { get; }
Property Value
System.String
Remarks
Enabled
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
object Enabled { get; }
Property Value
System.Object