Skip to content

Commit

Permalink
Add codeconnections, codestar-connections
Browse files Browse the repository at this point in the history
Fixes #63
  • Loading branch information
dleavitt committed Jul 30, 2024
1 parent 213f960 commit 709be04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion link2aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ class ARN {
},
"codecommit": { // Amazon CodeGuru Reviewer
},
"codeconnections": { // AWS CodeConnections
"connection": () => `https://${this.region}.${this.console}/codesuite/settings/${this.account}/${this.region}/${this.service}/${this.resource_type}s/${this.resource}`,
},
"codedeploy": { // AWS CodeDeploy
"application": null,
"deploymentconfig": null,
Expand All @@ -315,7 +318,7 @@ class ARN {
"project": null,
},
"codestar-connections": { // AWS CodeStar Connections
"connection": null,
"connection": () => `https://${this.region}.${this.console}/codesuite/settings/${this.account}/${this.region}/${this.service}/${this.resource_type}s/${this.resource}`,
},
"codestar-notifications": { // AWS CodeStar Notifications
"notificationrule": null,
Expand Down
6 changes: 5 additions & 1 deletion testcases/aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,9 @@

"arn:aws:backup:us-east-1:123456789012:backup-vault:backups-primary": "https://console.aws.amazon.com/backup/home?region=us-east-1#/backupvaults/details/backups-primary",

"arn:aws:firehose:us-east-1:123456789012:deliverystream/test-stream": "https://console.aws.amazon.com/firehose/home?region=us-east-1#/details/test-stream/monitoring"
"arn:aws:firehose:us-east-1:123456789012:deliverystream/test-stream": "https://console.aws.amazon.com/firehose/home?region=us-east-1#/details/test-stream/monitoring",

"arn:aws:codeconnections:us-west-2:384862141196:connection/f8234ecc-8990-4e63-b25a-ec36764b7701": "https://us-west-2.console.aws.amazon.com/codesuite/settings/384862141196/us-west-2/codeconnections/connections/f8234ecc-8990-4e63-b25a-ec36764b7701",
"arn:aws:codestar-connections:us-west-2:384862141196:connection/f8234ecc-8990-4e63-b25a-ec36764b7701": "https://us-west-2.console.aws.amazon.com/codesuite/settings/384862141196/us-west-2/codestar-connections/connections/f8234ecc-8990-4e63-b25a-ec36764b7701"

}

0 comments on commit 709be04

Please sign in to comment.