@cdklabs/cdk-ecs-codedeploy 0.0.44 → 0.0.45

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 (62) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
  7. package/node_modules/@aws-sdk/client-codedeploy/package.json +30 -30
  8. package/node_modules/@aws-sdk/client-sso/package.json +26 -26
  9. package/node_modules/@aws-sdk/client-sso-oidc/package.json +26 -26
  10. package/node_modules/@aws-sdk/client-sts/package.json +29 -29
  11. package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
  12. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  13. package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
  14. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  15. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  16. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  17. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  18. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  19. package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
  20. package/node_modules/@aws-sdk/hash-node/package.json +2 -2
  21. package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
  22. package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
  23. package/node_modules/@aws-sdk/middleware-endpoint/package.json +7 -7
  24. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
  25. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  26. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
  27. package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
  28. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
  29. package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
  30. package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
  31. package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
  32. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  33. package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
  34. package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
  35. package/node_modules/@aws-sdk/property-provider/package.json +2 -2
  36. package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
  37. package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
  38. package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
  39. package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
  40. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
  41. package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
  42. package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
  43. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  44. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +6 -0
  45. package/node_modules/@aws-sdk/types/dist-es/auth.js +5 -1
  46. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +20 -0
  47. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +6 -1
  48. package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +9 -0
  49. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +2 -1
  50. package/node_modules/@aws-sdk/types/package.json +1 -1
  51. package/node_modules/@aws-sdk/url-parser/package.json +3 -3
  52. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
  53. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
  54. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
  55. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
  56. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  57. package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
  58. package/node_modules/@aws-sdk/util-retry/package.json +3 -3
  59. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  60. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  61. package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
  62. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { AuthScheme } from "./auth";
1
+ import { AuthScheme, HttpAuthDefinition } from "./auth";
2
2
  import { EndpointV2 } from "./endpoint";
3
3
  import { Logger } from "./logger";
4
4
  import { UserAgent } from "./util";
@@ -343,6 +343,11 @@ export interface HandlerExecutionContext {
343
343
  * Set at the same time as endpointV2.
344
344
  */
345
345
  authSchemes?: AuthScheme[];
346
+ /**
347
+ * The current auth configuration that has been set by any auth middleware and
348
+ * that will prevent from being set more than once.
349
+ */
350
+ currentAuthConfig?: HttpAuthDefinition;
346
351
  /**
347
352
  * Used by DynamoDbDocumentClient.
348
353
  */
@@ -6,3 +6,12 @@ export interface AuthScheme {
6
6
  signingScope?: never;
7
7
  properties: Record<string, unknown>;
8
8
  }
9
+ export interface HttpAuthDefinition {
10
+ in: HttpAuthLocation;
11
+ name: string;
12
+ scheme?: string;
13
+ }
14
+ export declare enum HttpAuthLocation {
15
+ HEADER = "header",
16
+ QUERY = "query",
17
+ }
@@ -1,4 +1,4 @@
1
- import { AuthScheme } from "./auth";
1
+ import { AuthScheme, HttpAuthDefinition } from "./auth";
2
2
  import { EndpointV2 } from "./endpoint";
3
3
  import { Logger } from "./logger";
4
4
  import { UserAgent } from "./util";
@@ -202,6 +202,7 @@ export interface HandlerExecutionContext {
202
202
  userAgent?: UserAgent;
203
203
  endpointV2?: EndpointV2;
204
204
  authSchemes?: AuthScheme[];
205
+ currentAuthConfig?: HttpAuthDefinition;
205
206
  dynamoDbDocumentClientOptions?: Partial<{
206
207
  overrideInputFilterSensitiveLog(...args: any[]): string | void;
207
208
  overrideOutputFilterSensitiveLog(...args: any[]): string | void;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.254.0",
3
+ "version": "3.257.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/url-parser",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/querystring-parser": "3.254.0",
24
- "@aws-sdk/types": "3.254.0",
23
+ "@aws-sdk/querystring-parser": "3.257.0",
24
+ "@aws-sdk/types": "3.257.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-defaults-mode-browser",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,13 +19,13 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/property-provider": "3.254.0",
23
- "@aws-sdk/types": "3.254.0",
22
+ "@aws-sdk/property-provider": "3.257.0",
23
+ "@aws-sdk/types": "3.257.0",
24
24
  "bowser": "^2.11.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@aws-sdk/smithy-client": "3.254.0",
28
+ "@aws-sdk/smithy-client": "3.257.0",
29
29
  "@tsconfig/recommended": "1.0.1",
30
30
  "@types/node": "^14.14.31",
31
31
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-defaults-mode-node",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,15 +19,15 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/config-resolver": "3.254.0",
23
- "@aws-sdk/credential-provider-imds": "3.254.0",
24
- "@aws-sdk/node-config-provider": "3.254.0",
25
- "@aws-sdk/property-provider": "3.254.0",
26
- "@aws-sdk/types": "3.254.0",
22
+ "@aws-sdk/config-resolver": "3.257.0",
23
+ "@aws-sdk/credential-provider-imds": "3.257.0",
24
+ "@aws-sdk/node-config-provider": "3.257.0",
25
+ "@aws-sdk/property-provider": "3.257.0",
26
+ "@aws-sdk/types": "3.257.0",
27
27
  "tslib": "^2.3.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@aws-sdk/smithy-client": "3.254.0",
30
+ "@aws-sdk/smithy-client": "3.257.0",
31
31
  "@tsconfig/recommended": "1.0.1",
32
32
  "@types/node": "^14.14.31",
33
33
  "concurrently": "7.0.0",
@@ -40,6 +40,9 @@
40
40
  "ap-southeast-3": {
41
41
  "description": "Asia Pacific (Jakarta)"
42
42
  },
43
+ "ap-southeast-4": {
44
+ "description": "Asia Pacific (Melbourne)"
45
+ },
43
46
  "aws-global": {
44
47
  "description": "AWS Standard global region"
45
48
  },
@@ -40,6 +40,9 @@
40
40
  "ap-southeast-3": {
41
41
  "description": "Asia Pacific (Jakarta)"
42
42
  },
43
+ "ap-southeast-4": {
44
+ "description": "Asia Pacific (Melbourne)"
45
+ },
43
46
  "aws-global": {
44
47
  "description": "AWS Standard global region"
45
48
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.254.0",
24
+ "@aws-sdk/types": "3.257.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-middleware",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,7 +27,7 @@
27
27
  "tslib": "^2.3.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@aws-sdk/types": "3.254.0",
30
+ "@aws-sdk/types": "3.257.0",
31
31
  "@tsconfig/recommended": "1.0.1",
32
32
  "@types/node": "^14.14.31",
33
33
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-retry",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/service-error-classification": "3.254.0",
27
+ "@aws-sdk/service-error-classification": "3.257.0",
28
28
  "tslib": "^2.3.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@aws-sdk/types": "3.254.0",
31
+ "@aws-sdk/types": "3.257.0",
32
32
  "@tsconfig/recommended": "1.0.1",
33
33
  "@types/node": "^14.14.31",
34
34
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,12 +21,12 @@
21
21
  "license": "Apache-2.0",
22
22
  "react-native": "dist-es/index.native.js",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.254.0",
24
+ "@aws-sdk/types": "3.257.0",
25
25
  "bowser": "^2.11.0",
26
26
  "tslib": "^2.3.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@aws-sdk/protocol-http": "3.254.0",
29
+ "@aws-sdk/protocol-http": "3.257.0",
30
30
  "@tsconfig/recommended": "1.0.1",
31
31
  "concurrently": "7.0.0",
32
32
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,12 +20,12 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/node-config-provider": "3.254.0",
24
- "@aws-sdk/types": "3.254.0",
23
+ "@aws-sdk/node-config-provider": "3.257.0",
24
+ "@aws-sdk/types": "3.257.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@aws-sdk/protocol-http": "3.254.0",
28
+ "@aws-sdk/protocol-http": "3.257.0",
29
29
  "@tsconfig/recommended": "1.0.1",
30
30
  "@types/node": "^14.14.31",
31
31
  "concurrently": "7.0.0",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-waiter",
3
- "version": "3.254.0",
3
+ "version": "3.257.0",
4
4
  "description": "Shared utilities for client waiters for the AWS SDK",
5
5
  "dependencies": {
6
- "@aws-sdk/abort-controller": "3.254.0",
7
- "@aws-sdk/types": "3.254.0",
6
+ "@aws-sdk/abort-controller": "3.257.0",
7
+ "@aws-sdk/types": "3.257.0",
8
8
  "tslib": "^2.3.1"
9
9
  },
10
10
  "scripts": {
package/package.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "aws-cdk-lib": "2.55.1",
74
74
  "aws-sdk-client-mock": "^2.0.1",
75
75
  "aws-sdk-client-mock-jest": "^2.0.1",
76
- "cdk-nag": "^2.21.71",
76
+ "cdk-nag": "^2.21.72",
77
77
  "constructs": "10.0.5",
78
78
  "esbuild": "^0.17.4",
79
79
  "eslint": "^8",
@@ -84,12 +84,12 @@
84
84
  "jest-junit": "^13",
85
85
  "jsii": "^1.73.0",
86
86
  "jsii-diff": "^1.73.0",
87
- "jsii-docgen": "^7.0.212",
87
+ "jsii-docgen": "^7.0.213",
88
88
  "jsii-pacmak": "^1.73.0",
89
89
  "json-schema": "^0.4.0",
90
90
  "lambda-tester": "^4.0.1",
91
91
  "npm-check-updates": "^16",
92
- "projen": "0.67.11",
92
+ "projen": "0.67.12",
93
93
  "standard-version": "^9",
94
94
  "ts-jest": "^27",
95
95
  "ts-node": "^10.9.1",
@@ -101,7 +101,7 @@
101
101
  "constructs": "^10.0.5"
102
102
  },
103
103
  "dependencies": {
104
- "@aws-sdk/client-codedeploy": "^3.256.0",
104
+ "@aws-sdk/client-codedeploy": "^3.257.0",
105
105
  "jmespath": "^0.16.0"
106
106
  },
107
107
  "bundledDependencies": [
@@ -119,7 +119,7 @@
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  },
122
- "version": "0.0.44",
122
+ "version": "0.0.45",
123
123
  "jest": {
124
124
  "testMatch": [
125
125
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",