interface InputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DataBrew.CfnDataset.InputProperty |
Java | software.amazon.awscdk.services.databrew.CfnDataset.InputProperty |
Python | aws_cdk.aws_databrew.CfnDataset.InputProperty |
TypeScript | @aws-cdk/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 * as databrew from '@aws-cdk/aws-databrew';
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
| Name | Type | Description |
|---|---|---|
| data | IResolvable | Data | The AWS Glue Data Catalog parameters for the data. |
| database | IResolvable | Database | Connection information for dataset input files stored in a database. |
| metadata? | IResolvable | Metadata | Contains additional resource information needed for specific datasets. |
| s3 | IResolvable | S3 | The Amazon S3 location where the data is stored. |
dataCatalogInputDefinition?
Type:
IResolvable | Data
(optional)
The AWS Glue Data Catalog parameters for the data.
databaseInputDefinition?
Type:
IResolvable | Database
(optional)
Connection information for dataset input files stored in a database.
metadata?
Type:
IResolvable | Metadata
(optional)
Contains additional resource information needed for specific datasets.
s3InputDefinition?
Type:
IResolvable | S3
(optional)
The Amazon S3 location where the data is stored.

.NET
Java
Python
TypeScript