Class: Ansible::Ruby::Modules::Dynamodb_table

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

Overview

Create or delete AWS Dynamo DB tables. Can update the provisioned throughput on existing tables. Returns the status of the specified table.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#hash_key_nameString?

Returns Name of the hash key.,Required when C(state=present).

Returns:

  • (String, nil)

    Name of the hash key.,Required when C(state=present).



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

attribute :hash_key_name

#hash_key_type:STRING, ...

Returns Type of the hash key.

Returns:

  • (:STRING, :NUMBER, :BINARY, nil)

    Type of the hash key.



25
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 25

attribute :hash_key_type

#indexesObject?

Returns list of dictionaries describing indexes to add to the table. global indexes can be updated. local indexes don’t support updates or have throughput.,required options: [‘name’, ‘type’, ‘hash_key_name’],valid types: [‘all’, ‘global_all’, ‘global_include’, ‘global_keys_only’, ‘include’, ‘keys_only’],other options: [‘hash_key_type’, ‘range_key_name’, ‘range_key_type’, ‘includes’, ‘read_capacity’, ‘write_capacity’].

Returns:

  • (Object, nil)

    list of dictionaries describing indexes to add to the table. global indexes can be updated. local indexes don’t support updates or have throughput.,required options: [‘name’, ‘type’, ‘hash_key_name’],valid types: [‘all’, ‘global_all’, ‘global_include’, ‘global_keys_only’, ‘include’, ‘keys_only’],other options: [‘hash_key_type’, ‘range_key_name’, ‘range_key_type’, ‘includes’, ‘read_capacity’, ‘write_capacity’]



45
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 45

attribute :indexes

#nameString

Returns Name of the table.

Returns:

  • (String)

    Name of the table.



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

attribute :name

#range_key_nameString?

Returns Name of the range key.

Returns:

  • (String, nil)

    Name of the range key.



29
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 29

attribute :range_key_name

#range_key_type:STRING, ...

Returns Type of the range key.

Returns:

  • (:STRING, :NUMBER, :BINARY, nil)

    Type of the range key.



33
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 33

attribute :range_key_type

#read_capacityInteger?

Returns Read throughput capacity (units) to provision.

Returns:

  • (Integer, nil)

    Read throughput capacity (units) to provision.



37
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 37

attribute :read_capacity

#state:present, ...

Returns Create or delete the table.

Returns:

  • (:present, :absent, nil)

    Create or delete the table



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

attribute :state

#write_capacityInteger?

Returns Write throughput capacity (units) to provision.

Returns:

  • (Integer, nil)

    Write throughput capacity (units) to provision.



41
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 41

attribute :write_capacity