Skip to content

DynamoDB  >  Structures  >  TimeToLiveSpecification

TimeToLiveSpecification

Structure Class

TimeToLiveSpecification dataclass

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

Attributes

attribute_name instance-attribute
attribute_name: str

The name of the TTL attribute used to store the expiration time for items in the table.

enabled instance-attribute
enabled: bool

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