in src/s3/vpc-endpoint-bucket.ts [18:32]
get(target, property, _receiver) {
switch (property) {
case 'grantDelete':
return decoratedGrantDelete.bind(target);
case 'grantRead':
return decoratedGrantRead.bind(target);
case 'grantWrite':
return decoratedGrantWrite.bind(target);
default:
if (typeof property === 'string' && /^grant([A-Z]|$)/.test(property)) {
console.warn(`No VPC Endpoint policy grants will be added for ${property} on ${bucket.node.path}`);
}
return (target as any)[property];
}
},