aws-cdk 2.1143.0 → 2.1144.0
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/README.md +10 -0
- package/THIRD_PARTY_LICENSES +22 -22
- package/build-info.json +2 -2
- package/db.json.gz +0 -0
- package/lib/api-private-error.d.ts +1 -0
- package/lib/api-private-error.js +9 -0
- package/lib/cli/cli.js +6 -5
- package/lib/cli/io-host/cli-io-host.d.ts +21 -2
- package/lib/cli/io-host/cli-io-host.js +9 -8
- package/lib/cli/proxy-agent.d.ts +55 -4
- package/lib/cli/proxy-agent.js +71 -33
- package/lib/cli/telemetry/post-telemetry.d.ts +31 -0
- package/lib/cli/telemetry/post-telemetry.js +76 -0
- package/lib/cli/telemetry/sender-bundle.d.ts +1 -0
- package/lib/cli/telemetry/sender-bundle.js +32542 -0
- package/lib/cli/telemetry/sender.d.ts +50 -0
- package/lib/cli/telemetry/sender.js +103 -0
- package/lib/cli/telemetry/sink/subprocess-sink.d.ts +77 -0
- package/lib/cli/telemetry/sink/subprocess-sink.js +209 -0
- package/lib/index.js +2801 -2364
- package/lib/index_bg.wasm +0 -0
- package/lib/init-templates/.init-version.json +1 -1
- package/package.json +9 -9
- package/lib/cli/telemetry/sink/endpoint-sink.d.ts +0 -44
- package/lib/cli/telemetry/sink/endpoint-sink.js +0 -108
package/README.md
CHANGED
|
@@ -1564,6 +1564,11 @@ that can be set in many different ways (such as `~/.cdk.json`).
|
|
|
1564
1564
|
$ # Check the current status of telemetry
|
|
1565
1565
|
$ cdk cli-telemetry --status
|
|
1566
1566
|
```
|
|
1567
|
+
|
|
1568
|
+
Telemetry is delivered by a short-lived background process, so the CLI exits without waiting for the
|
|
1569
|
+
network. That also means nothing is reported in the CLI's own output if delivery fails; set
|
|
1570
|
+
[`CDK_TELEMETRY_SENDER_DEBUG=1`](#environment) to see it.
|
|
1571
|
+
|
|
1567
1572
|
### `cdk flags`
|
|
1568
1573
|
|
|
1569
1574
|
View and modify your feature flag configurations.
|
|
@@ -1931,9 +1936,14 @@ in `build` will be executed by the "watch" process before deployment.
|
|
|
1931
1936
|
The following environment variables affect aws-cdk:
|
|
1932
1937
|
|
|
1933
1938
|
- `COLUMNS`: When the CLI cannot detect the terminal width (for example, when output is piped or running in CI), this standard variable is used as the rendering width for `cdk diff` tables. If unset, tables render at their natural width.
|
|
1939
|
+
- `CDK_DISABLE_CLI_TELEMETRY`: If set to `true`, disable CLI telemetry collection (see [`cdk cli-telemetry`](#cdk-cli-telemetry)).
|
|
1934
1940
|
- `CDK_DISABLE_VERSION_CHECK`: If set, disable automatic check for newer versions.
|
|
1935
1941
|
- `CDK_NEW_BOOTSTRAP`: use the modern bootstrapping stack.
|
|
1936
1942
|
- `CDK_ROLE_SESSION_NAME`: customize the session name used when the CLI assumes a role (for example `cdk-hnb659fds-deploy-role`). When unset, the CLI defaults to `aws-cdk-<username>`. Useful for attributing deployments in CloudTrail when running from a CI/CD pipeline.
|
|
1943
|
+
- `CDK_TELEMETRY_SENDER_DEBUG`: If set to `1`, print diagnostics from telemetry delivery. Telemetry is
|
|
1944
|
+
sent by a short-lived background process that the CLI does not wait for, so its output is normally
|
|
1945
|
+
discarded; setting this passes it through to stderr. Only useful when investigating why telemetry is
|
|
1946
|
+
not arriving.
|
|
1937
1947
|
|
|
1938
1948
|
### Region resolution
|
|
1939
1949
|
|
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -4326,7 +4326,7 @@ The aws-cdk package includes the following third-party software/licensing:
|
|
|
4326
4326
|
|
|
4327
4327
|
----------------
|
|
4328
4328
|
|
|
4329
|
-
** @aws-sdk/core@3.978.
|
|
4329
|
+
** @aws-sdk/core@3.978.1 - https://www.npmjs.com/package/@aws-sdk/core/v/3.978.1 | Apache-2.0
|
|
4330
4330
|
Apache License
|
|
4331
4331
|
Version 2.0, January 2004
|
|
4332
4332
|
http://www.apache.org/licenses/
|
|
@@ -4531,7 +4531,7 @@ Apache License
|
|
|
4531
4531
|
|
|
4532
4532
|
----------------
|
|
4533
4533
|
|
|
4534
|
-
** @aws-sdk/credential-provider-cognito-identity@3.972.
|
|
4534
|
+
** @aws-sdk/credential-provider-cognito-identity@3.972.71 - https://www.npmjs.com/package/@aws-sdk/credential-provider-cognito-identity/v/3.972.71 | Apache-2.0
|
|
4535
4535
|
Apache License
|
|
4536
4536
|
Version 2.0, January 2004
|
|
4537
4537
|
http://www.apache.org/licenses/
|
|
@@ -4737,7 +4737,7 @@ Apache License
|
|
|
4737
4737
|
|
|
4738
4738
|
----------------
|
|
4739
4739
|
|
|
4740
|
-
** @aws-sdk/credential-provider-env@3.972.
|
|
4740
|
+
** @aws-sdk/credential-provider-env@3.972.72 - https://www.npmjs.com/package/@aws-sdk/credential-provider-env/v/3.972.72 | Apache-2.0
|
|
4741
4741
|
Apache License
|
|
4742
4742
|
Version 2.0, January 2004
|
|
4743
4743
|
http://www.apache.org/licenses/
|
|
@@ -4942,11 +4942,11 @@ Apache License
|
|
|
4942
4942
|
|
|
4943
4943
|
----------------
|
|
4944
4944
|
|
|
4945
|
-
** @aws-sdk/credential-provider-http@3.972.
|
|
4945
|
+
** @aws-sdk/credential-provider-http@3.972.74 - https://www.npmjs.com/package/@aws-sdk/credential-provider-http/v/3.972.74 | Apache-2.0
|
|
4946
4946
|
|
|
4947
4947
|
----------------
|
|
4948
4948
|
|
|
4949
|
-
** @aws-sdk/credential-provider-ini@3.973.
|
|
4949
|
+
** @aws-sdk/credential-provider-ini@3.973.17 - https://www.npmjs.com/package/@aws-sdk/credential-provider-ini/v/3.973.17 | Apache-2.0
|
|
4950
4950
|
Apache License
|
|
4951
4951
|
Version 2.0, January 2004
|
|
4952
4952
|
http://www.apache.org/licenses/
|
|
@@ -5151,11 +5151,11 @@ Apache License
|
|
|
5151
5151
|
|
|
5152
5152
|
----------------
|
|
5153
5153
|
|
|
5154
|
-
** @aws-sdk/credential-provider-login@3.972.
|
|
5154
|
+
** @aws-sdk/credential-provider-login@3.972.79 - https://www.npmjs.com/package/@aws-sdk/credential-provider-login/v/3.972.79 | Apache-2.0
|
|
5155
5155
|
|
|
5156
5156
|
----------------
|
|
5157
5157
|
|
|
5158
|
-
** @aws-sdk/credential-provider-node@3.972.
|
|
5158
|
+
** @aws-sdk/credential-provider-node@3.972.84 - https://www.npmjs.com/package/@aws-sdk/credential-provider-node/v/3.972.84 | Apache-2.0
|
|
5159
5159
|
Apache License
|
|
5160
5160
|
Version 2.0, January 2004
|
|
5161
5161
|
http://www.apache.org/licenses/
|
|
@@ -5360,7 +5360,7 @@ Apache License
|
|
|
5360
5360
|
|
|
5361
5361
|
----------------
|
|
5362
5362
|
|
|
5363
|
-
** @aws-sdk/credential-provider-process@3.972.
|
|
5363
|
+
** @aws-sdk/credential-provider-process@3.972.72 - https://www.npmjs.com/package/@aws-sdk/credential-provider-process/v/3.972.72 | Apache-2.0
|
|
5364
5364
|
Apache License
|
|
5365
5365
|
Version 2.0, January 2004
|
|
5366
5366
|
http://www.apache.org/licenses/
|
|
@@ -5565,7 +5565,7 @@ Apache License
|
|
|
5565
5565
|
|
|
5566
5566
|
----------------
|
|
5567
5567
|
|
|
5568
|
-
** @aws-sdk/credential-provider-sso@3.973.
|
|
5568
|
+
** @aws-sdk/credential-provider-sso@3.973.16 - https://www.npmjs.com/package/@aws-sdk/credential-provider-sso/v/3.973.16 | Apache-2.0
|
|
5569
5569
|
Apache License
|
|
5570
5570
|
Version 2.0, January 2004
|
|
5571
5571
|
http://www.apache.org/licenses/
|
|
@@ -5770,7 +5770,7 @@ Apache License
|
|
|
5770
5770
|
|
|
5771
5771
|
----------------
|
|
5772
5772
|
|
|
5773
|
-
** @aws-sdk/credential-provider-web-identity@3.972.
|
|
5773
|
+
** @aws-sdk/credential-provider-web-identity@3.972.78 - https://www.npmjs.com/package/@aws-sdk/credential-provider-web-identity/v/3.972.78 | Apache-2.0
|
|
5774
5774
|
Apache License
|
|
5775
5775
|
Version 2.0, January 2004
|
|
5776
5776
|
http://www.apache.org/licenses/
|
|
@@ -5975,7 +5975,7 @@ Apache License
|
|
|
5975
5975
|
|
|
5976
5976
|
----------------
|
|
5977
5977
|
|
|
5978
|
-
** @aws-sdk/credential-providers@3.
|
|
5978
|
+
** @aws-sdk/credential-providers@3.1140.0 - https://www.npmjs.com/package/@aws-sdk/credential-providers/v/3.1140.0 | Apache-2.0
|
|
5979
5979
|
Apache License
|
|
5980
5980
|
Version 2.0, January 2004
|
|
5981
5981
|
http://www.apache.org/licenses/
|
|
@@ -7207,11 +7207,11 @@ Apache License
|
|
|
7207
7207
|
|
|
7208
7208
|
----------------
|
|
7209
7209
|
|
|
7210
|
-
** @aws-sdk/nested-clients@3.997.
|
|
7210
|
+
** @aws-sdk/nested-clients@3.997.46 - https://www.npmjs.com/package/@aws-sdk/nested-clients/v/3.997.46 | Apache-2.0
|
|
7211
7211
|
|
|
7212
7212
|
----------------
|
|
7213
7213
|
|
|
7214
|
-
** @aws-sdk/signature-v4-multi-region@3.996.
|
|
7214
|
+
** @aws-sdk/signature-v4-multi-region@3.996.47 - https://www.npmjs.com/package/@aws-sdk/signature-v4-multi-region/v/3.996.47 | Apache-2.0
|
|
7215
7215
|
Apache License
|
|
7216
7216
|
Version 2.0, January 2004
|
|
7217
7217
|
http://www.apache.org/licenses/
|
|
@@ -7417,7 +7417,7 @@ Apache License
|
|
|
7417
7417
|
|
|
7418
7418
|
----------------
|
|
7419
7419
|
|
|
7420
|
-
** @aws-sdk/token-providers@3.
|
|
7420
|
+
** @aws-sdk/token-providers@3.1138.0 - https://www.npmjs.com/package/@aws-sdk/token-providers/v/3.1138.0 | Apache-2.0
|
|
7421
7421
|
Apache License
|
|
7422
7422
|
Version 2.0, January 2004
|
|
7423
7423
|
http://www.apache.org/licenses/
|
|
@@ -7622,7 +7622,7 @@ Apache License
|
|
|
7622
7622
|
|
|
7623
7623
|
----------------
|
|
7624
7624
|
|
|
7625
|
-
** @aws-sdk/xml-builder@3.972.
|
|
7625
|
+
** @aws-sdk/xml-builder@3.972.41 - https://www.npmjs.com/package/@aws-sdk/xml-builder/v/3.972.41 | Apache-2.0
|
|
7626
7626
|
Apache License
|
|
7627
7627
|
Version 2.0, January 2004
|
|
7628
7628
|
http://www.apache.org/licenses/
|
|
@@ -8361,7 +8361,7 @@ Apache License
|
|
|
8361
8361
|
|
|
8362
8362
|
----------------
|
|
8363
8363
|
|
|
8364
|
-
** @smithy/core@3.
|
|
8364
|
+
** @smithy/core@3.35.0 - https://www.npmjs.com/package/@smithy/core/v/3.35.0 | Apache-2.0
|
|
8365
8365
|
Apache License
|
|
8366
8366
|
Version 2.0, January 2004
|
|
8367
8367
|
http://www.apache.org/licenses/
|
|
@@ -8567,7 +8567,7 @@ Apache License
|
|
|
8567
8567
|
|
|
8568
8568
|
----------------
|
|
8569
8569
|
|
|
8570
|
-
** @smithy/credential-provider-imds@4.
|
|
8570
|
+
** @smithy/credential-provider-imds@4.5.2 - https://www.npmjs.com/package/@smithy/credential-provider-imds/v/4.5.2 | Apache-2.0
|
|
8571
8571
|
Apache License
|
|
8572
8572
|
Version 2.0, January 2004
|
|
8573
8573
|
http://www.apache.org/licenses/
|
|
@@ -9182,7 +9182,7 @@ Apache License
|
|
|
9182
9182
|
|
|
9183
9183
|
----------------
|
|
9184
9184
|
|
|
9185
|
-
** @smithy/node-http-handler@4.
|
|
9185
|
+
** @smithy/node-http-handler@4.12.1 - https://www.npmjs.com/package/@smithy/node-http-handler/v/4.12.1 | Apache-2.0
|
|
9186
9186
|
Apache License
|
|
9187
9187
|
Version 2.0, January 2004
|
|
9188
9188
|
http://www.apache.org/licenses/
|
|
@@ -9797,7 +9797,7 @@ Apache License
|
|
|
9797
9797
|
|
|
9798
9798
|
----------------
|
|
9799
9799
|
|
|
9800
|
-
** @smithy/signature-v4@5.
|
|
9800
|
+
** @smithy/signature-v4@5.7.3 - https://www.npmjs.com/package/@smithy/signature-v4/v/5.7.3 | Apache-2.0
|
|
9801
9801
|
Apache License
|
|
9802
9802
|
Version 2.0, January 2004
|
|
9803
9803
|
http://www.apache.org/licenses/
|
|
@@ -10208,7 +10208,7 @@ Apache License
|
|
|
10208
10208
|
|
|
10209
10209
|
----------------
|
|
10210
10210
|
|
|
10211
|
-
** @smithy/types@4.
|
|
10211
|
+
** @smithy/types@4.19.0 - https://www.npmjs.com/package/@smithy/types/v/4.19.0 | Apache-2.0
|
|
10212
10212
|
Apache License
|
|
10213
10213
|
Version 2.0, January 2004
|
|
10214
10214
|
http://www.apache.org/licenses/
|
|
@@ -10936,7 +10936,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
10936
10936
|
|
|
10937
10937
|
----------------
|
|
10938
10938
|
|
|
10939
|
-
** cdk-from-cfn@0.
|
|
10939
|
+
** cdk-from-cfn@0.334.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.334.0 | MIT OR Apache-2.0
|
|
10940
10940
|
|
|
10941
10941
|
----------------
|
|
10942
10942
|
|
|
@@ -11604,7 +11604,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
11604
11604
|
|
|
11605
11605
|
----------------
|
|
11606
11606
|
|
|
11607
|
-
** ip-address@10.
|
|
11607
|
+
** ip-address@10.7.2 - https://www.npmjs.com/package/ip-address/v/10.7.2 | MIT
|
|
11608
11608
|
Copyright (C) 2011 by Beau Gunderson
|
|
11609
11609
|
|
|
11610
11610
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
package/build-info.json
CHANGED
package/db.json.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ToolkitError } from '../../@aws-cdk/toolkit-lib/lib/toolkit/toolkit-error';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToolkitError = void 0;
|
|
4
|
+
/* eslint-disable import/no-relative-packages */
|
|
5
|
+
// Mimics `api-private.ts`, but intentionally smaller: it exports only `ToolkitError`, so the detached
|
|
6
|
+
// telemetry sender's bundle does not pull in the whole toolkit.
|
|
7
|
+
var toolkit_error_1 = require("../../@aws-cdk/toolkit-lib/lib/toolkit/toolkit-error");
|
|
8
|
+
Object.defineProperty(exports, "ToolkitError", { enumerable: true, get: function () { return toolkit_error_1.ToolkitError; } });
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLXByaXZhdGUtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcGktcHJpdmF0ZS1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxnREFBZ0Q7QUFDaEQsc0dBQXNHO0FBQ3RHLGdFQUFnRTtBQUNoRSxzRkFBb0Y7QUFBM0UsNkdBQUEsWUFBWSxPQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgaW1wb3J0L25vLXJlbGF0aXZlLXBhY2thZ2VzICovXG4vLyBNaW1pY3MgYGFwaS1wcml2YXRlLnRzYCwgYnV0IGludGVudGlvbmFsbHkgc21hbGxlcjogaXQgZXhwb3J0cyBvbmx5IGBUb29sa2l0RXJyb3JgLCBzbyB0aGUgZGV0YWNoZWRcbi8vIHRlbGVtZXRyeSBzZW5kZXIncyBidW5kbGUgZG9lcyBub3QgcHVsbCBpbiB0aGUgd2hvbGUgdG9vbGtpdC5cbmV4cG9ydCB7IFRvb2xraXRFcnJvciB9IGZyb20gJy4uLy4uL0Bhd3MtY2RrL3Rvb2xraXQtbGliL2xpYi90b29sa2l0L3Rvb2xraXQtZXJyb3InO1xuIl19
|