Class: Ansible::Ruby::Modules::Dynamodb_table
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Dynamodb_table
- 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
-
#hash_key_name ⇒ String?
Name of the hash key.,Required when C(state=present).
-
#hash_key_type ⇒ :STRING, ...
Type of the hash key.
-
#indexes ⇒ Object?
List of dictionaries describing indexes to add to the table.
-
#name ⇒ String
Name of the table.
-
#range_key_name ⇒ String?
Name of the range key.
-
#range_key_type ⇒ :STRING, ...
Type of the range key.
-
#read_capacity ⇒ Integer?
Read throughput capacity (units) to provision.
-
#state ⇒ :present, ...
Create or delete the table.
-
#write_capacity ⇒ Integer?
Write throughput capacity (units) to provision.
Methods inherited from Base
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_name ⇒ String?
Returns 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.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 25 attribute :hash_key_type |
#indexes ⇒ Object?
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’].
45 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 45 attribute :indexes |
#name ⇒ String
Returns Name of the table.
17 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 17 attribute :name |
#range_key_name ⇒ String?
Returns 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.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 33 attribute :range_key_type |
#read_capacity ⇒ Integer?
Returns 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.
13 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 13 attribute :state |
#write_capacity ⇒ Integer?
Returns Write throughput capacity (units) to provision.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/dynamodb_table.rb', line 41 attribute :write_capacity |