interface ColumnProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cassandra.CfnTable.ColumnProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_ColumnProperty |
Java | software.amazon.awscdk.services.cassandra.CfnTable.ColumnProperty |
Python | aws_cdk.aws_cassandra.CfnTable.ColumnProperty |
TypeScript | aws-cdk-lib » aws_cassandra » CfnTable » ColumnProperty |
The name and data type of an individual column in a table.
In addition to the data type, you can also use the following two keywords:
STATICif the table has a clustering column. Static columns store values that are shared by all rows in the same partition.FROZENfor collection data types. In frozen collections the values of the collection are serialized into a single immutable value, and Amazon Keyspaces treats them like aBLOB.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cassandra as cassandra } from 'aws-cdk-lib';
const columnProperty: cassandra.CfnTable.ColumnProperty = {
columnName: 'columnName',
columnType: 'columnType',
};
Properties
| Name | Type | Description |
|---|---|---|
| column | string | The name of the column. |
| column | string | The data type of the column. |
columnName
Type:
string
The name of the column.
For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
columnType
Type:
string
The data type of the column.
For more information, see Data types in the Amazon Keyspaces Developer Guide .

.NET
Go
Java
Python
TypeScript