@cdk8s/awscdk-resolver 0.0.704 → 0.0.706

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 CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.1146.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1148.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4083,6 +4083,6 @@
4083
4083
  "symbolId": "src/resolve:AwsCdkResolver"
4084
4084
  }
4085
4085
  },
4086
- "version": "0.0.704",
4087
- "fingerprint": "FlTfiZmmx1jnOz100uU1b3otxFIMCcJ/ZThdHhMeD6w="
4086
+ "version": "0.0.706",
4087
+ "fingerprint": "kZIJmQsWO5NHDrQmpCteXDfLyt8yTelKGZ+zc+TwF+s="
4088
4088
  }
package/lib/resolve.js CHANGED
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
39
39
  const path = __importStar(require("path"));
40
40
  const aws_cdk_lib_1 = require("aws-cdk-lib");
41
41
  class AwsCdkResolver {
42
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.704" };
42
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.706" };
43
43
  resolve(context) {
44
44
  if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
45
45
  return;
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1145.0";
72
+ var version = "3.1147.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -805,6 +805,7 @@ const _Exp = "Exports";
805
805
  const _F = "Filters";
806
806
  const _FE = "FailedEvents";
807
807
  const _FM = "FailureMode";
808
+ const _FR = "ForceRollback";
808
809
  const _FSIC = "FailedStackInstancesCount";
809
810
  const _FTC = "FailureToleranceCount";
810
811
  const _FTP = "FailureTolerancePercentage";
@@ -1591,8 +1592,8 @@ var ChangeSetSummary$ = [3, n0, _CSS,
1591
1592
  ];
1592
1593
  var ContinueUpdateRollbackInput$ = [3, n0, _CURI,
1593
1594
  0,
1594
- [_SN, _RARN, _RTS, _CRT],
1595
- [0, 0, 64 | 0, 0], 1
1595
+ [_SN, _RARN, _RTS, _CRT, _FR],
1596
+ [0, 0, 64 | 0, 0, 2], 1
1596
1597
  ];
1597
1598
  var ContinueUpdateRollbackOutput$ = [3, n0, _CURO,
1598
1599
  0,
@@ -255,6 +255,7 @@ const _Exp = "Exports";
255
255
  const _F = "Filters";
256
256
  const _FE = "FailedEvents";
257
257
  const _FM = "FailureMode";
258
+ const _FR = "ForceRollback";
258
259
  const _FSIC = "FailedStackInstancesCount";
259
260
  const _FTC = "FailureToleranceCount";
260
261
  const _FTP = "FailureTolerancePercentage";
@@ -1044,8 +1045,8 @@ export var ChangeSetSummary$ = [3, n0, _CSS,
1044
1045
  ];
1045
1046
  export var ContinueUpdateRollbackInput$ = [3, n0, _CURI,
1046
1047
  0,
1047
- [_SN, _RARN, _RTS, _CRT],
1048
- [0, 0, 64 | 0, 0], 1
1048
+ [_SN, _RARN, _RTS, _CRT, _FR],
1049
+ [0, 0, 64 | 0, 0, 2], 1
1049
1050
  ];
1050
1051
  export var ContinueUpdateRollbackOutput$ = [3, n0, _CURO,
1051
1052
  0,
@@ -36,6 +36,9 @@ declare const ContinueUpdateRollbackCommand_base: {
36
36
  * attempts to roll back to it, causing the update rollback to fail.</p>
37
37
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html">Continue rolling back an update</a> in the <i>CloudFormation User Guide</i>. For
38
38
  * information for troubleshooting a failed update rollback, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed">Update rollback failed</a>.</p>
39
+ * <p>
40
+ * <code>ForceRollback</code> and <code>ResourcesToSkip</code> are mutually exclusive.
41
+ * For details, see <a>ContinueUpdateRollbackInput$ForceRollback</a>.</p>
39
42
  * @example
40
43
  * Use a bare-bones client and the command you need to make an API call.
41
44
  * ```javascript
@@ -51,6 +54,7 @@ declare const ContinueUpdateRollbackCommand_base: {
51
54
  * "STRING_VALUE",
52
55
  * ],
53
56
  * ClientRequestToken: "STRING_VALUE",
57
+ * ForceRollback: true || false,
54
58
  * };
55
59
  * const command = new ContinueUpdateRollbackCommand(input);
56
60
  * const response = await client.send(command);
@@ -1206,6 +1206,28 @@ export interface ContinueUpdateRollbackInput {
1206
1206
  * @public
1207
1207
  */
1208
1208
  ClientRequestToken?: string | undefined;
1209
+ /**
1210
+ * <p>Specifies whether CloudFormation forces the rollback to continue by skipping resources
1211
+ * currently in the <code>UPDATE_FAILED</code> state. Use this instead of listing each resource
1212
+ * individually in <code>ResourcesToSkip</code>. Only resources that entered the
1213
+ * <code>UPDATE_FAILED</code> state because a rollback failed are skipped. If you don't specify
1214
+ * a value, the default is <code>false</code> and CloudFormation doesn't skip any resources.</p>
1215
+ * <p>
1216
+ * <code>ForceRollback</code> and <code>ResourcesToSkip</code> are mutually exclusive.
1217
+ * Specifying both in the same request returns a validation error.</p>
1218
+ * <important>
1219
+ * <p>We recommend that you <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed">troubleshoot</a> resources before skipping them. CloudFormation sets the status of the
1220
+ * skipped resources to <code>UPDATE_COMPLETE</code> and continues to roll back the stack,
1221
+ * including resources in nested stacks. After the rollback completes, the skipped resources no
1222
+ * longer match the resources in the stack template. Before performing another stack update,
1223
+ * you must update the stack or resources to be consistent with each other. If you don't,
1224
+ * subsequent stack updates might fail, and the stack will become unrecoverable.</p>
1225
+ * <p>Drift detection reports skipped resources as <code>NOT_CHECKED</code>. For guidance,
1226
+ * see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html">Continue rolling back an update</a> in the <i>CloudFormation User Guide</i>.</p>
1227
+ * </important>
1228
+ * @public
1229
+ */
1230
+ ForceRollback?: boolean | undefined;
1209
1231
  }
1210
1232
  /**
1211
1233
  * <p>The output for a <a>ContinueUpdateRollback</a> operation.</p>
@@ -8665,9 +8687,11 @@ export interface StackResourceDriftInformationSummary {
8665
8687
  * expected configuration.</p>
8666
8688
  * <p>Any resources that don't currently support drift detection have a status of
8667
8689
  * <code>NOT_CHECKED</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html">Resource
8668
- * type support for imports and drift detection</a>. If you performed an <a>ContinueUpdateRollback</a> operation on a stack, any resources included in
8669
- * <code>ResourcesToSkip</code> will also have a status of <code>NOT_CHECKED</code>. For more
8670
- * information about skipping resources during rollback operations, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html">Continue rolling back an update</a> in the <i>CloudFormation User Guide</i>.</p>
8690
+ * type support for imports and drift detection</a>. If you performed a <a>ContinueUpdateRollback</a> operation on a stack, resources skipped using
8691
+ * <code>ResourcesToSkip</code> or <code>ForceRollback</code> also have a status of
8692
+ * <code>NOT_CHECKED</code>. To detect whether a skipped resource actually differs from the
8693
+ * template, run <a>DetectStackResourceDrift</a>. For more information about
8694
+ * skipping resources during rollback operations, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html">Continue rolling back an update</a> in the <i>CloudFormation User Guide</i>.</p>
8671
8695
  * </li>
8672
8696
  * <li>
8673
8697
  * <p>
@@ -251,6 +251,7 @@ export interface ContinueUpdateRollbackInput {
251
251
  RoleARN?: string | undefined;
252
252
  ResourcesToSkip?: string[] | undefined;
253
253
  ClientRequestToken?: string | undefined;
254
+ ForceRollback?: boolean | undefined;
254
255
  }
255
256
  export interface ContinueUpdateRollbackOutput {}
256
257
  export interface DeploymentConfig {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
- "version": "3.1146.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudformation",
6
6
  "license": "Apache-2.0",
@@ -307,7 +307,8 @@ class EndpointCache {
307
307
  return false;
308
308
  }
309
309
  for (const param of parameters) {
310
- const val = String(endpointParams[param] ?? "");
310
+ const raw = endpointParams[param];
311
+ const val = raw == null ? "\0" : String(raw);
311
312
  if (val.includes("|;")) {
312
313
  return false;
313
314
  }
@@ -355,7 +355,8 @@ class EndpointCache {
355
355
  return false;
356
356
  }
357
357
  for (const param of parameters) {
358
- const val = String(endpointParams[param] ?? "");
358
+ const raw = endpointParams[param];
359
+ const val = raw == null ? "\0" : String(raw);
359
360
  if (val.includes("|;")) {
360
361
  return false;
361
362
  }
@@ -39,7 +39,8 @@ export class EndpointCache {
39
39
  return false;
40
40
  }
41
41
  for (const param of parameters) {
42
- const val = String(endpointParams[param] ?? "");
42
+ const raw = endpointParams[param];
43
+ const val = raw == null ? "\0" : String(raw);
43
44
  if (val.includes("|;")) {
44
45
  return false;
45
46
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.35.1",
3
+ "version": "3.35.2",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/package.json CHANGED
@@ -43,17 +43,17 @@
43
43
  "organization": false
44
44
  },
45
45
  "devDependencies": {
46
- "@cdk8s/projen-common": "0.1.34",
46
+ "@cdk8s/projen-common": "0.1.35",
47
47
  "@stylistic/eslint-plugin": "^2",
48
48
  "@types/fs-extra": "^11.0.4",
49
49
  "@types/jest": "^27",
50
50
  "@types/node": "^18",
51
51
  "@typescript-eslint/eslint-plugin": "^8",
52
52
  "@typescript-eslint/parser": "^8",
53
- "aws-cdk": "^2.1144.0",
53
+ "aws-cdk": "^2.1145.0",
54
54
  "aws-cdk-lib": "2.195.0",
55
55
  "cdk8s": "2.68.91",
56
- "cdk8s-cli": "^2.207.63",
56
+ "cdk8s-cli": "^2.207.64",
57
57
  "commit-and-tag-version": "^13",
58
58
  "constructs": "10.3.0",
59
59
  "eslint": "^9",
@@ -67,7 +67,7 @@
67
67
  "jsii-docgen": "^10.5.0",
68
68
  "jsii-pacmak": "^1.141.0",
69
69
  "jsii-rosetta": "^5",
70
- "projen": "^0.103.27",
70
+ "projen": "^0.104.2",
71
71
  "ts-jest": "^27",
72
72
  "ts-node": "^10.9.2",
73
73
  "typescript": "^5.9.3"
@@ -78,7 +78,7 @@
78
78
  "constructs": "^10.3.0"
79
79
  },
80
80
  "dependencies": {
81
- "@aws-sdk/client-cloudformation": "^3.1146.0"
81
+ "@aws-sdk/client-cloudformation": "^3.1148.0"
82
82
  },
83
83
  "bundledDependencies": [
84
84
  "@aws-sdk/client-cloudformation"
@@ -92,7 +92,7 @@
92
92
  "publishConfig": {
93
93
  "access": "public"
94
94
  },
95
- "version": "0.0.704",
95
+ "version": "0.0.706",
96
96
  "jest": {
97
97
  "coverageProvider": "v8",
98
98
  "testMatch": [