Created
March 13, 2021 20:21
-
-
Save OksanaH/49c3e81e2eb4655b9166ff3256122434 to your computer and use it in GitHub Desktop.
CodePipelineServiceRolePolicy
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 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