ClusteringKey - Amazon Keyspaces (for Apache Cassandra)
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ClusteringKey

The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.

Contents

name

The name(s) of the clustering column(s).

Type: String

Required: Yes

orderBy

Sets the ascendant (ASC) or descendant (DESC) order modifier.

Type: String

Valid Values: ASC | DESC

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: