aws-cdk-lib.aws_cassandra.CfnTable.ClusteringKeyColumnProperty

interface ClusteringKeyColumnProperty

LanguageType name
.NETAmazon.CDK.AWS.Cassandra.CfnTable.ClusteringKeyColumnProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_ClusteringKeyColumnProperty
Javasoftware.amazon.awscdk.services.cassandra.CfnTable.ClusteringKeyColumnProperty
Pythonaws_cdk.aws_cassandra.CfnTable.ClusteringKeyColumnProperty
TypeScript 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

NameTypeDescription
columnIResolvable | ColumnPropertyThe name and data type of this clustering key column.
orderBy?stringThe order in which this column's data is stored:.

column

Type: IResolvable | ColumnProperty

The name and data type of this clustering key column.


orderBy?

Type: string (optional)

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.