Defined Cloudformation DynamoDB Template convert to json to be adapted for aws dynamodb create-table --cli-input-json
aws-cdk
'scdk.out/<table-name>.template.json
.yaml
or.yml
of Cloudformation Template
npm i -D cf-to-dynamodb-schema
yarn add -D cf-to-dynamodb-schema
# or npx
npx cf-to-dynamodb-schema --help
<path>
is./cdk.out/<table-name>.template.json
or yaml file.- For more details, See /example directory !
cf-to-dynamodb-schema create-table <path> -e <dynamodb-endpoint> -p <aws-profile-name>
# Output command line
cf-to-dynamodb-schema parse-template <path>
# Export json
cf-to-dynamodb-schema parse-template <path> -o generated.json
- python cli cloudformation-dynamodb-export · PyPI
- ruby script CloudFormation の定義から DynamoDB local の Table を作成する