awscc_dynamodb_table (Resource)

The AWS::DynamoDB::Table resource creates a DDB table. For more information, see CreateTable in the API Reference. You should be aware of the following behaviors when working with DDB tables:

Our guidance is to use the latest schema documented here for your CFNlong templates. This schema supports the provisioning of all table settings below. When using this schema in your CFNlong templates, please ensure that your Identity and Access Management (IAM) policies are updated with appropriate permissions to allow for the authorization of these setting changes.

Schema

Required

Optional

Read-Only

Nested Schema for attribute_definitions

Required:

Nested Schema for contributor_insights_specification

Required:

Nested Schema for global_secondary_indexes

Required:

Optional:

Nested Schema for global_secondary_indexes.key_schema

Required:

Nested Schema for global_secondary_indexes.projection

Optional:

Nested Schema for global_secondary_indexes.contributor_insights_specification

Required:

Nested Schema for global_secondary_indexes.on_demand_throughput

Optional:

Nested Schema for global_secondary_indexes.provisioned_throughput

Required:

Nested Schema for import_source_specification

Required:

Optional:

Nested Schema for import_source_specification.s3_bucket_source

Required:

Optional:

Nested Schema for import_source_specification.input_format_options

Optional:

Nested Schema for import_source_specification.input_format_options.csv

Optional:

Nested Schema for kinesis_stream_specification

Required:

Optional:

Nested Schema for local_secondary_indexes

Required:

Nested Schema for local_secondary_indexes.key_schema

Required:

Nested Schema for local_secondary_indexes.projection

Optional:

Nested Schema for on_demand_throughput

Optional:

Nested Schema for point_in_time_recovery_specification

Optional:

Nested Schema for provisioned_throughput

Required:

Nested Schema for resource_policy

Required:

Nested Schema for sse_specification

Required:

Optional:

Nested Schema for stream_specification

Required:

Optional:

Nested Schema for stream_specification.resource_policy

Required:

Nested Schema for tags

Required:

Nested Schema for time_to_live_specification

Required:

Optional:

Import

Import is supported using the following syntax:

$ terraform import awscc_dynamodb_table.example <resource ID>