Other ways to create tables

In this recipe, we created our table by specifying the properties, such as attribute-definitions, key-schema, provisioned-throughput, and so on. Instead, you can specify a JSON snippet or JSON file using the cli-input-json option. The generate-cli-skeleton option returns a sample template as required by the cli-input-json option.

In this recipe, we created a table using the AWS CLI and CloudFormation. You can also create DynamoDB tables from Java code using the AWS SDK, as we will see in a later recipe. However, in most real-world cases, CloudFormation templates are used to create and provision tables, and the AWS SDK is used to work with data items. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.136.186