interface SchemaFieldProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3Tables.Alpha.SchemaFieldProperty |
![]() | software.amazon.awscdk.services.s3tables.alpha.SchemaFieldProperty |
![]() | aws_cdk.aws_s3tables_alpha.SchemaFieldProperty |
![]() | @aws-cdk/aws-s3tables-alpha ยป SchemaFieldProperty |
Contains details about a schema field.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3tables_alpha from '@aws-cdk/aws-s3tables-alpha';
const schemaFieldProperty: s3tables_alpha.SchemaFieldProperty = {
name: 'name',
type: 'type',
// the properties below are optional
required: false,
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the field. |
type | string | The field type. |
required? | boolean | A Boolean value that specifies whether values are required for each row in this field. |
name
Type:
string
The name of the field.
type
Type:
string
The field type.
S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.
required?
Type:
boolean
(optional, default: false)
A Boolean value that specifies whether values are required for each row in this field.
By default, this is false
and null values are allowed in the field. If this is true
, the field does not allow null values.