Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

DynamoDB Table TimeToLiveSpecification

The TimeToLiveSpecification property specifies the Time to Live (TTL) settings for an AWS::DynamoDB::Table resource. It is expressed as an attribute on the items in the table. For more information, see UpdateTimeToLive in the Amazon DynamoDB API Reference.

Syntax

JSON

Copy
{ "AttributeName" : String, "Enabled" : Boolean }

YAML

Copy
AttributeName: String Enabled: Boolean

Properties

AttributeName

The name of the TTL attribute that stores the expiration time for items in the table. The name can be 1–255 characters long, and has no character restrictions.

Required: Yes

Type: String

Update requires: No interruption

Enabled

Indicates whether to enable (by specifying true) or disable (by specifying false) TTL on the table.

Required: Yes

Type: Boolean

Update requires: No interruption

On this page: