@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.819Z") @Stability(value=Stable) public class CfnTable 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;
CfnTable cfnTable = CfnTable.Builder.create(this, "MyCfnTable")
.catalogId("catalogId")
.databaseName("databaseName")
.tableInput(TableInputProperty.builder()
.description("description")
.name("name")
.owner("owner")
.parameters(parameters)
.partitionKeys(List.of(ColumnProperty.builder()
.name("name")
// the properties below are optional
.comment("comment")
.type("type")
.build()))
.retention(123)
.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")
.sortOrder(123)
.build()))
.storedAsSubDirectories(false)
.build())
.tableType("tableType")
.targetTable(TableIdentifierProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.name("name")
.build())
.viewExpandedText("viewExpandedText")
.viewOriginalText("viewOriginalText")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTable.Builder
A fluent builder for
CfnTable. |
static interface |
CfnTable.ColumnProperty
Example:
|
static interface |
CfnTable.OrderProperty
Example:
|
static interface |
CfnTable.SchemaIdProperty
Example:
|
static interface |
CfnTable.SchemaReferenceProperty
Example:
|
static interface |
CfnTable.SerdeInfoProperty
Example:
|
static interface |
CfnTable.SkewedInfoProperty
Example:
|
static interface |
CfnTable.StorageDescriptorProperty
Example:
|
static interface |
CfnTable.TableIdentifierProperty
Example:
|
static interface |
CfnTable.TableInputProperty
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 |
|---|---|
|
CfnTable(software.constructs.Construct scope,
String id,
CfnTableProps props)
Create a new `AWS::Glue::Table`.
|
protected |
CfnTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTable(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogId()
`AWS::Glue::Table.CatalogId`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDatabaseName()
`AWS::Glue::Table.DatabaseName`.
|
Object |
getTableInput()
`AWS::Glue::Table.TableInput`.
|
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::Table.CatalogId`.
|
void |
setDatabaseName(String value)
`AWS::Glue::Table.DatabaseName`.
|
void |
setTableInput(CfnTable.TableInputProperty value)
`AWS::Glue::Table.TableInput`.
|
void |
setTableInput(IResolvable value)
`AWS::Glue::Table.TableInput`.
|
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 CfnTable(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTable(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnTableProps 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 getTableInput()
@Stability(value=Stable)
public void setTableInput(@NotNull
CfnTable.TableInputProperty value)
@Stability(value=Stable)
public void setTableInput(@NotNull
IResolvable value)
Copyright © 2021. All rights reserved.