Skip to content

AttributeDefinition

Source code in docs_src/capo_dynamodb/types/attribute_definition.py
class AttributeDefinition(TypedDict, closed=True):
    attribute_name: (
        "capo_dynamodb.types.key_schema_attribute_name.KeySchemaAttributeName"
    )
    """<p>A name for the attribute.</p>"""
    attribute_type: "capo_dynamodb.types.scalar_attribute_type.ScalarAttributeType"
    """<p>The data type for the attribute, where:</p> <ul> <li> <p> <code>S</code> - the attribute is of type String</p> </li> <li> <p> <code>N</code> - the attribute is of type Number</p> </li> <li> <p> <code>B</code> - the attribute is of type Binary</p> </li> </ul>"""

attribute_name instance-attribute

attribute_name: KeySchemaAttributeName

A name for the attribute.

attribute_type instance-attribute

attribute_type: ScalarAttributeType

The data type for the attribute, where:

  • S - the attribute is of type String

  • N - the attribute is of type Number

  • B - the attribute is of type Binary