Interface ExternalTableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TableBaseProps
- All Known Implementing Classes:
ExternalTableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.081Z")
@Stability(Experimental)
public interface ExternalTableProps
extends software.amazon.jsii.JsiiSerializable, TableBaseProps
Example:
Connection myConnection;
Database myDatabase;
ExternalTable.Builder.create(this, "MyTable")
.connection(myConnection)
.externalDataLocation("default_db_public_example") // A table in Redshift
// ...
.database(myDatabase)
.columns(List.of(Column.builder()
.name("col1")
.type(Schema.STRING)
.build()))
.dataFormat(DataFormat.JSON)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forExternalTablePropsstatic final classAn implementation forExternalTableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalTableProps.Builderbuilder()(experimental) The connection the table will use when performing reads and writes.(experimental) The data source location of the glue table, (e.g.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.glue.alpha.TableBaseProps
getColumns, getCompressed, getDatabase, getDataFormat, getDescription, getEnablePartitionFiltering, getParameters, getPartitionIndexes, getPartitionKeys, getStorageParameters, getStoredAsSubDirectories, getTableName
-
Method Details
-
getConnection
(experimental) The connection the table will use when performing reads and writes.Default: - No connection
-
getExternalDataLocation
(experimental) The data source location of the glue table, (e.g.default_db_public_examplefor Redshift).If this property is set, it will override both
bucketands3Prefix.Default: - No outsourced data source location
-
builder
- Returns:
- a
ExternalTableProps.BuilderofExternalTableProps
-