link2aws 1.0.10 → 1.0.12

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 +2 -2
  2. package/package.json +1 -1
package/link2aws.js CHANGED
@@ -405,7 +405,7 @@ class ARN {
405
405
  "transit-gateway-multicast-domain": null,
406
406
  "transit-gateway-route-table": null,
407
407
  "volume": null,
408
- "vpc": null,
408
+ "vpc": () => `https://${this.region}.${this.console}/vpc/home?region=${this.region}#VpcDetails:VpcId=${this.resource}`,
409
409
  "vpc-endpoint": null,
410
410
  "vpc-endpoint-service": null,
411
411
  "vpc-flow-log": null,
@@ -419,7 +419,7 @@ class ARN {
419
419
  "ecs": { // Amazon Elastic Container Service
420
420
  "cluster": () => `https://${this.region}.${this.console}/ecs/home?region=${this.region}#/clusters/${this.resource}`,
421
421
  "container-instance": null,
422
- "service": null,
422
+ "service": () => `https://${this.region}.${this.console}/ecs/home?region=${this.region}#/clusters/${this.pathAllButLast}/services/${this.pathLast}/details`,
423
423
  "task": () => `https://${this.region}.${this.console}/ecs/home?region=${this.region}#/clusters/${this.pathAllButLast}/tasks/${this.pathLast}`,
424
424
  "task-definition": null,
425
425
  "task-set": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "link2aws",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Convert ARN (Amazon Resource Name) to AWS Console link",
5
5
  "main": "link2aws.js",
6
6
  "directories": {