Skip to content

Instantly share code, notes, and snippets.

@OksanaH
Created June 14, 2021 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OksanaH/e1d9b882c3f61cbe30cc547a57ca0c20 to your computer and use it in GitHub Desktop.
Save OksanaH/e1d9b882c3f61cbe30cc547a57ca0c20 to your computer and use it in GitHub Desktop.
S3ObjectLambdaStack.cs
var accessPoint = new Amazon.CDK.AWS.S3.CfnAccessPoint(this, "S3AccessPoint", new Amazon.CDK.AWS.S3.CfnAccessPointProps
{
Bucket = bucket.BucketName,
Name = $"supporting"
});
var supportingAccessPoint = FormatArn(new ArnComponents()
{
Service = "s3",
Resource = $"accesspoint/{accessPoint.Name}"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment