@cdk8s/awscdk-resolver 0.0.316 → 0.0.317
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +111 -93
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +41 -37
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +12 -12
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.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 middleware-recursion-detection",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
26
|
+
"@aws-sdk/types": "3.840.0",
|
27
27
|
"@smithy/protocol-http": "^5.1.2",
|
28
28
|
"@smithy/types": "^4.3.1",
|
29
29
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.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 middleware-user-agent",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/core": "3.
|
28
|
-
"@aws-sdk/types": "3.
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
27
|
+
"@aws-sdk/core": "3.840.0",
|
28
|
+
"@aws-sdk/types": "3.840.0",
|
29
|
+
"@aws-sdk/util-endpoints": "3.840.0",
|
30
30
|
"@smithy/core": "^3.6.0",
|
31
31
|
"@smithy/protocol-http": "^5.1.2",
|
32
32
|
"@smithy/types": "^4.3.1",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.0",
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -28,16 +28,16 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
31
|
-
"@aws-sdk/core": "3.
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
36
|
-
"@aws-sdk/region-config-resolver": "3.
|
37
|
-
"@aws-sdk/types": "3.
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
39
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
31
|
+
"@aws-sdk/core": "3.840.0",
|
32
|
+
"@aws-sdk/middleware-host-header": "3.840.0",
|
33
|
+
"@aws-sdk/middleware-logger": "3.840.0",
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.840.0",
|
36
|
+
"@aws-sdk/region-config-resolver": "3.840.0",
|
37
|
+
"@aws-sdk/types": "3.840.0",
|
38
|
+
"@aws-sdk/util-endpoints": "3.840.0",
|
39
|
+
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.840.0",
|
41
41
|
"@smithy/config-resolver": "^4.1.4",
|
42
42
|
"@smithy/core": "^3.6.0",
|
43
43
|
"@smithy/fetch-http-handler": "^5.0.4",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.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 region-config-resolver",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.840.0",
|
26
26
|
"@smithy/node-config-provider": "^4.1.3",
|
27
27
|
"@smithy/types": "^4.3.1",
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
@@ -39,18 +39,21 @@ __export(index_exports, {
|
|
39
39
|
module.exports = __toCommonJS(index_exports);
|
40
40
|
|
41
41
|
// src/fromEnvSigningName.ts
|
42
|
-
var
|
42
|
+
var import_client = require("@aws-sdk/core/client");
|
43
|
+
var import_httpAuthSchemes = require("@aws-sdk/core/httpAuthSchemes");
|
43
44
|
var import_property_provider = require("@smithy/property-provider");
|
44
45
|
var fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {
|
45
46
|
logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
46
47
|
if (!signingName) {
|
47
48
|
throw new import_property_provider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger });
|
48
49
|
}
|
49
|
-
const bearerTokenKey = (0,
|
50
|
+
const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);
|
50
51
|
if (!(bearerTokenKey in process.env)) {
|
51
52
|
throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });
|
52
53
|
}
|
53
|
-
|
54
|
+
const token = { token: process.env[bearerTokenKey] };
|
55
|
+
(0, import_client.setTokenFeature)(token, "BEARER_SERVICE_ENV_VARS", "3");
|
56
|
+
return token;
|
54
57
|
}, "fromEnvSigningName");
|
55
58
|
|
56
59
|
// src/fromSso.ts
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { setTokenFeature } from "@aws-sdk/core/client";
|
2
|
+
import { getBearerTokenEnvKey } from "@aws-sdk/core/httpAuthSchemes";
|
2
3
|
import { TokenProviderError } from "@smithy/property-provider";
|
3
4
|
export const fromEnvSigningName = ({ logger, signingName } = {}) => async () => {
|
4
5
|
logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
@@ -9,5 +10,7 @@ export const fromEnvSigningName = ({ logger, signingName } = {}) => async () =>
|
|
9
10
|
if (!(bearerTokenKey in process.env)) {
|
10
11
|
throw new TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });
|
11
12
|
}
|
12
|
-
|
13
|
+
const token = { token: process.env[bearerTokenKey] };
|
14
|
+
setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3");
|
15
|
+
return token;
|
13
16
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,9 +27,9 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/nested-clients": "3.
|
32
|
-
"@aws-sdk/types": "3.
|
30
|
+
"@aws-sdk/core": "3.840.0",
|
31
|
+
"@aws-sdk/nested-clients": "3.840.0",
|
32
|
+
"@aws-sdk/types": "3.840.0",
|
33
33
|
"@smithy/property-provider": "^4.0.4",
|
34
34
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
35
35
|
"@smithy/types": "^4.3.1",
|
@@ -28,7 +28,7 @@ export type AwsSdkFeatures = Partial<{
|
|
28
28
|
FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
|
29
29
|
FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
|
30
30
|
DDB_MAPPER: "d";
|
31
|
-
}> & AwsSdkCredentialsFeatures;
|
31
|
+
}> & AwsSdkCredentialsFeatures & AwsSdkTokenFeatures;
|
32
32
|
/**
|
33
33
|
* @internal
|
34
34
|
*/
|
@@ -57,3 +57,9 @@ export type AwsSdkCredentialsFeatures = Partial<{
|
|
57
57
|
CREDENTIALS_HTTP: "z";
|
58
58
|
CREDENTIALS_IMDS: "0";
|
59
59
|
}>;
|
60
|
+
/**
|
61
|
+
* @internal
|
62
|
+
*/
|
63
|
+
export type AwsSdkTokenFeatures = Partial<{
|
64
|
+
BEARER_SERVICE_ENV_VARS: "3";
|
65
|
+
}>;
|
@@ -1 +1,11 @@
|
|
1
|
+
import type { TokenIdentity } from "@smithy/types";
|
2
|
+
import type { AwsSdkTokenFeatures } from "../feature-ids";
|
1
3
|
export { TokenIdentity, TokenIdentityProvider } from "@smithy/types";
|
4
|
+
/**
|
5
|
+
* @public
|
6
|
+
*
|
7
|
+
* TokenIdentity with source attribution metadata.
|
8
|
+
*/
|
9
|
+
export type AttributedTokenIdentity = TokenIdentity & {
|
10
|
+
$source?: AwsSdkTokenFeatures;
|
11
|
+
};
|
@@ -26,7 +26,8 @@ export type AwsSdkFeatures = Partial<{
|
|
26
26
|
FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
|
27
27
|
DDB_MAPPER: "d";
|
28
28
|
}> &
|
29
|
-
AwsSdkCredentialsFeatures
|
29
|
+
AwsSdkCredentialsFeatures &
|
30
|
+
AwsSdkTokenFeatures;
|
30
31
|
export type AwsSdkCredentialsFeatures = Partial<{
|
31
32
|
RESOLVED_ACCOUNT_ID: "T";
|
32
33
|
CREDENTIALS_CODE: "e";
|
@@ -52,3 +53,6 @@ export type AwsSdkCredentialsFeatures = Partial<{
|
|
52
53
|
CREDENTIALS_HTTP: "z";
|
53
54
|
CREDENTIALS_IMDS: "0";
|
54
55
|
}>;
|
56
|
+
export type AwsSdkTokenFeatures = Partial<{
|
57
|
+
BEARER_SERVICE_ENV_VARS: "3";
|
58
|
+
}>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
27
|
+
"@aws-sdk/types": "3.840.0",
|
28
28
|
"@smithy/types": "^4.3.1",
|
29
29
|
"@smithy/util-endpoints": "^3.0.6",
|
30
30
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.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 util-user-agent-browser",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"react-native": "dist-es/index.native.js",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
26
|
+
"@aws-sdk/types": "3.840.0",
|
27
27
|
"@smithy/types": "^4.3.1",
|
28
28
|
"bowser": "^2.11.0",
|
29
29
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.840.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 util-user-agent-node",
|
@@ -21,8 +21,8 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
25
|
-
"@aws-sdk/types": "3.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.840.0",
|
25
|
+
"@aws-sdk/types": "3.840.0",
|
26
26
|
"@smithy/node-config-provider": "^4.1.3",
|
27
27
|
"@smithy/types": "^4.3.1",
|
28
28
|
"tslib": "^2.6.2"
|
package/package.json
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
"organization": false
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@cdk8s/projen-common": "0.0.
|
45
|
+
"@cdk8s/projen-common": "0.0.610",
|
46
46
|
"@stylistic/eslint-plugin": "^2",
|
47
47
|
"@types/fs-extra": "^11.0.4",
|
48
48
|
"@types/jest": "^27",
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"constructs": "^10.3.0"
|
78
78
|
},
|
79
79
|
"dependencies": {
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.840.0"
|
81
81
|
},
|
82
82
|
"bundledDependencies": [
|
83
83
|
"@aws-sdk/client-cloudformation"
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"publishConfig": {
|
94
94
|
"access": "public"
|
95
95
|
},
|
96
|
-
"version": "0.0.
|
96
|
+
"version": "0.0.317",
|
97
97
|
"jest": {
|
98
98
|
"coverageProvider": "v8",
|
99
99
|
"testMatch": [
|