AWS::Cassandra::TypeThe `CreateType` operation creates a new user-defined type in the specified keyspace. To configure the required permissions, see [Permissions to create a UDT](https://docs.aws.amazon.com/keyspaces/latest/devguide/configure-udt-permissions.html#udt-permissions-create) in the *Amazon Keyspaces Developer Guide* . For more information, see [User-defined types (UDTs)](https://docs.aws.amazon.com/keyspaces/latest/devguide/udts.html) in the *Amazon Keyspaces Developer Guide* .
import { CfnType } from 'aws-cdk-lib/aws-cassandra';Or use the module namespace:
import * as cassandra from 'aws-cdk-lib/aws-cassandra';
// cassandra.CfnTypeConfiguration passed to the constructor as CfnTypeProps.
fieldsRequiredIResolvable | IResolvable | FieldProperty[]A list of fields that define this type.
keyspaceNameRequiredstringThe name of the keyspace to create the type in. The keyspace must already exist.
typeNameRequiredstringThe name of the user-defined type. UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters. For more information, see [Create a user-defined type (UDT) in Amazon Keyspaces](https://docs.aws.amazon.com/keyspaces/latest/devguide/keyspaces-create-udt.html) in the *Amazon Keyspaces Developer Guide* .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-cassandraAWS::Cassandra::Type