Skip to content

Instantly share code, notes, and snippets.

Created March 13, 2021 20:21
What would you like to do?
var policyProps = new PolicyStatementProps()
Actions = new string[] { "codestar-connections:UseConnection" },
Effect = Effect.ALLOW,
Resources = new string[] { connectionArn }
pipeline.CodePipeline.AddToRolePolicy(new PolicyStatement(policyProps));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment