Skip to content

Commit

Permalink
Add CodeConnections policy
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Sep 19, 2024
1 parent 33c2891 commit 716d590
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,23 @@ Resources:
Effect: Allow
Resource: "*" # TODO
Version: "2012-10-17"
- PolicyName: CodeConnectionsUse
PolicyDocument:
Statement:
- Action:
# Likely includes actions that aren't needed, I made this up -CPK
- codeconnections:GetConnectionToken
- codeconnections:GetRepositoryLink
- codeconnections:ListConnections
- codeconnections:GetInstallationUrl
- codeconnections:GetConnection
- codeconnections:PassConnection
- codeconnections:GetIndividualAccessToken
- codeconnections:PassRepository
- codeconnections:UseConnection
Effect: Allow
Resource: "*"
Version: "2012-10-17"
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
Expand Down

0 comments on commit 716d590

Please sign in to comment.