link2aws 1.0.20 → 1.0.22

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 +11 -7
  2. package/package.json +1 -1
package/link2aws.js CHANGED
@@ -293,6 +293,9 @@ class ARN {
293
293
  },
294
294
  "codecommit": { // Amazon CodeGuru Reviewer
295
295
  },
296
+ "codeconnections": { // AWS CodeConnections
297
+ "connection": () => `https://${this.region}.${this.console}/codesuite/settings/${this.account}/${this.region}/${this.service}/${this.resource_type}s/${this.resource}`,
298
+ },
296
299
  "codedeploy": { // AWS CodeDeploy
297
300
  "application": null,
298
301
  "deploymentconfig": null,
@@ -315,7 +318,7 @@ class ARN {
315
318
  "project": null,
316
319
  },
317
320
  "codestar-connections": { // AWS CodeStar Connections
318
- "connection": null,
321
+ "connection": () => `https://${this.region}.${this.console}/codesuite/settings/${this.account}/${this.region}/${this.service}/${this.resource_type}s/${this.resource}`,
319
322
  },
320
323
  "codestar-notifications": { // AWS CodeStar Notifications
321
324
  "notificationrule": null,
@@ -434,10 +437,11 @@ class ARN {
434
437
  "elastic-gpu": null,
435
438
  "fpga-image": null,
436
439
  "image": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#ImageDetails:imageId=${this.resource}`,
437
- "instance": () => `https://${this.region}.${this.console}/ec2/v2/home`,
440
+ "instance": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#InstanceDetails:instanceId=${this.resource}`,
438
441
  "internet-gateway": null,
442
+ "natgateway": () => `https://${this.region}.${this.console}/vpcconsole/home?region=${this.region}#NatGatewayDetails:natGatewayId=${this.resource}`,
439
443
  "key-pair": null,
440
- "launch-template": null,
444
+ "launch-template": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#LaunchTemplateDetails:launchTemplateId=${this.resource}`,
441
445
  "local-gateway": null,
442
446
  "local-gateway-route-table": null,
443
447
  "local-gateway-route-table-virtual-interface-group-association": null,
@@ -450,7 +454,7 @@ class ARN {
450
454
  "reserved-instances": null,
451
455
  "route-table": null,
452
456
  "security-group": () => `https://${this.region}.${this.console}/vpc/home?region=${this.region}#SecurityGroup:groupId=${this.resource}`,
453
- "snapshot": null,
457
+ "snapshot": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#SnapshotDetails:snapshotId=${this.resource}`,
454
458
  "spot-instances-request": null,
455
459
  "subnet": () => `https://${this.region}.${this.console}/vpc/home?region=${this.region}#SubnetDetails:subnetId=${this.resource}`,
456
460
  "traffic-mirror-filter": null,
@@ -461,9 +465,9 @@ class ARN {
461
465
  "transit-gateway-attachment": null,
462
466
  "transit-gateway-multicast-domain": null,
463
467
  "transit-gateway-route-table": null,
464
- "volume": null,
468
+ "volume": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#VolumeDetails:volumeId=${this.resource}`,
465
469
  "vpc": () => `https://${this.region}.${this.console}/vpc/home?region=${this.region}#VpcDetails:VpcId=${this.resource}`,
466
- "vpc-endpoint": null,
470
+ "vpc-endpoint": () => `https://${this.region}.${this.console}/vpcconsole/home?region=${this.region}#EndpointDetails:vpcEndpointId=${this.resource}`,
467
471
  "vpc-endpoint-service": null,
468
472
  "vpc-flow-log": null,
469
473
  "vpc-peering-connection": null,
@@ -509,7 +513,7 @@ class ARN {
509
513
  "elasticloadbalancing": { // AWS WAF V2
510
514
  "listener": null,
511
515
  "listener-rule": null,
512
- "loadbalancer": null,
516
+ "loadbalancer": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#LoadBalancer:loadBalancerArn=${this.arn}`,
513
517
  "targetgroup": null,
514
518
  },
515
519
  "elasticmapreduce": { // Amazon Elastic MapReduce
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "link2aws",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Convert ARN (Amazon Resource Name) to AWS Console link",
5
5
  "main": "link2aws.js",
6
6
  "directories": {