Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CodePipelineServiceRolePolicy
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