Class: Aws::DynamoDB::Types::TimeToLiveSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::TimeToLiveSpecification
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dynamodb/types.rb
Overview
Note:
When making an API call, you may pass TimeToLiveSpecification data as a hash:
{
enabled: false, # required
attribute_name: "TimeToLiveAttributeName", # required
}
Represents the settings used to enable or disable Time to Live for the specified table.
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
The name of the Time to Live attribute used to store the expiration time for items in the table.
-
#enabled ⇒ Boolean
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
Instance Attribute Details
#attribute_name ⇒ String
The name of the Time to Live attribute used to store the expiration time for items in the table.
6877 6878 6879 6880 6881 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 6877 class TimeToLiveSpecification < Struct.new( :enabled, :attribute_name) include Aws::Structure end |
#enabled ⇒ Boolean
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
6877 6878 6879 6880 6881 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 6877 class TimeToLiveSpecification < Struct.new( :enabled, :attribute_name) include Aws::Structure end |