Skip to content
v2.273.0

EnumPartitionProjectionConfigurationProps Struct ​

Properties for ENUM partition projection configuration.

Example ​

ts
declare const myDatabase: glue.Database;
new glue.S3Table(this, 'MyTable', {
  database: myDatabase,
  columns: [{
    name: 'data',
    type: glue.Schema.STRING,
  }],
  partitionKeys: [{
    name: 'region',
    type: glue.Schema.STRING,
  }],
  dataFormat: glue.DataFormat.JSON,
  partitionProjection: {
    region: glue.PartitionProjectionConfiguration.enum({
      values: ['us-east-1', 'us-west-2', 'eu-west-1'],
    }),
  },
});

Properties ​

valuesstring[]valuestyping.List[str]valuesList<String>Valuesstring[]Values*[]*stringrequired#
Explicit list of partition values.
example
ts
['us-east-1', 'us-west-2', 'eu-west-1']