feat(codebuild): add CodeConnections auth support for GitHub source#37522
feat(codebuild): add CodeConnections auth support for GitHub source#37522
Conversation
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
|
|
||||||||||||||
|
|
||||||||||||||
|
I'm unable to run the integration test with a real deployment as it requires an authorized CodeConnections connection. |
aws-cdk-automation
left a comment
There was a problem hiding this comment.
The pull request linter fails with the following errors:
❌ Features must contain a change to an integration test file and the resulting snapshot.
If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.
Issue # (if applicable)
Closes #31236
Closes #31726
Reason for this change
Add CodeConnections auth support for GitHub source
Description of changes
Adds a
connectionArnproperty toGitHubSourcePropsthat allows configuring CodeConnections (GitHub App) authentication for CodeBuild GitHub sources.Describe any new or updated permissions being added
When
connectionArnis provided,codeconnections:UseConnectionis granted to the project role, scoped to the specific connection ARN.Description of how you validated changes
connectionArnis not providedChecklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license