Interface CfnDataset.InputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataset.InputProperty.Jsii$Proxy
- Enclosing class:
CfnDataset
@Stability(Stable)
public static interface CfnDataset.InputProperty
extends software.amazon.jsii.JsiiSerializable
Represents information on how DataBrew can find data, in either the AWS Glue Data Catalog or Amazon S3.
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.databrew.*;
InputProperty inputProperty = InputProperty.builder()
.databaseInputDefinition(DatabaseInputDefinitionProperty.builder()
.glueConnectionName("glueConnectionName")
// the properties below are optional
.databaseTableName("databaseTableName")
.queryString("queryString")
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.dataCatalogInputDefinition(DataCatalogInputDefinitionProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.tableName("tableName")
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.metadata(MetadataProperty.builder()
.sourceArn("sourceArn")
.build())
.s3InputDefinition(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataset.InputPropertystatic final classAn implementation forCfnDataset.InputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConnection information for dataset input files stored in a database.default ObjectThe AWS Glue Data Catalog parameters for the data.default ObjectContains additional resource information needed for specific datasets.default ObjectThe Amazon S3 location where the data is stored.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseInputDefinition
Connection information for dataset input files stored in a database.Returns union: either
IResolvableorCfnDataset.DatabaseInputDefinitionProperty- See Also:
-
getDataCatalogInputDefinition
The AWS Glue Data Catalog parameters for the data.Returns union: either
IResolvableorCfnDataset.DataCatalogInputDefinitionProperty- See Also:
-
getMetadata
Contains additional resource information needed for specific datasets.Returns union: either
IResolvableorCfnDataset.MetadataProperty- See Also:
-
getS3InputDefinition
The Amazon S3 location where the data is stored.Returns union: either
IResolvableorCfnDataset.S3LocationProperty- See Also:
-
builder
- Returns:
- a
CfnDataset.InputProperty.BuilderofCfnDataset.InputProperty
-