TableAttributes

class aws_cdk.aws_dynamodb.TableAttributes(*, encryption_key=None, table_arn=None, table_name=None, table_stream_arn=None)

Bases: object

__init__(*, encryption_key=None, table_arn=None, table_name=None, table_stream_arn=None)

Reference to a dynamodb table.

Parameters
  • encryption_key (Optional[IKey]) – KMS encryption key, if this table uses a customer-managed encryption key. Default: - no key

  • table_arn (Optional[str]) – The ARN of the dynamodb table. One of this, or {@link tabeName}, is required. Default: - no table arn

  • table_name (Optional[str]) – The table name of the dynamodb table. One of this, or {@link tabeArn}, is required. Default: - no table name

  • table_stream_arn (Optional[str]) – The ARN of the table’s stream. Default: - no table stream

Return type

None

Attributes

encryption_key

KMS encryption key, if this table uses a customer-managed encryption key.

default :default: - no key

Return type

Optional[IKey]

table_arn

The ARN of the dynamodb table.

One of this, or {@link tabeName}, is required.

default :default: - no table arn

Return type

Optional[str]

table_name

The table name of the dynamodb table.

One of this, or {@link tabeArn}, is required.

default :default: - no table name

Return type

Optional[str]

table_stream_arn

The ARN of the table’s stream.

default :default: - no table stream

Return type

Optional[str]