You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DynamoDB::Types::TimeToLiveSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::TimeToLiveSpecification
- Defined in:
- (unknown)
Overview
Note:
When passing TimeToLiveSpecification as input to an Aws::Client method, you can use a vanilla Hash:
{
enabled: false, # required
attribute_name: "TimeToLiveAttributeName", # required
}
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Returned by:
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
The name of the TTL attribute used to store the expiration time for items in the table.
-
#enabled ⇒ Boolean
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
Instance Attribute Details
#attribute_name ⇒ String
The name of the TTL attribute used to store the expiration time for items in the table.
#enabled ⇒ Boolean
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.