Class CfnTable
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.glue.CfnTable
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITableRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:42.552Z")
@Stability(Stable)
public class CfnTable
extends CfnResource
implements IInspectable, ITableRef
The
AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
Example:
Bucket bucket;
CfnTable schemaGlueTable;
S3Bucket s3Destination = S3Bucket.Builder.create(bucket)
.dataFormatConversion(DataFormatConversionProps.builder()
.schemaConfiguration(SchemaConfiguration.fromCfnTable(schemaGlueTable))
.inputFormat(InputFormat.OPENX_JSON)
.outputFormat(OutputFormat.PARQUET)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTable.static interfaceA column in aTable.static interfaceSpecifies an input structure that defines an Apache Iceberg metadata table.static interfaceSpecifies anOpenTableFormatInputstructure when creating an open format table.static interfaceSpecifies the sort order of a sorted column.static interfaceA structure that contains schema identity fields.static interfaceAn object that references a schema stored in the AWS Glue Schema Registry.static interfaceInformation about a serialization/deserialization program (SerDe) that serves as an extractor and loader.static interfaceSpecifies skewed values in a table.static interfaceDescribes the physical storage of table data.static interfaceA structure that describes a target table for resource linking.static interfaceA structure used to define a table.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.ITableRef
ITableRef.Jsii$Default, ITableRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTable(software.amazon.jsii.JsiiObjectRef objRef) CfnTable(software.constructs.Construct scope, String id, CfnTableProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog in which to create theTable.The name of the database where the table metadata resides.Specifies anOpenTableFormatInputstructure when creating an open format table.A structure used to define a table.A reference to a Table resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCatalogId(String value) The ID of the Data Catalog in which to create theTable.voidsetDatabaseName(String value) The name of the database where the table metadata resides.voidSpecifies anOpenTableFormatInputstructure when creating an open format table.voidSpecifies anOpenTableFormatInputstructure when creating an open format table.voidsetTableInput(IResolvable value) A structure used to define a table.voidA structure used to define a table.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTable
protected CfnTable(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTable
protected CfnTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTable
@Stability(Stable) public CfnTable(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTableProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTableRef
A reference to a Table resource.- Specified by:
getTableRefin interfaceITableRef
-
getCatalogId
The ID of the Data Catalog in which to create theTable. -
setCatalogId
The ID of the Data Catalog in which to create theTable. -
getDatabaseName
The name of the database where the table metadata resides. -
setDatabaseName
The name of the database where the table metadata resides. -
getTableInput
A structure used to define a table.Returns union: either
IResolvableorCfnTable.TableInputProperty -
setTableInput
A structure used to define a table. -
setTableInput
A structure used to define a table. -
getOpenTableFormatInput
Specifies anOpenTableFormatInputstructure when creating an open format table.Returns union: either
IResolvableorCfnTable.OpenTableFormatInputProperty -
setOpenTableFormatInput
Specifies anOpenTableFormatInputstructure when creating an open format table. -
setOpenTableFormatInput
@Stability(Stable) public void setOpenTableFormatInput(@Nullable CfnTable.OpenTableFormatInputProperty value) Specifies anOpenTableFormatInputstructure when creating an open format table.
-