-
-
Save OksanaH/96e1a52937e7ec1753783c1c8dfe406b to your computer and use it in GitHub Desktop.
S3ObjectLambdaStack.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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