Skip to content

Instantly share code, notes, and snippets.

@OksanaH
Last active Jun 14, 2021
Embed
What would you like to do?
S3ObjectLambdaStack.cs
var policy = new PolicyStatement(new PolicyStatementProps
{
Effect = Effect.ALLOW,
Actions = new[] { "s3-object-lambda:WriteGetObjectResponse" },
Resources = new[] { "*" }
});
function.AddToRolePolicy(policy);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment