SecondaryInputProperty Struct
Represents secondary inputs in a UNION transform.
| Source | |
|---|---|
| Type last changed |
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 secondaryInputProperty: databrew.CfnRecipe.SecondaryInputProperty = {
dataCatalogInputDefinition: {
catalogId: 'catalogId',
databaseName: 'databaseName',
tableName: 'tableName',
tempDirectory: {
bucket: 'bucket',
// the properties below are optional
key: 'key',
},
},
s3InputDefinition: {
bucket: 'bucket',
// the properties below are optional
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
secondary_input_property = databrew.CfnRecipe.SecondaryInputProperty(
data_catalog_input_definition=databrew.CfnRecipe.DataCatalogInputDefinitionProperty(
catalog_id="catalogId",
database_name="databaseName",
table_name="tableName",
temp_directory=databrew.CfnRecipe.S3LocationProperty(
bucket="bucket",
# the properties below are optional
key="key"
)
),
s3_input_definition=databrew.CfnRecipe.S3LocationProperty(
bucket="bucket",
# the properties below are optional
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.*;
SecondaryInputProperty secondaryInputProperty = SecondaryInputProperty.builder()
.dataCatalogInputDefinition(DataCatalogInputDefinitionProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.tableName("tableName")
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.key("key")
.build())
.build())
.s3InputDefinition(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.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 secondaryInputProperty = new SecondaryInputProperty {
DataCatalogInputDefinition = new DataCatalogInputDefinitionProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
TableName = "tableName",
TempDirectory = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
Key = "key"
}
},
S3InputDefinition = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
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"
secondaryInputProperty := &SecondaryInputProperty{
DataCatalogInputDefinition: &DataCatalogInputDefinitionProperty{
CatalogId: jsii.String("catalogId"),
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
TempDirectory: &S3LocationProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
Key: jsii.String("key"),
},
},
S3InputDefinition: &S3LocationProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
Key: jsii.String("key"),
},
}
Properties
dataCatalogInputDefinitionoptionalIResolvable | CfnRecipe.data_catalog_input_definitionoptionaltyping.Union[IResolvable, DataCatalogInputDefinitionProperty]dataCatalogInputDefinitionoptionalIResolvableDataCatalogInputDefinitionoptionalIResolvableDataCatalogInputDefinitionoptionalinterface{} #The AWS Glue Data Catalog parameters for the data.
s3InputDefinitionoptionalIResolvable | CfnRecipe.S3LocationPropertys3_input_definitionoptionaltyping.Union[IResolvable, S3LocationProperty]s3InputDefinitionoptionalIResolvableS3InputDefinitionoptionalIResolvableS3InputDefinitionoptionalinterface{} #The Amazon S3 location where the data is stored.