in lib/ExampleS3DataSet-stack.ts [20:51]
constructor(scope: Construct, id: string, props: ExampleS3DataSetProps) {
super(scope, id, props);
const dataSetName = "exampledataset_v1"; // NO CAPS!!!!
this.Enrollments.push(new S3dataSetEnrollment(this, `${dataSetName}Enrollment`, {
DataSetName: dataSetName,
sourceBucket: props.sourceBucket,
MaxDPUs: 3.0,
sourceBucketDataPrefixes: [
`${props.sourceBucketDataPrefix}table0/` ,
`${props.sourceBucketDataPrefix}table1/`,
`${props.sourceBucketDataPrefix}table2/`,
`${props.sourceBucketDataPrefix}tableX/`
],
dataLakeBucket: props.DataLake.DataLakeBucket,
GlueScriptPath: "scripts/glue.s3import.fullcopy.s3.py",
GlueScriptArguments: {
"--job-language": "python",
"--job-bookmark-option": "job-bookmark-disable",
"--enable-metrics": "",
"--DL_BUCKET": props.DataLake.DataLakeBucket.bucketName,
"--DL_REGION": Stack.of(this).region,
"--DL_PREFIX": `/${dataSetName}/`,
"--GLUE_SRC_DATABASE": `${dataSetName}_src`
}
}));
}