AWS::Cassandra::Table Column
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:
-
STATIC
if the table has a clustering column. Static columns store values that are shared by all rows in the same partition. -
FROZEN
for 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
.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ColumnName" :
String
, "ColumnType" :String
}
YAML
ColumnName:
String
ColumnType:String
Properties
ColumnName
-
The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$
Update requires: Replacement
ColumnType
-
The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide.
Required: Yes
Type: String
Update requires: Replacement