aws-cdk-lib.aws_databrew.CfnDataset.InputProperty

interface InputProperty

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

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 { aws_databrew as databrew } from 'aws-cdk-lib';
const inputProperty: databrew.CfnDataset.InputProperty = {
  databaseInputDefinition: {
    glueConnectionName: 'glueConnectionName',

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

      // the properties below are optional
      key: 'key',
    },
  },
  dataCatalogInputDefinition: {
    catalogId: 'catalogId',
    databaseName: 'databaseName',
    tableName: 'tableName',
    tempDirectory: {
      bucket: 'bucket',

      // the properties below are optional
      key: 'key',
    },
  },
  metadata: {
    sourceArn: 'sourceArn',
  },
  s3InputDefinition: {
    bucket: 'bucket',

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

Properties

NameTypeDescription
dataCatalogInputDefinition?IResolvable | DataCatalogInputDefinitionPropertyThe AWS Glue Data Catalog parameters for the data.
databaseInputDefinition?IResolvable | DatabaseInputDefinitionPropertyConnection information for dataset input files stored in a database.
metadata?IResolvable | MetadataPropertyContains additional resource information needed for specific datasets.
s3InputDefinition?IResolvable | S3LocationPropertyThe Amazon S3 location where the data is stored.

dataCatalogInputDefinition?

Type: IResolvable | DataCatalogInputDefinitionProperty (optional)

The AWS Glue Data Catalog parameters for the data.


databaseInputDefinition?

Type: IResolvable | DatabaseInputDefinitionProperty (optional)

Connection information for dataset input files stored in a database.


metadata?

Type: IResolvable | MetadataProperty (optional)

Contains additional resource information needed for specific datasets.


s3InputDefinition?

Type: IResolvable | S3LocationProperty (optional)

The Amazon S3 location where the data is stored.