interface FieldProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins.CfnTypePropsMixin.FieldProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscassandra/mixins#CfnTypePropsMixin_FieldProperty |
Java | software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnTypePropsMixin.FieldProperty |
Python | aws_cdk.mixins_preview.aws_cassandra.mixins.CfnTypePropsMixin.FieldProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cassandra » mixins » CfnTypePropsMixin » FieldProperty |
The name and data type of an individual field in a user-defined type (UDT).
In addition to a Cassandra data type, you can also use another UDT. When you nest another UDT or collection data type, you have to declare them with the FROZEN keyword.
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 fieldProperty: cassandra_mixins.CfnTypePropsMixin.FieldProperty = {
fieldName: 'fieldName',
fieldType: 'fieldType',
};
Properties
| Name | Type | Description |
|---|---|---|
| field | string | The name of the field. |
| field | string | The data type of the field. |
fieldName?
Type:
string
(optional)
The name of the field.
fieldType?
Type:
string
(optional)
The data type of the field.
This can be any Cassandra data type or another user-defined type.

.NET
Go
Java
Python
TypeScript