@mavogel/awscdk-rootmail 0.0.121 → 0.0.122

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 (52) hide show
  1. package/.jsii +9 -9
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +7 -7
  5. package/node_modules/@aws-sdk/client-route-53/package.json +5 -5
  6. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +2 -1
  7. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +1 -0
  8. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +3 -2
  9. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
  10. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  11. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
  12. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
  14. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +12 -3
  15. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  16. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +3 -0
  17. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  18. package/node_modules/@aws-sdk/client-s3/package.json +10 -10
  19. package/node_modules/@aws-sdk/client-ses/package.json +5 -5
  20. package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
  21. package/node_modules/@aws-sdk/client-sso/package.json +2 -2
  22. package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
  23. package/node_modules/@aws-sdk/client-sts/package.json +4 -4
  24. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +39 -7
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +3 -1
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
  27. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +25 -0
  28. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  29. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
  30. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -0
  31. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  32. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
  33. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +18 -0
  34. package/node_modules/@aws-sdk/core/package.json +2 -1
  35. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  36. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  37. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  38. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  39. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  40. package/node_modules/cdk-nag/.jsii +2 -2
  41. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  42. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  43. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  44. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  45. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  46. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  47. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  48. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  49. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  50. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  51. package/node_modules/cdk-nag/package.json +1 -1
  52. package/package.json +8 -8
package/.jsii CHANGED
@@ -7,14 +7,14 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudwatch-logs": "^3.624.0",
11
- "@aws-sdk/client-route-53": "^3.624.0",
12
- "@aws-sdk/client-s3": "^3.627.0",
13
- "@aws-sdk/client-ses": "^3.624.0",
14
- "@aws-sdk/client-ssm": "^3.628.0",
10
+ "@aws-sdk/client-cloudwatch-logs": "^3.629.0",
11
+ "@aws-sdk/client-route-53": "^3.629.0",
12
+ "@aws-sdk/client-s3": "^3.629.0",
13
+ "@aws-sdk/client-ses": "^3.629.0",
14
+ "@aws-sdk/client-ssm": "^3.629.0",
15
15
  "async-retry": "^1.3.3",
16
16
  "axios": "^1.7.3",
17
- "cdk-nag": "^2.28.177",
17
+ "cdk-nag": "^2.28.178",
18
18
  "mailparser": "^3.7.1",
19
19
  "uuid": "^9.0.1"
20
20
  },
@@ -3503,7 +3503,7 @@
3503
3503
  "stability": "stable"
3504
3504
  },
3505
3505
  "homepage": "https://github.com/MV-Consulting/awscdk-rootmail",
3506
- "jsiiVersion": "5.3.48 (build e731dd5)",
3506
+ "jsiiVersion": "5.3.49 (build aab34a7)",
3507
3507
  "keywords": [
3508
3508
  "aws",
3509
3509
  "cdk",
@@ -3877,6 +3877,6 @@
3877
3877
  "symbolId": "src/ses-receive:SESReceiveProps"
3878
3878
  }
3879
3879
  },
3880
- "version": "0.0.121",
3881
- "fingerprint": "6fSqAac35fzjbKLQ1O22NZpSFon0p6ghBIJDlXr+CNk="
3880
+ "version": "0.0.122",
3881
+ "fingerprint": "YEKZrovkWBSXWR/gDuXthdeFn8Ls43rajEpY7iw3WK0="
3882
3882
  }
package/lib/rootmail.js CHANGED
@@ -74,7 +74,7 @@ class Rootmail extends constructs_1.Construct {
74
74
  }
75
75
  exports.Rootmail = Rootmail;
76
76
  _a = JSII_RTTI_SYMBOL_1;
77
- Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.121" };
77
+ Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.122" };
78
78
  /**
79
79
  * Aspect for setting all removal policies to DESTROY
80
80
  */
@@ -124,7 +124,7 @@ class SESReceive extends constructs_1.Construct {
124
124
  }
125
125
  exports.SESReceive = SESReceive;
126
126
  _a = JSII_RTTI_SYMBOL_1;
127
- SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.121" };
127
+ SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.122" };
128
128
  /**
129
129
  * Aspect for setting all removal policies to DESTROY
130
130
  */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.624.0",
4
+ "version": "3.629.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-cloudwatch-logs",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.624.0",
24
- "@aws-sdk/client-sts": "3.624.0",
25
- "@aws-sdk/core": "3.624.0",
26
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/client-sso-oidc": "3.629.0",
24
+ "@aws-sdk/client-sts": "3.629.0",
25
+ "@aws-sdk/core": "3.629.0",
26
+ "@aws-sdk/credential-provider-node": "3.629.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -35,9 +35,9 @@
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",
37
37
  "@smithy/core": "^2.3.2",
38
- "@smithy/eventstream-serde-browser": "^3.0.5",
38
+ "@smithy/eventstream-serde-browser": "^3.0.6",
39
39
  "@smithy/eventstream-serde-config-resolver": "^3.0.3",
40
- "@smithy/eventstream-serde-node": "^3.0.4",
40
+ "@smithy/eventstream-serde-node": "^3.0.5",
41
41
  "@smithy/fetch-http-handler": "^3.2.4",
42
42
  "@smithy/hash-node": "^3.0.3",
43
43
  "@smithy/invalid-dependency": "^3.0.3",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
3
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
4
- "version": "3.624.0",
4
+ "version": "3.629.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-route-53",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.624.0",
24
- "@aws-sdk/client-sts": "3.624.0",
25
- "@aws-sdk/core": "3.624.0",
26
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/client-sso-oidc": "3.629.0",
24
+ "@aws-sdk/client-sts": "3.629.0",
25
+ "@aws-sdk/core": "3.629.0",
26
+ "@aws-sdk/credential-provider-node": "3.629.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -119,8 +119,9 @@ exports.defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemePro
119
119
  });
120
120
  const resolveHttpAuthSchemeConfig = (config) => {
121
121
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
122
+ const config_1 = (0, core_1.resolveAwsSdkSigV4AConfig)(config_0);
122
123
  return {
123
- ...config_0,
124
+ ...config_1,
124
125
  };
125
126
  };
126
127
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -49,6 +49,7 @@ const getRuntimeConfig = (config) => {
49
49
  }),
50
50
  sha1: config?.sha1 ?? hash_node_1.Hash.bind(null, "sha1"),
51
51
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
52
+ sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_SIGV4A_CONFIG_OPTIONS),
52
53
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
53
54
  streamHasher: config?.streamHasher ?? hash_stream_node_1.readableStreamHasher,
54
55
  useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS),
@@ -1,4 +1,4 @@
1
- import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
1
+ import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
2
  import { signatureV4CrtContainer } from "@aws-sdk/signature-v4-multi-region";
3
3
  import { resolveParams } from "@smithy/middleware-endpoint";
4
4
  import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
@@ -116,7 +116,8 @@ export const defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSche
116
116
  });
117
117
  export const resolveHttpAuthSchemeConfig = (config) => {
118
118
  const config_0 = resolveAwsSdkSigV4Config(config);
119
+ const config_1 = resolveAwsSdkSigV4AConfig(config_0);
119
120
  return {
120
- ...config_0,
121
+ ...config_1,
121
122
  };
122
123
  };
@@ -1,5 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
- import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { NODE_SIGV4A_CONFIG_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
4
  import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
5
5
  import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "@aws-sdk/middleware-sdk-s3";
@@ -45,6 +45,7 @@ export const getRuntimeConfig = (config) => {
45
45
  }),
46
46
  sha1: config?.sha1 ?? Hash.bind(null, "sha1"),
47
47
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
48
+ sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS),
48
49
  streamCollector: config?.streamCollector ?? streamCollector,
49
50
  streamHasher: config?.streamHasher ?? streamHasher,
50
51
  useArnRegion: config?.useArnRegion ?? loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS),
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
2
  import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
3
  import { EndpointParameters } from "../endpoint/EndpointParameters";
4
4
  import { S3ClientResolvedConfig } from "../S3Client";
@@ -35,7 +35,7 @@ export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider;
35
35
  /**
36
36
  * @internal
37
37
  */
38
- export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
38
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
39
39
  /**
40
40
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
41
  * @internal
@@ -50,7 +50,7 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
50
50
  /**
51
51
  * @internal
52
52
  */
53
- export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
54
54
  /**
55
55
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
56
56
  * @internal
@@ -65,5 +65,5 @@ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedCon
65
65
  /**
66
66
  * @internal
67
67
  */
68
- export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
68
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved & AwsSdkSigV4APreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
69
69
  export {};
@@ -50,6 +50,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
50
50
  systemClockOffset?: number | undefined;
51
51
  signingRegion?: string | undefined;
52
52
  signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
53
+ sigv4aSigningRegionSet?: string[] | import("@smithy/types").Provider<string[] | undefined> | undefined;
53
54
  forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
54
55
  useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
55
56
  disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
20
20
  retryMode: string | import("@aws-sdk/types").Provider<string>;
21
21
  sha1: __HashConstructor;
22
22
  sha256: __HashConstructor;
23
+ sigv4aSigningRegionSet: string[] | import("@aws-sdk/types").Provider<string[] | undefined>;
23
24
  streamCollector: import("@aws-sdk/types").StreamCollector;
24
25
  streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
25
26
  useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
@@ -49,6 +49,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
49
49
  systemClockOffset?: number | undefined;
50
50
  signingRegion?: string | undefined;
51
51
  signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
52
+ sigv4aSigningRegionSet?: string[] | import("@smithy/types").Provider<string[] | undefined> | undefined;
52
53
  forcePathStyle?: boolean | undefined;
53
54
  useAccelerateEndpoint?: boolean | undefined;
54
55
  disableMultiregionAccessPoints?: boolean | undefined;
@@ -1,4 +1,7 @@
1
1
  import {
2
+ AwsSdkSigV4AAuthInputConfig,
3
+ AwsSdkSigV4AAuthResolvedConfig,
4
+ AwsSdkSigV4APreviouslyResolved,
2
5
  AwsSdkSigV4AuthInputConfig,
3
6
  AwsSdkSigV4AuthResolvedConfig,
4
7
  AwsSdkSigV4PreviouslyResolved,
@@ -31,16 +34,22 @@ export declare const defaultS3HttpAuthSchemeParametersProvider: S3HttpAuthScheme
31
34
  export interface S3HttpAuthSchemeProvider
32
35
  extends HttpAuthSchemeProvider<S3HttpAuthSchemeParameters> {}
33
36
  export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider;
34
- export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
37
+ export interface HttpAuthSchemeInputConfig
38
+ extends AwsSdkSigV4AuthInputConfig,
39
+ AwsSdkSigV4AAuthInputConfig {
35
40
  httpAuthSchemes?: HttpAuthScheme[];
36
41
  httpAuthSchemeProvider?: S3HttpAuthSchemeProvider;
37
42
  }
38
43
  export interface HttpAuthSchemeResolvedConfig
39
- extends AwsSdkSigV4AuthResolvedConfig {
44
+ extends AwsSdkSigV4AuthResolvedConfig,
45
+ AwsSdkSigV4AAuthResolvedConfig {
40
46
  readonly httpAuthSchemes: HttpAuthScheme[];
41
47
  readonly httpAuthSchemeProvider: S3HttpAuthSchemeProvider;
42
48
  }
43
49
  export declare const resolveHttpAuthSchemeConfig: <T>(
44
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
50
+ config: T &
51
+ HttpAuthSchemeInputConfig &
52
+ AwsSdkSigV4PreviouslyResolved &
53
+ AwsSdkSigV4APreviouslyResolved
45
54
  ) => T & HttpAuthSchemeResolvedConfig;
46
55
  export {};
@@ -95,6 +95,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
95
95
  import("@smithy/signature-v4").SignatureV4CryptoInit
96
96
  ) => import("@smithy/types").RequestSigner)
97
97
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
98
+ sigv4aSigningRegionSet?:
99
+ | string[]
100
+ | import("@smithy/types").Provider<string[] | undefined>
101
+ | undefined;
98
102
  forcePathStyle?:
99
103
  | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
100
104
  | undefined;
@@ -30,6 +30,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
30
30
  retryMode: string | import("@aws-sdk/types").Provider<string>;
31
31
  sha1: __HashConstructor;
32
32
  sha256: __HashConstructor;
33
+ sigv4aSigningRegionSet:
34
+ | string[]
35
+ | import("@aws-sdk/types").Provider<string[] | undefined>;
33
36
  streamCollector: import("@aws-sdk/types").StreamCollector;
34
37
  streamHasher:
35
38
  | import("@aws-sdk/types").StreamHasher<import("stream").Readable>
@@ -89,6 +89,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
89
89
  import("@smithy/signature-v4").SignatureV4CryptoInit
90
90
  ) => import("@smithy/types").RequestSigner)
91
91
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
92
+ sigv4aSigningRegionSet?:
93
+ | string[]
94
+ | import("@smithy/types").Provider<string[] | undefined>
95
+ | undefined;
92
96
  forcePathStyle?: boolean | undefined;
93
97
  useAccelerateEndpoint?: boolean | undefined;
94
98
  disableMultiregionAccessPoints?: boolean | undefined;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.627.0",
4
+ "version": "3.629.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-s3",
@@ -26,10 +26,10 @@
26
26
  "@aws-crypto/sha1-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-browser": "5.2.0",
28
28
  "@aws-crypto/sha256-js": "5.2.0",
29
- "@aws-sdk/client-sso-oidc": "3.624.0",
30
- "@aws-sdk/client-sts": "3.624.0",
31
- "@aws-sdk/core": "3.624.0",
32
- "@aws-sdk/credential-provider-node": "3.624.0",
29
+ "@aws-sdk/client-sso-oidc": "3.629.0",
30
+ "@aws-sdk/client-sts": "3.629.0",
31
+ "@aws-sdk/core": "3.629.0",
32
+ "@aws-sdk/credential-provider-node": "3.629.0",
33
33
  "@aws-sdk/middleware-bucket-endpoint": "3.620.0",
34
34
  "@aws-sdk/middleware-expect-continue": "3.620.0",
35
35
  "@aws-sdk/middleware-flexible-checksums": "3.620.0",
@@ -37,11 +37,11 @@
37
37
  "@aws-sdk/middleware-location-constraint": "3.609.0",
38
38
  "@aws-sdk/middleware-logger": "3.609.0",
39
39
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
40
- "@aws-sdk/middleware-sdk-s3": "3.626.0",
40
+ "@aws-sdk/middleware-sdk-s3": "3.629.0",
41
41
  "@aws-sdk/middleware-ssec": "3.609.0",
42
42
  "@aws-sdk/middleware-user-agent": "3.620.0",
43
43
  "@aws-sdk/region-config-resolver": "3.614.0",
44
- "@aws-sdk/signature-v4-multi-region": "3.626.0",
44
+ "@aws-sdk/signature-v4-multi-region": "3.629.0",
45
45
  "@aws-sdk/types": "3.609.0",
46
46
  "@aws-sdk/util-endpoints": "3.614.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.609.0",
@@ -49,9 +49,9 @@
49
49
  "@aws-sdk/xml-builder": "3.609.0",
50
50
  "@smithy/config-resolver": "^3.0.5",
51
51
  "@smithy/core": "^2.3.2",
52
- "@smithy/eventstream-serde-browser": "^3.0.5",
52
+ "@smithy/eventstream-serde-browser": "^3.0.6",
53
53
  "@smithy/eventstream-serde-config-resolver": "^3.0.3",
54
- "@smithy/eventstream-serde-node": "^3.0.4",
54
+ "@smithy/eventstream-serde-node": "^3.0.5",
55
55
  "@smithy/fetch-http-handler": "^3.2.4",
56
56
  "@smithy/hash-blob-browser": "^3.1.2",
57
57
  "@smithy/hash-node": "^3.0.3",
@@ -83,7 +83,7 @@
83
83
  "tslib": "^2.6.2"
84
84
  },
85
85
  "devDependencies": {
86
- "@aws-sdk/signature-v4-crt": "3.626.0",
86
+ "@aws-sdk/signature-v4-crt": "3.629.0",
87
87
  "@tsconfig/node16": "16.1.3",
88
88
  "@types/chai": "^4.2.11",
89
89
  "@types/mocha": "^8.0.4",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ses",
3
3
  "description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
4
- "version": "3.624.0",
4
+ "version": "3.629.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-ses",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.624.0",
24
- "@aws-sdk/client-sts": "3.624.0",
25
- "@aws-sdk/core": "3.624.0",
26
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/client-sso-oidc": "3.629.0",
24
+ "@aws-sdk/client-sts": "3.629.0",
25
+ "@aws-sdk/core": "3.629.0",
26
+ "@aws-sdk/credential-provider-node": "3.629.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm",
3
3
  "description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
4
- "version": "3.628.0",
4
+ "version": "3.629.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-ssm",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.624.0",
24
- "@aws-sdk/client-sts": "3.624.0",
25
- "@aws-sdk/core": "3.624.0",
26
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/client-sso-oidc": "3.629.0",
24
+ "@aws-sdk/client-sts": "3.629.0",
25
+ "@aws-sdk/core": "3.629.0",
26
+ "@aws-sdk/credential-provider-node": "3.629.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.624.0",
4
+ "version": "3.629.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-sso",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.624.0",
23
+ "@aws-sdk/core": "3.629.0",
24
24
  "@aws-sdk/middleware-host-header": "3.620.0",
25
25
  "@aws-sdk/middleware-logger": "3.609.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.624.0",
4
+ "version": "3.629.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-sso-oidc",
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.624.0",
24
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/core": "3.629.0",
24
+ "@aws-sdk/credential-provider-node": "3.629.0",
25
25
  "@aws-sdk/middleware-host-header": "3.620.0",
26
26
  "@aws-sdk/middleware-logger": "3.609.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "license": "Apache-2.0",
87
87
  "peerDependencies": {
88
- "@aws-sdk/client-sts": "^3.624.0"
88
+ "@aws-sdk/client-sts": "^3.629.0"
89
89
  },
90
90
  "browser": {
91
91
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.624.0",
4
+ "version": "3.629.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-sts",
@@ -22,9 +22,9 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.624.0",
26
- "@aws-sdk/core": "3.624.0",
27
- "@aws-sdk/credential-provider-node": "3.624.0",
25
+ "@aws-sdk/client-sso-oidc": "3.629.0",
26
+ "@aws-sdk/core": "3.629.0",
27
+ "@aws-sdk/credential-provider-node": "3.629.0",
28
28
  "@aws-sdk/middleware-host-header": "3.620.0",
29
29
  "@aws-sdk/middleware-logger": "3.609.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -24,7 +24,9 @@ __export(httpAuthSchemes_exports, {
24
24
  AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
25
25
  AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,
26
26
  AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
27
+ NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,
27
28
  resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,
29
+ resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,
28
30
  resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,
29
31
  validateSigningProperties: () => validateSigningProperties
30
32
  });
@@ -148,7 +150,8 @@ var _AwsSdkSigV4ASigner = class _AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
148
150
  const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(
149
151
  signingProperties
150
152
  );
151
- const multiRegionOverride = ((_a = signingRegionSet == null ? void 0 : signingRegionSet.join) == null ? void 0 : _a.call(signingRegionSet, ",")) ?? signingRegion;
153
+ const configResolvedSigningRegionSet = await ((_a = config.sigv4aSigningRegionSet) == null ? void 0 : _a.call(config));
154
+ const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(",");
152
155
  const signedRequest = await signer.sign(httpRequest, {
153
156
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
154
157
  signingRegion: multiRegionOverride,
@@ -160,17 +163,44 @@ var _AwsSdkSigV4ASigner = class _AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
160
163
  __name(_AwsSdkSigV4ASigner, "AwsSdkSigV4ASigner");
161
164
  var AwsSdkSigV4ASigner = _AwsSdkSigV4ASigner;
162
165
 
163
- // src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts
166
+ // src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts
164
167
  var import_core = require("@smithy/core");
168
+ var import_property_provider = require("@smithy/property-provider");
169
+ var resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {
170
+ config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);
171
+ return config;
172
+ }, "resolveAwsSdkSigV4AConfig");
173
+ var NODE_SIGV4A_CONFIG_OPTIONS = {
174
+ environmentVariableSelector(env) {
175
+ if (env.AWS_SIGV4A_SIGNING_REGION_SET) {
176
+ return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim());
177
+ }
178
+ throw new import_property_provider.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", {
179
+ tryNextLink: true
180
+ });
181
+ },
182
+ configFileSelector(profile) {
183
+ if (profile.sigv4a_signing_region_set) {
184
+ return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim());
185
+ }
186
+ throw new import_property_provider.ProviderError("sigv4a_signing_region_set not set in profile.", {
187
+ tryNextLink: true
188
+ });
189
+ },
190
+ default: void 0
191
+ };
192
+
193
+ // src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts
194
+ var import_core2 = require("@smithy/core");
165
195
  var import_signature_v4 = require("@smithy/signature-v4");
166
196
  var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
167
197
  let normalizedCreds;
168
198
  if (config.credentials) {
169
- normalizedCreds = (0, import_core.memoizeIdentityProvider)(config.credentials, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
199
+ normalizedCreds = (0, import_core2.memoizeIdentityProvider)(config.credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh);
170
200
  }
171
201
  if (!normalizedCreds) {
172
202
  if (config.credentialDefaultProvider) {
173
- normalizedCreds = (0, import_core.normalizeProvider)(
203
+ normalizedCreds = (0, import_core2.normalizeProvider)(
174
204
  config.credentialDefaultProvider(
175
205
  Object.assign({}, config, {
176
206
  parentClientConfig: config
@@ -193,9 +223,9 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
193
223
  } = config;
194
224
  let signer;
195
225
  if (config.signer) {
196
- signer = (0, import_core.normalizeProvider)(config.signer);
226
+ signer = (0, import_core2.normalizeProvider)(config.signer);
197
227
  } else if (config.regionInfoProvider) {
198
- signer = /* @__PURE__ */ __name(() => (0, import_core.normalizeProvider)(config.region)().then(
228
+ signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then(
199
229
  async (region) => [
200
230
  await config.regionInfoProvider(region, {
201
231
  useFipsEndpoint: await config.useFipsEndpoint(),
@@ -225,7 +255,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
225
255
  {
226
256
  name: "sigv4",
227
257
  signingName: config.signingName || config.defaultSigningName,
228
- signingRegion: await (0, import_core.normalizeProvider)(config.region)(),
258
+ signingRegion: await (0, import_core2.normalizeProvider)(config.region)(),
229
259
  properties: {}
230
260
  },
231
261
  authScheme
@@ -260,7 +290,9 @@ var resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
260
290
  AWSSDKSigV4Signer,
261
291
  AwsSdkSigV4ASigner,
262
292
  AwsSdkSigV4Signer,
293
+ NODE_SIGV4A_CONFIG_OPTIONS,
263
294
  resolveAWSSDKSigV4Config,
295
+ resolveAwsSdkSigV4AConfig,
264
296
  resolveAwsSdkSigV4Config,
265
297
  validateSigningProperties
266
298
  });
@@ -7,7 +7,9 @@ export class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
7
7
  throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
8
8
  }
9
9
  const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties);
10
- const multiRegionOverride = signingRegionSet?.join?.(",") ?? signingRegion;
10
+ const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
11
+ const multiRegionOverride = (configResolvedSigningRegionSet ??
12
+ signingRegionSet ?? [signingRegion]).join(",");
11
13
  const signedRequest = await signer.sign(httpRequest, {
12
14
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
13
15
  signingRegion: multiRegionOverride,
@@ -1,3 +1,4 @@
1
1
  export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer";
2
2
  export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
3
+ export * from "./resolveAwsSdkSigV4AConfig";
3
4
  export * from "./resolveAwsSdkSigV4Config";
@@ -0,0 +1,25 @@
1
+ import { normalizeProvider } from "@smithy/core";
2
+ import { ProviderError } from "@smithy/property-provider";
3
+ export const resolveAwsSdkSigV4AConfig = (config) => {
4
+ config.sigv4aSigningRegionSet = normalizeProvider(config.sigv4aSigningRegionSet);
5
+ return config;
6
+ };
7
+ export const NODE_SIGV4A_CONFIG_OPTIONS = {
8
+ environmentVariableSelector(env) {
9
+ if (env.AWS_SIGV4A_SIGNING_REGION_SET) {
10
+ return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim());
11
+ }
12
+ throw new ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", {
13
+ tryNextLink: true,
14
+ });
15
+ },
16
+ configFileSelector(profile) {
17
+ if (profile.sigv4a_signing_region_set) {
18
+ return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim());
19
+ }
20
+ throw new ProviderError("sigv4a_signing_region_set not set in profile.", {
21
+ tryNextLink: true,
22
+ });
23
+ },
24
+ default: undefined,
25
+ };