aws-cdk-lib.aws_databrew.CfnDataset.DatabaseInputDefinitionProperty

interface DatabaseInputDefinitionProperty

LanguageType name
.NETAmazon.CDK.AWS.DataBrew.CfnDataset.DatabaseInputDefinitionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnDataset_DatabaseInputDefinitionProperty
Javasoftware.amazon.awscdk.services.databrew.CfnDataset.DatabaseInputDefinitionProperty
Pythonaws_cdk.aws_databrew.CfnDataset.DatabaseInputDefinitionProperty
TypeScript aws-cdk-lib » aws_databrew » CfnDataset » DatabaseInputDefinitionProperty

Connection information for dataset input files stored in a database.

Example

// 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 databaseInputDefinitionProperty: databrew.CfnDataset.DatabaseInputDefinitionProperty = {
  glueConnectionName: 'glueConnectionName',

  // the properties below are optional
  databaseTableName: 'databaseTableName',
  queryString: 'queryString',
  tempDirectory: {
    bucket: 'bucket',

    // the properties below are optional
    key: 'key',
  },
};

Properties

NameTypeDescription
glueConnectionNamestringThe AWS Glue Connection that stores the connection information for the target database.
databaseTableName?stringThe table within the target database.
queryString?stringCustom SQL to run against the provided AWS Glue connection.
tempDirectory?IResolvable | S3LocationPropertyAn Amazon location that AWS Glue Data Catalog can use as a temporary directory.

glueConnectionName

Type: string

The AWS Glue Connection that stores the connection information for the target database.


databaseTableName?

Type: string (optional)

The table within the target database.


queryString?

Type: string (optional)

Custom SQL to run against the provided AWS Glue connection.

This SQL will be used as the input for DataBrew projects and jobs.


tempDirectory?

Type: IResolvable | S3LocationProperty (optional)

An Amazon location that AWS Glue Data Catalog can use as a temporary directory.