link2aws 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/link2aws.js +4 -4
  2. package/package.json +1 -1
package/link2aws.js CHANGED
@@ -441,10 +441,10 @@ class ARN {
441
441
  "repository": null,
442
442
  },
443
443
  "ecs": { // Amazon Elastic Container Service
444
- "cluster": () => `https://${this.region}.${this.console}/ecs/home?region=${this.region}#/clusters/${this.resource}`,
444
+ "cluster": () => `https://${this.region}.${this.console}/ecs/v2/clusters/${this.resource}?region=${this.region}`,
445
445
  "container-instance": null,
446
- "service": () => `https://${this.region}.${this.console}/ecs/home?region=${this.region}#/clusters/${this.pathAllButLast}/services/${this.pathLast}/details`,
447
- "task": () => `https://${this.region}.${this.console}/ecs/home?region=${this.region}#/clusters/${this.pathAllButLast}/tasks/${this.pathLast}`,
446
+ "service": () => `https://${this.region}.${this.console}/ecs/v2/clusters/${this.pathAllButLast}/services/${this.pathLast}?region=${this.region}`,
447
+ "task": () => `https://${this.region}.${this.console}/ecs/v2/clusters/${this.pathAllButLast}/tasks/${this.pathLast}?region=${this.region}`,
448
448
  "task-definition": () => `https://${this.region}.${this.console}/ecs/v2/task-definitions/${this.resource}/${this.resource_revision}?region=${this.region}`,
449
449
  "task-set": null,
450
450
  },
@@ -728,7 +728,7 @@ class ARN {
728
728
  "queues": null,
729
729
  },
730
730
  "medialive": { // AWS Elemental MediaLive
731
- "channel": null,
731
+ "channel": () => `https://${this.region}.${this.console}/medialive/home?region=${this.region}#/channels/${this.resource}`,
732
732
  "input": null,
733
733
  "inputDevice": null,
734
734
  "inputSecurityGroup": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "link2aws",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Convert ARN (Amazon Resource Name) to AWS Console link",
5
5
  "main": "link2aws.js",
6
6
  "directories": {