Skip to content
v2.278.0

DataCatalogInputDefinitionProperty Struct ​

Represents how metadata stored in the AWS Glue Data Catalog is defined in a DataBrew dataset.

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 dataCatalogInputDefinitionProperty: databrew.CfnDataset.DataCatalogInputDefinitionProperty = {
  catalogId: 'catalogId',
  databaseName: 'databaseName',
  tableName: 'tableName',
  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

data_catalog_input_definition_property = databrew.CfnDataset.DataCatalogInputDefinitionProperty(
    catalog_id="catalogId",
    database_name="databaseName",
    table_name="tableName",
    temp_directory=databrew.CfnDataset.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.*;

DataCatalogInputDefinitionProperty dataCatalogInputDefinitionProperty = DataCatalogInputDefinitionProperty.builder()
        .catalogId("catalogId")
        .databaseName("databaseName")
        .tableName("tableName")
        .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 dataCatalogInputDefinitionProperty = new DataCatalogInputDefinitionProperty {
    CatalogId = "catalogId",
    DatabaseName = "databaseName",
    TableName = "tableName",
    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"

dataCatalogInputDefinitionProperty := &DataCatalogInputDefinitionProperty{
	CatalogId: jsii.String("catalogId"),
	DatabaseName: jsii.String("databaseName"),
	TableName: jsii.String("tableName"),
	TempDirectory: &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.
databaseNameoptionalstringdatabase_nameoptionalstrdatabaseNameoptionalStringDatabaseNameoptionalstringDatabaseNameoptional*string #
The name of a database in the Data Catalog.
tableNameoptionalstringtable_nameoptionalstrtableNameoptionalStringTableNameoptionalstringTableNameoptional*string #
The name of a database table in the Data Catalog.

This table corresponds to a DataBrew dataset.

tempDirectoryoptionalIResolvable | CfnDataset.S3LocationPropertytemp_directoryoptionaltyping.Union[IResolvable, S3LocationProperty]tempDirectoryoptionalIResolvableTempDirectoryoptionalIResolvableTempDirectoryoptionalinterface{} #
An Amazon location that AWS Glue Data Catalog can use as a temporary directory.