CfnTableProps

class aws_cdk.aws_dynamodb.CfnTableProps(*, key_schema, attribute_definitions=None, billing_mode=None, global_secondary_indexes=None, local_secondary_indexes=None, point_in_time_recovery_specification=None, provisioned_throughput=None, sse_specification=None, stream_specification=None, table_name=None, tags=None, time_to_live_specification=None)

Bases: object

__init__(*, key_schema, attribute_definitions=None, billing_mode=None, global_secondary_indexes=None, local_secondary_indexes=None, point_in_time_recovery_specification=None, provisioned_throughput=None, sse_specification=None, stream_specification=None, table_name=None, tags=None, time_to_live_specification=None)

Properties for defining a AWS::DynamoDB::Table.

Parameters
  • key_schema (Union[IResolvable, List[Union[KeySchemaProperty, IResolvable]]]) – AWS::DynamoDB::Table.KeySchema.

  • attribute_definitions (Union[IResolvable, None, List[Union[IResolvable, AttributeDefinitionProperty]]]) – AWS::DynamoDB::Table.AttributeDefinitions.

  • billing_mode (Optional[str]) – AWS::DynamoDB::Table.BillingMode.

  • global_secondary_indexes (Union[IResolvable, None, List[Union[IResolvable, GlobalSecondaryIndexProperty]]]) – AWS::DynamoDB::Table.GlobalSecondaryIndexes.

  • local_secondary_indexes (Union[IResolvable, None, List[Union[IResolvable, LocalSecondaryIndexProperty]]]) – AWS::DynamoDB::Table.LocalSecondaryIndexes.

  • point_in_time_recovery_specification (Union[IResolvable, None, PointInTimeRecoverySpecificationProperty]) – AWS::DynamoDB::Table.PointInTimeRecoverySpecification.

  • provisioned_throughput (Union[IResolvable, None, ProvisionedThroughputProperty]) – AWS::DynamoDB::Table.ProvisionedThroughput.

  • sse_specification (Union[IResolvable, None, SSESpecificationProperty]) – AWS::DynamoDB::Table.SSESpecification.

  • stream_specification (Union[IResolvable, None, StreamSpecificationProperty]) – AWS::DynamoDB::Table.StreamSpecification.

  • table_name (Optional[str]) – AWS::DynamoDB::Table.TableName.

  • tags (Optional[List[CfnTag]]) – AWS::DynamoDB::Table.Tags.

  • time_to_live_specification (Union[IResolvable, None, TimeToLiveSpecificationProperty]) – AWS::DynamoDB::Table.TimeToLiveSpecification.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

Return type

None

Attributes

attribute_definitions

AWS::DynamoDB::Table.AttributeDefinitions.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-attributedef

Return type

Union[IResolvable, None, List[Union[IResolvable, AttributeDefinitionProperty]]]

billing_mode

AWS::DynamoDB::Table.BillingMode.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-billingmode

Return type

Optional[str]

global_secondary_indexes

AWS::DynamoDB::Table.GlobalSecondaryIndexes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-gsi

Return type

Union[IResolvable, None, List[Union[IResolvable, GlobalSecondaryIndexProperty]]]

key_schema

AWS::DynamoDB::Table.KeySchema.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-keyschema

Return type

Union[IResolvable, List[Union[KeySchemaProperty, IResolvable]]]

local_secondary_indexes

AWS::DynamoDB::Table.LocalSecondaryIndexes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-lsi

Return type

Union[IResolvable, None, List[Union[IResolvable, LocalSecondaryIndexProperty]]]

point_in_time_recovery_specification

AWS::DynamoDB::Table.PointInTimeRecoverySpecification.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-pointintimerecoveryspecification

Return type

Union[IResolvable, None, PointInTimeRecoverySpecificationProperty]

provisioned_throughput

AWS::DynamoDB::Table.ProvisionedThroughput.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-provisionedthroughput

Return type

Union[IResolvable, None, ProvisionedThroughputProperty]

sse_specification

AWS::DynamoDB::Table.SSESpecification.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ssespecification

Return type

Union[IResolvable, None, SSESpecificationProperty]

stream_specification

AWS::DynamoDB::Table.StreamSpecification.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-streamspecification

Return type

Union[IResolvable, None, StreamSpecificationProperty]

table_name

AWS::DynamoDB::Table.TableName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-tablename

Return type

Optional[str]

tags

AWS::DynamoDB::Table.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-tags

Return type

Optional[List[CfnTag]]

time_to_live_specification

AWS::DynamoDB::Table.TimeToLiveSpecification.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-timetolivespecification

Return type

Union[IResolvable, None, TimeToLiveSpecificationProperty]