@aws-sdk/ec2-metadata-service 3.538.0 → 3.539.0

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.
@@ -0,0 +1 @@
1
+ module.exports = require("./index.js");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @public
3
+ */
4
+ export interface MetadataServiceOptions {
5
+ /**
6
+ * the endpoint of the instance metadata service.
7
+ */
8
+ endpoint?: string;
9
+ /**
10
+ * a map of options to pass to the underlying HTTP request.
11
+ */
12
+ httpOptions?: {
13
+ /**
14
+ * a timeout value in milliseconds to wait before aborting the connection. Set to 0 for no timeout.
15
+ */
16
+ timeout?: number;
17
+ };
18
+ /**
19
+ * Prevent IMDSv1 fallback.
20
+ */
21
+ ec2MetadataV1Disabled?: boolean;
22
+ /**
23
+ * profile name to check for IMDSv1 settings.
24
+ */
25
+ profile?: string;
26
+ /**
27
+ * when true, metadata service will not fetch token, which indicates usage of IMDSv1
28
+ */
29
+ disableFetchToken?: boolean;
30
+ }
@@ -0,0 +1,9 @@
1
+ export interface MetadataServiceOptions {
2
+ endpoint?: string;
3
+ httpOptions?: {
4
+ timeout?: number;
5
+ };
6
+ ec2MetadataV1Disabled?: boolean;
7
+ profile?: string;
8
+ disableFetchToken?: boolean;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/ec2-metadata-service",
3
- "version": "3.538.0",
3
+ "version": "3.539.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline ec2-metadata-service",