Class: Ansible::Ruby::Modules::Dynamodb_ttl

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/dynamodb_ttl.rb

Overview

Uses boto3 to set TTL. requires botocore version 1.5.24 or higher.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#attribute_nameString

Returns the name of the Time to Live attribute used to store the expiration time for items in the table,this appears to be required by the API even when disabling TTL.

Returns:

  • (String)

    the name of the Time to Live attribute used to store the expiration time for items in the table,this appears to be required by the API even when disabling TTL.



21
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/dynamodb_ttl.rb', line 21

attribute :attribute_name

#state:enable, ...

Returns state to set DynamoDB table to.

Returns:

  • (:enable, :disable, nil)

    state to set DynamoDB table to



13
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/dynamodb_ttl.rb', line 13

attribute :state

#table_nameString

Returns name of the DynamoDB table to work on.

Returns:

  • (String)

    name of the DynamoDB table to work on



17
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/dynamodb_ttl.rb', line 17

attribute :table_name