DataCatalogOutputProperty Struct
Represents options that specify how and where in the AWS Glue Data Catalog DataBrew writes the output generated by recipe jobs.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const dataCatalogOutputProperty: databrew.CfnJob.DataCatalogOutputProperty = {
databaseName: 'databaseName',
tableName: 'tableName',
// the properties below are optional
catalogId: 'catalogId',
databaseOptions: {
tableName: 'tableName',
// the properties below are optional
tempDirectory: {
bucket: 'bucket',
// the properties below are optional
bucketOwner: 'bucketOwner',
key: 'key',
},
},
overwrite: false,
s3Options: {
location: {
bucket: 'bucket',
// the properties below are optional
bucketOwner: 'bucketOwner',
key: 'key',
},
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew
data_catalog_output_property = databrew.CfnJob.DataCatalogOutputProperty(
database_name="databaseName",
table_name="tableName",
# the properties below are optional
catalog_id="catalogId",
database_options=databrew.CfnJob.DatabaseTableOutputOptionsProperty(
table_name="tableName",
# the properties below are optional
temp_directory=databrew.CfnJob.S3LocationProperty(
bucket="bucket",
# the properties below are optional
bucket_owner="bucketOwner",
key="key"
)
),
overwrite=False,
s3_options=databrew.CfnJob.S3TableOutputOptionsProperty(
location=databrew.CfnJob.S3LocationProperty(
bucket="bucket",
# the properties below are optional
bucket_owner="bucketOwner",
key="key"
)
)
)
java
// 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.*;
DataCatalogOutputProperty dataCatalogOutputProperty = DataCatalogOutputProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
// the properties below are optional
.catalogId("catalogId")
.databaseOptions(DatabaseTableOutputOptionsProperty.builder()
.tableName("tableName")
// the properties below are optional
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.overwrite(false)
.s3Options(S3TableOutputOptionsProperty.builder()
.location(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;
var dataCatalogOutputProperty = new DataCatalogOutputProperty {
DatabaseName = "databaseName",
TableName = "tableName",
// the properties below are optional
CatalogId = "catalogId",
DatabaseOptions = new DatabaseTableOutputOptionsProperty {
TableName = "tableName",
// the properties below are optional
TempDirectory = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
BucketOwner = "bucketOwner",
Key = "key"
}
},
Overwrite = false,
S3Options = new S3TableOutputOptionsProperty {
Location = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
BucketOwner = "bucketOwner",
Key = "key"
}
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dataCatalogOutputProperty := &DataCatalogOutputProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
// the properties below are optional
CatalogId: jsii.String("catalogId"),
DatabaseOptions: &DatabaseTableOutputOptionsProperty{
TableName: jsii.String("tableName"),
// the properties below are optional
TempDirectory: &S3LocationProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
BucketOwner: jsii.String("bucketOwner"),
Key: jsii.String("key"),
},
},
Overwrite: jsii.Boolean(false),
S3Options: &S3TableOutputOptionsProperty{
Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
BucketOwner: jsii.String("bucketOwner"),
Key: jsii.String("key"),
},
},
}
Properties
catalogIdoptionalstringcatalog_idoptionalstrcatalogIdoptionalStringCatalogIdoptionalstringCatalogIdoptional*string #The unique identifier of the AWS account that holds the Data Catalog that stores the data.
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #The name of a database in the Data Catalog.
databaseOptionsoptionalIResolvable | CfnJob.database_optionsoptionaltyping.Union[IResolvable, DatabaseTableOutputOptionsProperty]databaseOptionsoptionalIResolvableDatabaseOptionsoptionalIResolvableDatabaseOptionsoptionalinterface{} #Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
overwriteoptionalboolean | IResolvableoverwriteoptionaltyping.Union[bool, IResolvable]overwriteoptionalBooleanOverwriteoptionalboolOverwriteoptionalinterface{} #A value that, if true, means that any data in the location specified for output is overwritten with new output.
Not supported with DatabaseOptions.
s3OptionsoptionalIResolvable | CfnJob.s3_optionsoptionaltyping.Union[IResolvable, S3TableOutputOptionsProperty]s3OptionsoptionalIResolvableS3OptionsoptionalIResolvableS3Optionsoptionalinterface{} #Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs.
The name of a table in the Data Catalog.