link2aws 1.0.4 → 1.0.8

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 +6 -5
  2. package/package.json +1 -1
package/link2aws.js CHANGED
@@ -361,7 +361,7 @@ class ARN {
361
361
  },
362
362
  "dynamodb": { // Amazon DynamoDB
363
363
  "global-table": null,
364
- "table": null,
364
+ "table": () => `https://${this.region}.${this.console}/dynamodbv2/home?region=${this.region}#table?name=${this.resource}`,
365
365
  },
366
366
  "ec2": { // AWS Systems Manager
367
367
  "capacity-reservation": null,
@@ -387,10 +387,10 @@ class ARN {
387
387
  "placement-group": null,
388
388
  "reserved-instances": null,
389
389
  "route-table": null,
390
- "security-group": null,
390
+ "security-group": () => `https://${this.region}.${this.console}/vpc/home?region=${this.region}#SecurityGroup:groupId=${this.resource}`,
391
391
  "snapshot": null,
392
392
  "spot-instances-request": null,
393
- "subnet": null,
393
+ "subnet": () => `https://${this.region}.${this.console}/vpc/home?region=${this.region}#SubnetDetails:subnetId=${this.resource}`,
394
394
  "traffic-mirror-filter": null,
395
395
  "traffic-mirror-filter-rule": null,
396
396
  "traffic-mirror-session": null,
@@ -541,7 +541,7 @@ class ARN {
541
541
  "access-report": null,
542
542
  "assumed-role": null,
543
543
  "federated-user": null,
544
- "group": null,
544
+ "group": () => `https://${this.console}/iamv2/home#/groups/details/${this.pathLast}`,
545
545
  "instance-profile": null,
546
546
  "mfa": null,
547
547
  "oidc-provider": () => `https://${this.console}/iam/home?#/providers/${this.string}`,
@@ -942,6 +942,7 @@ class ARN {
942
942
  "sns": { // Amazon SNS
943
943
  },
944
944
  "sqs": { // Amazon SQS
945
+ "": () => `https://${this.region}.${this.console}/sqs/v2/home?region=${this.region}#/queues/https%3A%2F%2Fsqs.${this.region}.amazonaws.com%2F${this.account}%2F${this.resource}`
945
946
  },
946
947
  "ssm": { // AWS Systems Manager
947
948
  "association": null,
@@ -963,7 +964,7 @@ class ARN {
963
964
  "states": { // AWS Step Functions
964
965
  "activity": null,
965
966
  "execution": null,
966
- "stateMachine": null,
967
+ "stateMachine": () => `https://${this.region}.${this.console}/states/home?region=${this.region}#/statemachines/view/${this.string}`,
967
968
  },
968
969
  "storagegateway": { // Amazon Storage Gateway
969
970
  "gateway": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "link2aws",
3
- "version": "1.0.4",
3
+ "version": "1.0.8",
4
4
  "description": "Convert ARN (Amazon Resource Name) to AWS Console link",
5
5
  "main": "link2aws.js",
6
6
  "directories": {