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

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

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, #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).



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

attribute :hash_key_name

#hash_key_type:STRING, ...

Returns Type of the hash key.

Returns:

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

    Type of the hash key.



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

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’]



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

attribute :indexes

#nameString

Returns Name of the table.

Returns:

  • (String)

    Name of the table.



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

attribute :name

#range_key_nameString?

Returns Name of the range key.

Returns:

  • (String, nil)

    Name of the range key.



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

attribute :range_key_name

#range_key_type:STRING, ...

Returns Type of the range key.

Returns:

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

    Type of the range key.



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

attribute :range_key_type

#read_capacityInteger?

Returns Read throughput capacity (units) to provision.

Returns:

  • (Integer, nil)

    Read throughput capacity (units) to provision.



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

attribute :read_capacity

#state:present, ...

Returns Create or delete the table.

Returns:

  • (:present, :absent, nil)

    Create or delete the table



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

attribute :state

#write_capacityInteger?

Returns Write throughput capacity (units) to provision.

Returns:

  • (Integer, nil)

    Write throughput capacity (units) to provision.



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

attribute :write_capacity