Skip to content
v2.275.0

IcebergPartitionFieldProperty Struct ​

A partition field specification for an Iceberg table.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3tables as s3tables } from 'aws-cdk-lib';
const icebergPartitionFieldProperty: s3tables.CfnTable.IcebergPartitionFieldProperty = {
  name: 'name',
  sourceId: 123,
  transform: 'transform',

  // the properties below are optional
  fieldId: 123,
};

Properties ​

fieldIdoptionalnumberfield_idoptionalint | floatfieldIdoptionalNumberFieldIdoptionaldoubleFieldIdoptional*float64#
The partition field ID (auto-assigned starting from 1000 if not specified).
namestringnamestrnameStringNamestringName*stringrequired#
The name of the partition field.
sourceIdnumbersource_idint | floatsourceIdNumberSourceIddoubleSourceId*float64required#
The source column ID to partition on.
transformstringtransformstrtransformStringTransformstringTransform*stringrequired#
The partition transform function (identity, bucket[N], truncate[N], year, month, day, hour).