interface CfnTypeMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins.CfnTypeMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscassandra/mixins#CfnTypeMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnTypeMixinProps |
Python | aws_cdk.mixins_preview.aws_cassandra.mixins.CfnTypeMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_cassandra » mixins » CfnTypeMixinProps |
Properties for CfnTypePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-type.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cassandra_mixins } from '@aws-cdk/mixins-preview/aws-cassandra';
const cfnTypeMixinProps: cassandra_mixins.CfnTypeMixinProps = {
fields: [{
fieldName: 'fieldName',
fieldType: 'fieldType',
}],
keyspaceName: 'keyspaceName',
typeName: 'typeName',
};
Properties
| Name | Type | Description |
|---|---|---|
| fields? | IResolvable | (IResolvable | Field)[] | A list of fields that define this type. |
| keyspace | string | The name of the keyspace to create the type in. |
| type | string | The name of the user-defined type. |
fields?
Type:
IResolvable | (IResolvable | Field)[]
(optional)
A list of fields that define this type.
keyspaceName?
Type:
string
(optional)
The name of the keyspace to create the type in.
The keyspace must already exist.
typeName?
Type:
string
(optional)
The 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 in the Amazon Keyspaces Developer Guide .

.NET
Go
Java
Python
TypeScript