interface AttributeDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DynamoDB.Mixins.CfnGlobalTablePropsMixin.AttributeDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdynamodb/mixins#CfnGlobalTablePropsMixin_AttributeDefinitionProperty |
Java | software.amazon.awscdk.mixins.preview.services.dynamodb.mixins.CfnGlobalTablePropsMixin.AttributeDefinitionProperty |
Python | aws_cdk.mixins_preview.aws_dynamodb.mixins.CfnGlobalTablePropsMixin.AttributeDefinitionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dynamodb » mixins » CfnGlobalTablePropsMixin » 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 { mixins as dynamodb_mixins } from '@aws-cdk/mixins-preview/aws-dynamodb';
const attributeDefinitionProperty: dynamodb_mixins.CfnGlobalTablePropsMixin.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