Class CfnTablePropsMixin.TimeToLiveSpecificationProperty
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DynamoDB
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTablePropsMixin.TimeToLiveSpecificationProperty : CfnTablePropsMixin.ITimeToLiveSpecificationProperty
Syntax (vb)
Public Class CfnTablePropsMixin.TimeToLiveSpecificationProperty Implements CfnTablePropsMixin.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.CfnPropertyMixins.AWS.DynamoDB;
var timeToLiveSpecificationProperty = new TimeToLiveSpecificationProperty {
AttributeName = "attributeName",
Enabled = false
};
Synopsis
Constructors
| TimeToLiveSpecificationProperty() | Represents the settings used to enable or disable Time to Live (TTL) for the specified table. |
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. |
Constructors
TimeToLiveSpecificationProperty()
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
public TimeToLiveSpecificationProperty()
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.CfnPropertyMixins.AWS.DynamoDB;
var timeToLiveSpecificationProperty = new TimeToLiveSpecificationProperty {
AttributeName = "attributeName",
Enabled = false
};
Properties
AttributeName
The name of the TTL attribute used to store the expiration time for items in the table.
public string? AttributeName { get; set; }
Property Value
Remarks
Enabled
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
public object? Enabled { get; set; }