Interface CfnPartitionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPartitionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.455Z") @Stability(Stable) public interface CfnPartitionProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPartition.

Example:

 // 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.*;
 Object parameters;
 Object skewedColumnValueLocationMaps;
 CfnPartitionProps cfnPartitionProps = CfnPartitionProps.builder()
         .catalogId("catalogId")
         .databaseName("databaseName")
         .partitionInput(PartitionInputProperty.builder()
                 .values(List.of("values"))
                 // the properties below are optional
                 .parameters(parameters)
                 .storageDescriptor(StorageDescriptorProperty.builder()
                         .bucketColumns(List.of("bucketColumns"))
                         .columns(List.of(ColumnProperty.builder()
                                 .name("name")
                                 // the properties below are optional
                                 .comment("comment")
                                 .type("type")
                                 .build()))
                         .compressed(false)
                         .inputFormat("inputFormat")
                         .location("location")
                         .numberOfBuckets(123)
                         .outputFormat("outputFormat")
                         .parameters(parameters)
                         .schemaReference(SchemaReferenceProperty.builder()
                                 .schemaId(SchemaIdProperty.builder()
                                         .registryName("registryName")
                                         .schemaArn("schemaArn")
                                         .schemaName("schemaName")
                                         .build())
                                 .schemaVersionId("schemaVersionId")
                                 .schemaVersionNumber(123)
                                 .build())
                         .serdeInfo(SerdeInfoProperty.builder()
                                 .name("name")
                                 .parameters(parameters)
                                 .serializationLibrary("serializationLibrary")
                                 .build())
                         .skewedInfo(SkewedInfoProperty.builder()
                                 .skewedColumnNames(List.of("skewedColumnNames"))
                                 .skewedColumnValueLocationMaps(skewedColumnValueLocationMaps)
                                 .skewedColumnValues(List.of("skewedColumnValues"))
                                 .build())
                         .sortColumns(List.of(OrderProperty.builder()
                                 .column("column")
                                 // the properties below are optional
                                 .sortOrder(123)
                                 .build()))
                         .storedAsSubDirectories(false)
                         .build())
                 .build())
         .tableName("tableName")
         .build();
 
  • Method Details

    • getCatalogId

      @Stability(Stable) @NotNull String getCatalogId()
      The AWS account ID of the catalog in which the partion is to be created.

      To specify the account ID, you can use the Ref intrinsic function with the AWS::AccountId pseudo parameter. For example: !Ref AWS::AccountId

    • getDatabaseName

      @Stability(Stable) @NotNull String getDatabaseName()
      The name of the catalog database in which to create the partition.
    • getPartitionInput

      @Stability(Stable) @NotNull Object getPartitionInput()
      The structure used to create and update a partition.
    • getTableName

      @Stability(Stable) @NotNull String getTableName()
      The name of the metadata table in which the partition is to be created.
    • builder

      @Stability(Stable) static CfnPartitionProps.Builder builder()
      Returns:
      a CfnPartitionProps.Builder of CfnPartitionProps