Attribute

class aws_cdk.aws_dynamodb.Attribute(*, name, type)

Bases: object

Represents an attribute for describing the key schema for the table and indexes.

Parameters
  • name (str) – The name of an attribute.

  • type (AttributeType) – The data type of an attribute.

Attributes

name

The name of an attribute.

Return type

str

type

The data type of an attribute.

Return type

AttributeType