@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.662Z") @Stability(value=Stable) public class CfnPartition extends CfnResource implements IInspectable
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;
CfnPartition cfnPartition = CfnPartition.Builder.create(this, "MyCfnPartition")
.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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnPartition.Builder
A fluent builder for
CfnPartition. |
static interface |
CfnPartition.ColumnProperty
Example:
|
static interface |
CfnPartition.OrderProperty
Example:
|
static interface |
CfnPartition.PartitionInputProperty
Example:
|
static interface |
CfnPartition.SchemaIdProperty
Example:
|
static interface |
CfnPartition.SchemaReferenceProperty
Example:
|
static interface |
CfnPartition.SerdeInfoProperty
Example:
|
static interface |
CfnPartition.SkewedInfoProperty
Example:
|
static interface |
CfnPartition.StorageDescriptorProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPartition(software.constructs.Construct scope,
String id,
CfnPartitionProps props)
Create a new `AWS::Glue::Partition`.
|
protected |
CfnPartition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPartition(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogId()
`AWS::Glue::Partition.CatalogId`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDatabaseName()
`AWS::Glue::Partition.DatabaseName`.
|
Object |
getPartitionInput()
`AWS::Glue::Partition.PartitionInput`.
|
String |
getTableName()
`AWS::Glue::Partition.TableName`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCatalogId(String value)
`AWS::Glue::Partition.CatalogId`.
|
void |
setDatabaseName(String value)
`AWS::Glue::Partition.DatabaseName`.
|
void |
setPartitionInput(CfnPartition.PartitionInputProperty value)
`AWS::Glue::Partition.PartitionInput`.
|
void |
setPartitionInput(IResolvable value)
`AWS::Glue::Partition.PartitionInput`.
|
void |
setTableName(String value)
`AWS::Glue::Partition.TableName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPartition(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPartition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPartition(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnPartitionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getCatalogId()
@Stability(value=Stable)
public void setCatalogId(@NotNull
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getDatabaseName()
@Stability(value=Stable)
public void setDatabaseName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getPartitionInput()
@Stability(value=Stable)
public void setPartitionInput(@NotNull
CfnPartition.PartitionInputProperty value)
@Stability(value=Stable)
public void setPartitionInput(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getTableName()
@Stability(value=Stable)
public void setTableName(@NotNull
String value)
Copyright © 2021. All rights reserved.