Skip to content
v2.277.0

DatabaseTableOutputOptionsProperty Struct ​

Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.

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 databaseTableOutputOptionsProperty: databrew.CfnJob.DatabaseTableOutputOptionsProperty = {
  tableName: 'tableName',

  // the properties below are optional
  tempDirectory: {
    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

database_table_output_options_property = 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"
    )
)
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.*;

DatabaseTableOutputOptionsProperty databaseTableOutputOptionsProperty = 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();
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 databaseTableOutputOptionsProperty = new DatabaseTableOutputOptionsProperty {
    TableName = "tableName",

    // the properties below are optional
    TempDirectory = 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"

databaseTableOutputOptionsProperty := &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"),
	},
}

Properties ​

tableNamestringtable_namestrtableNameStringTableNamestringTableName*string required #
A prefix for the name of a table DataBrew will create in the database.
tempDirectoryoptionalIResolvable | CfnJob.S3LocationPropertytemp_directoryoptionaltyping.Union[IResolvable, S3LocationProperty]tempDirectoryoptionalIResolvableTempDirectoryoptionalIResolvableTempDirectoryoptionalinterface{} #
Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.