Skip to content
v2.278.0

IcebergStructFieldProperty Struct ​

A field in an Iceberg schema.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const icebergStructFieldProperty: glue.CfnTable.IcebergStructFieldProperty = {
  id: 123,
  name: 'name',
  required: false,
  type: 'type',

  // the properties below are optional
  doc: 'doc',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

iceberg_struct_field_property = glue.CfnTable.IcebergStructFieldProperty(
    id=123,
    name="name",
    required=False,
    type="type",

    # the properties below are optional
    doc="doc"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

IcebergStructFieldProperty icebergStructFieldProperty = IcebergStructFieldProperty.builder()
        .id(123)
        .name("name")
        .required(false)
        .type("type")

        // the properties below are optional
        .doc("doc")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var icebergStructFieldProperty = new IcebergStructFieldProperty {
    Id = 123,
    Name = "name",
    Required = false,
    Type = "type",

    // the properties below are optional
    Doc = "doc"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

icebergStructFieldProperty := &IcebergStructFieldProperty{
	Id: jsii.Number(123),
	Name: jsii.String("name"),
	Required: jsii.Boolean(false),
	Type: jsii.String("type"),

	// the properties below are optional
	Doc: jsii.String("doc"),
}

Properties ​

docoptionalstringdocoptionalstrdocoptionalStringDocoptionalstringDocoptional*string #
Documentation for the field.
idnumberidint | floatidNumberIddoubleId*float64 required #
The field ID.
namestringnamestrnameStringNamestringName*string required #
The field name.
requiredboolean | IResolvablerequiredtyping.Union[bool, IResolvable]requiredBooleanRequiredboolRequiredinterface{} required #
Whether the field is required.
typestringtypestrtypeStringTypestringType*string required #
The field type.