@cdklabs/cdk-ecs-codedeploy 0.0.246 → 0.0.247

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 (54) hide show
  1. package/.jsii +4 -4
  2. package/.jsii.tabl.json +1 -1
  3. package/API.md +2 -2
  4. package/lib/api-canary/index.js +1 -1
  5. package/lib/ecs-appspec/index.js +1 -1
  6. package/lib/ecs-deployment/index.js +1 -1
  7. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.d.ts +2 -2
  8. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +2 -2
  9. package/node_modules/@aws-sdk/client-codedeploy/package.json +14 -14
  10. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  11. package/node_modules/@aws-sdk/client-sso-oidc/package.json +14 -14
  12. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +43 -17
  13. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -15
  14. package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +4 -4
  15. package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +11 -3
  16. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +4 -7
  17. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +11 -3
  18. package/node_modules/@aws-sdk/client-sts/package.json +12 -12
  19. package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
  20. package/node_modules/@aws-sdk/core/dist-cjs/index.js +13 -7
  21. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -2
  22. package/node_modules/@aws-sdk/core/package.json +1 -1
  23. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +10 -2
  24. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  25. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  26. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  27. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  28. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  29. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +10 -2
  30. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +5 -1
  31. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +1 -0
  32. package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
  33. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  34. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  35. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  36. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +5 -1
  37. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +5 -1
  38. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  39. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  40. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  41. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  42. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +10 -2
  43. package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js +6 -2
  44. package/node_modules/@aws-sdk/middleware-signing/package.json +2 -2
  45. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  46. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  47. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  48. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +16 -0
  49. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +3 -0
  50. package/node_modules/@aws-sdk/types/package.json +1 -1
  51. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  52. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  53. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  54. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.502.0",
3
+ "version": "3.511.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",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.502.0",
24
+ "@aws-sdk/types": "3.511.0",
25
25
  "@smithy/protocol-http": "^3.1.1",
26
26
  "@smithy/types": "^2.9.1",
27
27
  "tslib": "^2.5.0"
@@ -35,7 +35,11 @@ var import_signature_v4 = require("@smithy/signature-v4");
35
35
  var import_util_middleware = require("@smithy/util-middleware");
36
36
  var CREDENTIAL_EXPIRE_WINDOW = 3e5;
37
37
  var resolveAwsAuthConfig = /* @__PURE__ */ __name((input) => {
38
- const normalizedCreds = input.credentials ? normalizeCredentialProvider(input.credentials) : input.credentialDefaultProvider(input);
38
+ const normalizedCreds = input.credentials ? normalizeCredentialProvider(input.credentials) : input.credentialDefaultProvider(
39
+ Object.assign({}, input, {
40
+ parentClientConfig: input
41
+ })
42
+ );
39
43
  const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;
40
44
  let signer;
41
45
  if (input.signer) {
@@ -101,7 +105,11 @@ var resolveAwsAuthConfig = /* @__PURE__ */ __name((input) => {
101
105
  };
102
106
  }, "resolveAwsAuthConfig");
103
107
  var resolveSigV4AuthConfig = /* @__PURE__ */ __name((input) => {
104
- const normalizedCreds = input.credentials ? normalizeCredentialProvider(input.credentials) : input.credentialDefaultProvider(input);
108
+ const normalizedCreds = input.credentials ? normalizeCredentialProvider(input.credentials) : input.credentialDefaultProvider(
109
+ Object.assign({}, input, {
110
+ parentClientConfig: input
111
+ })
112
+ );
105
113
  const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;
106
114
  let signer;
107
115
  if (input.signer) {
@@ -5,7 +5,9 @@ const CREDENTIAL_EXPIRE_WINDOW = 300000;
5
5
  export const resolveAwsAuthConfig = (input) => {
6
6
  const normalizedCreds = input.credentials
7
7
  ? normalizeCredentialProvider(input.credentials)
8
- : input.credentialDefaultProvider(input);
8
+ : input.credentialDefaultProvider(Object.assign({}, input, {
9
+ parentClientConfig: input,
10
+ }));
9
11
  const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;
10
12
  let signer;
11
13
  if (input.signer) {
@@ -71,7 +73,9 @@ export const resolveAwsAuthConfig = (input) => {
71
73
  export const resolveSigV4AuthConfig = (input) => {
72
74
  const normalizedCreds = input.credentials
73
75
  ? normalizeCredentialProvider(input.credentials)
74
- : input.credentialDefaultProvider(input);
76
+ : input.credentialDefaultProvider(Object.assign({}, input, {
77
+ parentClientConfig: input,
78
+ }));
75
79
  const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;
76
80
  let signer;
77
81
  if (input.signer) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-signing",
3
- "version": "3.502.0",
3
+ "version": "3.511.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-signing",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.502.0",
25
+ "@aws-sdk/types": "3.511.0",
26
26
  "@smithy/property-provider": "^2.1.1",
27
27
  "@smithy/protocol-http": "^3.1.1",
28
28
  "@smithy/signature-v4": "^2.1.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.502.0",
3
+ "version": "3.511.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",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.502.0",
26
- "@aws-sdk/util-endpoints": "3.502.0",
25
+ "@aws-sdk/types": "3.511.0",
26
+ "@aws-sdk/util-endpoints": "3.511.0",
27
27
  "@smithy/protocol-http": "^3.1.1",
28
28
  "@smithy/types": "^2.9.1",
29
29
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.502.0",
3
+ "version": "3.511.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",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.502.0",
24
+ "@aws-sdk/types": "3.511.0",
25
25
  "@smithy/node-config-provider": "^2.2.1",
26
26
  "@smithy/types": "^2.9.1",
27
27
  "@smithy/util-config-provider": "^2.2.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.507.0",
3
+ "version": "3.511.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/client-sso-oidc": "3.507.0",
30
- "@aws-sdk/types": "3.502.0",
29
+ "@aws-sdk/client-sso-oidc": "3.511.0",
30
+ "@aws-sdk/types": "3.511.0",
31
31
  "@smithy/property-provider": "^2.1.1",
32
32
  "@smithy/shared-ini-file-loader": "^2.3.1",
33
33
  "@smithy/types": "^2.9.1",
@@ -29,4 +29,20 @@ export type CredentialProviderOptions = {
29
29
  * It does not log credentials.
30
30
  */
31
31
  logger?: Logger;
32
+ /**
33
+ * Present if the credential provider was created by calling
34
+ * the defaultCredentialProvider in a client's middleware, having
35
+ * access to the client's config.
36
+ *
37
+ * The region of that parent or outer client is important because
38
+ * an inner client used by the credential provider may need
39
+ * to match its default partition or region with that of
40
+ * the outer client.
41
+ *
42
+ * @internal
43
+ * @deprecated - not truly deprecated, marked as a warning to not use this.
44
+ */
45
+ parentClientConfig?: {
46
+ region?: string | Provider<string>;
47
+ };
32
48
  };
@@ -5,4 +5,7 @@ export interface Credentials extends AwsCredentialIdentity {}
5
5
  export type CredentialProvider = Provider<Credentials>;
6
6
  export type CredentialProviderOptions = {
7
7
  logger?: Logger;
8
+ parentClientConfig?: {
9
+ region?: string | Provider<string>;
10
+ };
8
11
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.502.0",
3
+ "version": "3.511.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.502.0",
3
+ "version": "3.511.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.502.0",
25
+ "@aws-sdk/types": "3.511.0",
26
26
  "@smithy/types": "^2.9.1",
27
27
  "@smithy/util-endpoints": "^1.1.1",
28
28
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.502.0",
3
+ "version": "3.511.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",
@@ -22,7 +22,7 @@
22
22
  "license": "Apache-2.0",
23
23
  "react-native": "dist-es/index.native.js",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.502.0",
25
+ "@aws-sdk/types": "3.511.0",
26
26
  "@smithy/types": "^2.9.1",
27
27
  "bowser": "^2.11.0",
28
28
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.502.0",
3
+ "version": "3.511.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",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/types": "3.502.0",
23
+ "@aws-sdk/types": "3.511.0",
24
24
  "@smithy/node-config-provider": "^2.2.1",
25
25
  "@smithy/types": "^2.9.1",
26
26
  "tslib": "^2.5.0"
package/package.json CHANGED
@@ -83,7 +83,7 @@
83
83
  "aws-cdk-lib": "2.110.0",
84
84
  "aws-sdk-client-mock": "^3.0.1",
85
85
  "aws-sdk-client-mock-jest": "^3.0.1",
86
- "cdk-nag": "^2.28.27",
86
+ "cdk-nag": "^2.28.29",
87
87
  "cdklabs-projen-project-types": "^0.1.188",
88
88
  "constructs": "10.0.5",
89
89
  "esbuild": "^0.20.0",
@@ -98,7 +98,7 @@
98
98
  "jsii-pacmak": "^1.94.0",
99
99
  "jsii-rosetta": "^5.3.12",
100
100
  "lambda-tester": "^4.0.1",
101
- "projen": "0.79.9",
101
+ "projen": "0.79.14",
102
102
  "standard-version": "^9",
103
103
  "ts-jest": "^27",
104
104
  "ts-node": "^10.9.2",
@@ -109,7 +109,7 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.509.0",
112
+ "@aws-sdk/client-codedeploy": "^3.511.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.246",
130
+ "version": "0.0.247",
131
131
  "jest": {
132
132
  "testMatch": [
133
133
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",