s3Bucket = s3.Bucket.fromBucketName(this, bucketName, bucketName);
let glueTable = new glue.Table(this, tableName, {
database: glueDb,
tableName: tableName,
bucket: s3Bucket
})
The IDE throws this error when I pass s3bucket to the bucket property. Can you please help me identify what is causing the error?
Type 'IBucket' is missing the following properties from type 'IBucket': virtualHostedUrlForObject, grantPutAcl, envts(2739) table.d.ts(105, 14): The expected type comes from property 'bucket' which is declared here on type 'TableProps'