link2aws 1.0.24 → 1.0.25

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.
package/README.md CHANGED
@@ -6,7 +6,7 @@ Copy/paste ARN, get direct link to AWS console
6
6
  <img src="screenshot.png" alt="Screenshot of link2aws.github.io" />
7
7
  </a>
8
8
 
9
- Copyright (c) 2020, Felix Kaiser. License: [ISC](https://spdx.org/licenses/ISC.html)
9
+ Copyright (c) 2020-2026, Felix Kaiser. License: [ISC](https://spdx.org/licenses/ISC.html)
10
10
 
11
11
  ![Node.js CI](https://github.com/link2aws/link2aws.github.io/workflows/Node.js%20CI/badge.svg)
12
12
 
@@ -83,4 +83,8 @@ Pull requests welcome!
83
83
  ```
84
84
  npm install
85
85
  node_modules/nyc/bin/nyc.js --reporter=text node_modules/mocha/bin/mocha test/test.js
86
- ```
86
+ ```
87
+
88
+ ## Other languages
89
+
90
+ Also see our [Rust library](https://crates.io/crates/link2aws).
package/link2aws.js CHANGED
@@ -169,7 +169,7 @@ class ARN {
169
169
  "analyzer": () => `https://${this.region}.${this.console}/access-analyzer/home?region=${this.region}#/analyzer/${this.resource}`,
170
170
  },
171
171
  "acm": { // AWS Certificate Manager
172
- "certificate": () => `https://${this.console}/acm/home?region=${this.region}#/?id=${this.resource}`,
172
+ "certificate": () => `https://${this.console}/acm/home?region=${this.region}#/certificates/${this.resource}`,
173
173
  },
174
174
  "acm-pca": { // AWS Certificate Manager Private Certificate Authority
175
175
  "certificate-authority": null,
@@ -292,7 +292,7 @@ class ARN {
292
292
  },
293
293
  "codebuild": { // AWS CodeBuild
294
294
  "build": null,
295
- "project": null,
295
+ "project": () => `https://${this.region}.${this.console}/codesuite/codebuild/projects/${this.resource}`,
296
296
  "report": null,
297
297
  "report-group": null,
298
298
  },
@@ -440,6 +440,7 @@ class ARN {
440
440
  "dedicated-host": null,
441
441
  "dhcp-options": null,
442
442
  "elastic-gpu": null,
443
+ "eip-allocation": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#Addresses:v=3;search=:${this.resource}`,
443
444
  "fpga-image": null,
444
445
  "image": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#ImageDetails:imageId=${this.resource}`,
445
446
  "instance": () => `https://${this.region}.${this.console}/ec2/home?region=${this.region}#InstanceDetails:instanceId=${this.resource}`,
@@ -480,7 +481,7 @@ class ARN {
480
481
  "vpn-gateway": null,
481
482
  },
482
483
  "ecr": { // Amazon Elastic Container Registry
483
- "repository": null,
484
+ "repository": () => `https://${this.region}.${this.console}/ecr/repositories/private/${this.account}/${this.resource}`,
484
485
  },
485
486
  "ecs": { // Amazon Elastic Container Service
486
487
  "cluster": () => `https://${this.region}.${this.console}/ecs/v2/clusters/${this.resource}?region=${this.region}`,
@@ -507,7 +508,7 @@ class ARN {
507
508
  "application": null,
508
509
  "applicationversion": null,
509
510
  "configurationtemplate": null,
510
- "environment": null,
511
+ "environment": () => `https://${this.region}.${this.console}/elasticbeanstalk/home?region=${this.region}#/environments`,
511
512
  "platform": null,
512
513
  "solutionstack": null,
513
514
  },
@@ -531,7 +532,7 @@ class ARN {
531
532
  "preset": null,
532
533
  },
533
534
  "es": { // Amazon Elasticsearch Service
534
- "domain": null,
535
+ "domain": () => `https://${this.region}.${this.console}/aos/home?region=${this.region}#opensearch/domains/${this.resource}`,
535
536
  },
536
537
  "events": { // Amazon EventBridge
537
538
  "event-bus": null,
@@ -584,7 +585,7 @@ class ARN {
584
585
  "crawler": null,
585
586
  "database": null,
586
587
  "devendpoint": null,
587
- "job": null,
588
+ "job": () => `https://${this.region}.${this.console}/gluestudio/home?region=${this.region}#/editor/job/${this.resource}/script`,
588
589
  "mlTransform": null,
589
590
  "table": null,
590
591
  "tableVersion": null,
@@ -696,7 +697,7 @@ class ARN {
696
697
  "index": null,
697
698
  },
698
699
  "kinesis": { // Amazon Kinesis
699
- "stream": null,
700
+ "stream": () => `https://${this.region}.console.aws.amazon.com/kinesis/home?region=${this.region}#/streams/details/${this.resource}/details`,
700
701
  },
701
702
  "kinesisanalytics": { // Amazon Kinesis Analytics V2
702
703
  "application": null,
@@ -875,7 +876,7 @@ class ARN {
875
876
  "cluster": () => `https://${this.console}/rds/home?region=${this.region}#database:id=${this.resource};is-cluster=true`,
876
877
  "cluster-endpoint": null,
877
878
  "cluster-pg": null,
878
- "cluster-snapshot": null,
879
+ "cluster-snapshot": () => `https://${this.console}/rds/home?region=${this.region}#db-snapshot:id=${this.resource}`,
879
880
  "db": () => `https://${this.console}/rds/home?region=${this.region}#database:id=${this.resource}`,
880
881
  "db-proxy": null,
881
882
  "es": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "link2aws",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Convert ARN (Amazon Resource Name) to AWS Console link",
5
5
  "main": "link2aws.js",
6
6
  "directories": {