Show / Hide Table of Contents

Class CfnTable.TimeToLiveSpecificationProperty

Represents the settings used to enable or disable Time to Live (TTL) for the specified table.

Inheritance
System.Object
CfnTable.TimeToLiveSpecificationProperty
Implements
CfnTable.ITimeToLiveSpecificationProperty
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.AWS.DynamoDB.dll
Syntax (csharp)
public class TimeToLiveSpecificationProperty : Object, CfnTable.ITimeToLiveSpecificationProperty
Syntax (vb)
Public Class TimeToLiveSpecificationProperty
    Inherits Object
    Implements CfnTable.ITimeToLiveSpecificationProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-timetolivespecification.html

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 {
    AttributeName = "attributeName",
    Enabled = false
};

Synopsis

Constructors

TimeToLiveSpecificationProperty()

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()

public TimeToLiveSpecificationProperty()

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

System.String

Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-timetolivespecification.html#cfn-dynamodb-table-timetolivespecification-attributename

    Enabled

    Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

    public object Enabled { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-timetolivespecification.html#cfn-dynamodb-table-timetolivespecification-enabled

    Implements

    CfnTable.ITimeToLiveSpecificationProperty
    Back to top Generated by DocFX