Method: Xaases::Aws::Dynamodb#to_hash
- Defined in:
- lib/xaases/aws/dynamodb.rb
#to_hash ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/xaases/aws/dynamodb.rb', line 30 def to_hash { "Type" => 'AWS::DynamoDB::Table', "Properties" => { "TableName" => name, "AttributeDefinitions" => attribute_definitions, "KeySchema" => key_schema, "ProvisionedThroughput" => { "ReadCapacityUnits" => 1, "WriteCapacityUnits" => 1 } } } end |