interface AttributeDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DynamoDB.CfnTablePropsMixin.AttributeDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdynamodb#CfnTablePropsMixin_AttributeDefinitionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnTablePropsMixin.AttributeDefinitionProperty |
Python | aws_cdk.cfn_property_mixins.aws_dynamodb.CfnTablePropsMixin.AttributeDefinitionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_dynamodb » CfnTablePropsMixin » AttributeDefinitionProperty |
Represents an attribute for describing the schema for the table and indexes.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from '@aws-cdk/cfn-property-mixins';
const attributeDefinitionProperty: dynamodb.CfnTablePropsMixin.AttributeDefinitionProperty = {
attributeName: 'attributeName',
attributeType: 'attributeType',
};
Properties
| Name | Type | Description |
|---|---|---|
| attribute | string | A name for the attribute. |
| attribute | string | The data type for the attribute, where:. |
attributeName?
Type:
string
(optional)
A name for the attribute.
attributeType?
Type:
string
(optional)
The data type for the attribute, where:.
S- the attribute is of type StringN- the attribute is of type NumberB- the attribute is of type Binary

.NET
Go
Java
Python
TypeScript