MCPcopy Create free account
hub / github.com/PRX/Infrastructure / deepLink

Function deepLink

ci/src/slack-message-handler/builder.mjs:5–10  ·  view source on GitHub ↗
(accountId, url)

Source from the content-addressed store, hash-verified

3import regions from './regions.mjs';
4
5function deepLink(accountId, url) {
6 const deepLinkRoleName = 'AdministratorAccess';
7
8 const urlEncodedUrl = encodeURIComponent(url);
9 return `https://d-906713e952.awsapps.com/start/#/console?account_id=${accountId}&role_name=${deepLinkRoleName}&destination=${urlEncodedUrl}`;
10}
11
12function codebuildUrl(event) {
13 const region = event.region;

Callers 2

codebuildUrlFunction · 0.85
statusBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected