class Aws::DynamoDB::Resource
def create_table(options = {})
-
(Table)
-
Options Hash:
(**options)
-
:deletion_protection_enabled
(Boolean
) -- -
:table_class
(String
) -- -
:tags
(Array
) -- -
:sse_specification
(Types::SSESpecification
) -- -
:stream_specification
(Types::StreamSpecification
) -- -
:provisioned_throughput
(Types::ProvisionedThroughput
) -- -
:billing_mode
(String
) -- -
:global_secondary_indexes
(Array
) -- -
:local_secondary_indexes
(Array
) -- -
:key_schema
(required, Array
) -- -
:table_name
(required, String
) -- -
:attribute_definitions
(required, Array
) --
Parameters:
-
options
(Hash
) -- ({})
Other tags:
- Example: Request syntax with placeholder values -
def create_table(options = {}) resp = Aws::Plugins::UserAgent.feature('resource') do @client.create_table(options) end Table.new( name: resp.data.table_description.table_name, data: resp.data.table_description, client: @client ) end