interface ClusteringKeyColumnProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cassandra.CfnTable.ClusteringKeyColumnProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_ClusteringKeyColumnProperty |
![]() | software.amazon.awscdk.services.cassandra.CfnTable.ClusteringKeyColumnProperty |
![]() | aws_cdk.aws_cassandra.CfnTable.ClusteringKeyColumnProperty |
![]() | aws-cdk-lib » aws_cassandra » CfnTable » ClusteringKeyColumnProperty |
Defines an individual column within the clustering key.
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 clusteringKeyColumnProperty: cassandra.CfnTable.ClusteringKeyColumnProperty = {
column: {
columnName: 'columnName',
columnType: 'columnType',
},
// the properties below are optional
orderBy: 'orderBy',
};
Properties
Name | Type | Description |
---|---|---|
column | IResolvable | Column | The name and data type of this clustering key column. |
order | string | The order in which this column's data is stored:. |
column
Type:
IResolvable
|
Column
The name and data type of this clustering key column.
orderBy?
Type:
string
(optional, default: "ASC")
The order in which this column's data is stored:.
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.