Skip to content

Instantly share code, notes, and snippets.

@OksanaH
Last active August 31, 2021 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OksanaH/c091ea7ed25bd0862688d3bcdd9cef21 to your computer and use it in GitHub Desktop.
Save OksanaH/c091ea7ed25bd0862688d3bcdd9cef21 to your computer and use it in GitHub Desktop.
CDKPipelinesPipelineStack.cs
var policyProps = new PolicyStatementProps()
{
Actions = new string[] {
"codebuild:CreateReportGroup",
"codebuild:CreateReport",
"codebuild:UpdateReport",
"codebuild:BatchPutTestCases",
"codebuild:BatchPutCodeCoverages"
},
Effect = Effect.ALLOW,
Resources = new string[] { reportGroup.ReportGroupArn }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment