p6-cdk-namer 1.3.49 → 1.3.51
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/p6cdknamer.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/package.json +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +2 -2
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"bundled": {
|
|
11
|
-
"@aws-sdk/client-iam": "^3.
|
|
11
|
+
"@aws-sdk/client-iam": "^3.917.0",
|
|
12
12
|
"cdk-iam-floyd": "^0.727.0",
|
|
13
13
|
"winston": "^3.18.3"
|
|
14
14
|
},
|
|
@@ -4198,6 +4198,6 @@
|
|
|
4198
4198
|
"symbolId": "src/p6cdknamer:P6CDKNamer"
|
|
4199
4199
|
}
|
|
4200
4200
|
},
|
|
4201
|
-
"version": "1.3.
|
|
4202
|
-
"fingerprint": "
|
|
4201
|
+
"version": "1.3.51",
|
|
4202
|
+
"fingerprint": "faXDlA4D1r8wtxsdMSWt+zV4WxOkpL/JYpuEmHWS4X8="
|
|
4203
4203
|
}
|
package/lib/p6cdknamer.js
CHANGED
|
@@ -41,7 +41,7 @@ const lambdajs = __importStar(require("aws-cdk-lib/aws-lambda-nodejs"));
|
|
|
41
41
|
const cr = __importStar(require("aws-cdk-lib/custom-resources"));
|
|
42
42
|
const floyd = __importStar(require("cdk-iam-floyd"));
|
|
43
43
|
class P6CDKNamer extends cdk.Resource {
|
|
44
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-namer.P6CDKNamer", version: "1.3.
|
|
44
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "p6-cdk-namer.P6CDKNamer", version: "1.3.51" };
|
|
45
45
|
constructor(scope, id, props) {
|
|
46
46
|
super(scope, id);
|
|
47
47
|
const policy = new floyd.Statement.Iam().allow().toCreateAccountAlias();
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.917.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/credential-provider-http": "3.916.0",
|
|
34
34
|
"@aws-sdk/credential-provider-process": "3.916.0",
|
|
35
35
|
"@aws-sdk/credential-provider-sso": "3.916.0",
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.917.0",
|
|
37
37
|
"@aws-sdk/nested-clients": "3.916.0",
|
|
38
38
|
"@aws-sdk/types": "3.914.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^4.2.3",
|
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.917.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@aws-sdk/credential-provider-env": "3.916.0",
|
|
35
35
|
"@aws-sdk/credential-provider-http": "3.916.0",
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.917.0",
|
|
37
37
|
"@aws-sdk/credential-provider-process": "3.916.0",
|
|
38
38
|
"@aws-sdk/credential-provider-sso": "3.916.0",
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.917.0",
|
|
40
40
|
"@aws-sdk/types": "3.914.0",
|
|
41
41
|
"@smithy/credential-provider-imds": "^4.2.3",
|
|
42
42
|
"@smithy/property-provider": "^4.2.3",
|
|
@@ -9,7 +9,7 @@ const fromWebToken_1 = require("./fromWebToken");
|
|
|
9
9
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
10
10
|
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
11
11
|
const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
|
|
12
|
-
const fromTokenFile = (init = {}) => async () => {
|
|
12
|
+
const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
13
13
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
14
14
|
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
15
15
|
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
@@ -25,7 +25,7 @@ const fromTokenFile = (init = {}) => async () => {
|
|
|
25
25
|
(0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }),
|
|
26
26
|
roleArn,
|
|
27
27
|
roleSessionName,
|
|
28
|
-
})();
|
|
28
|
+
})(awsIdentityProperties);
|
|
29
29
|
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
30
30
|
(0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
31
31
|
}
|
|
@@ -6,7 +6,7 @@ import { fromWebToken } from "./fromWebToken";
|
|
|
6
6
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
7
7
|
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
8
8
|
const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
|
|
9
|
-
export const fromTokenFile = (init = {}) => async () => {
|
|
9
|
+
export const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
10
10
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
11
11
|
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
12
12
|
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
@@ -22,7 +22,7 @@ export const fromTokenFile = (init = {}) => async () => {
|
|
|
22
22
|
readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
|
|
23
23
|
roleArn,
|
|
24
24
|
roleSessionName,
|
|
25
|
-
})();
|
|
25
|
+
})(awsIdentityProperties);
|
|
26
26
|
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
27
27
|
setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
28
28
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
-
import
|
|
1
|
+
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
+
import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types/src";
|
|
3
3
|
import { FromWebTokenInit } from "./fromWebToken";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
@@ -15,4 +15,4 @@ export interface FromTokenFileInit extends Partial<Omit<FromWebTokenInit, "webId
|
|
|
15
15
|
*
|
|
16
16
|
* Represents OIDC credentials from a file on disk.
|
|
17
17
|
*/
|
|
18
|
-
export declare const fromTokenFile: (init?: FromTokenFileInit) =>
|
|
18
|
+
export declare const fromTokenFile: (init?: FromTokenFileInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
-
import {
|
|
2
|
+
import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types/src";
|
|
3
3
|
import { FromWebTokenInit } from "./fromWebToken";
|
|
4
4
|
export interface FromTokenFileInit
|
|
5
5
|
extends Partial<
|
|
@@ -13,4 +13,4 @@ export interface FromTokenFileInit
|
|
|
13
13
|
}
|
|
14
14
|
export declare const fromTokenFile: (
|
|
15
15
|
init?: FromTokenFileInit
|
|
16
|
-
) =>
|
|
16
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.917.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.917.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iam",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.916.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.917.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.914.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.914.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.914.0",
|
package/package.json
CHANGED
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"node": ">= 24.9.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@antfu/eslint-config": "^6.
|
|
54
|
+
"@antfu/eslint-config": "^6.1.0",
|
|
55
55
|
"@types/aws-lambda": "^8.10.156",
|
|
56
56
|
"@types/jest": "^30.0.0",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
58
58
|
"@typescript-eslint/parser": "^8.46.2",
|
|
59
59
|
"aws-cdk": "^2.1031.0",
|
|
60
|
-
"aws-cdk-lib": "^2.
|
|
60
|
+
"aws-cdk-lib": "^2.221.0",
|
|
61
61
|
"cdk-dia": "^0.12.1",
|
|
62
62
|
"constructs": "^10.4.2",
|
|
63
63
|
"esbuild": "^0.25.11",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"constructs": "^10.4.2"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@aws-sdk/client-iam": "^3.
|
|
83
|
+
"@aws-sdk/client-iam": "^3.917.0",
|
|
84
84
|
"cdk-iam-floyd": "^0.727.0",
|
|
85
85
|
"winston": "^3.18.3"
|
|
86
86
|
},
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"main": "lib/index.js",
|
|
101
101
|
"types": "lib/index.d.ts",
|
|
102
102
|
"license": "Apache-2.0",
|
|
103
|
-
"version": "1.3.
|
|
103
|
+
"version": "1.3.51",
|
|
104
104
|
"jsii": {
|
|
105
105
|
"outdir": "dist",
|
|
106
106
|
"tsc": {
|