@aws-sdk/client-cloudformation 3.378.0 → 3.380.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/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +15 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_query.js +15 -0
- package/dist-types/commands/CreateStackCommand.d.ts +1 -0
- package/dist-types/commands/DescribeStacksCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteChangeSetCommand.d.ts +1 -0
- package/dist-types/commands/RollbackStackCommand.d.ts +1 -0
- package/dist-types/commands/UpdateStackCommand.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +49 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +6 -6
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -3645,6 +3645,9 @@ const se_CreateStackInput = (input, context) => {
|
|
|
3645
3645
|
if (input.EnableTerminationProtection != null) {
|
|
3646
3646
|
entries["EnableTerminationProtection"] = input.EnableTerminationProtection;
|
|
3647
3647
|
}
|
|
3648
|
+
if (input.RetainExceptOnCreate != null) {
|
|
3649
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
3650
|
+
}
|
|
3648
3651
|
return entries;
|
|
3649
3652
|
};
|
|
3650
3653
|
const se_CreateStackInstancesInput = (input, context) => {
|
|
@@ -4222,6 +4225,9 @@ const se_ExecuteChangeSetInput = (input, context) => {
|
|
|
4222
4225
|
if (input.DisableRollback != null) {
|
|
4223
4226
|
entries["DisableRollback"] = input.DisableRollback;
|
|
4224
4227
|
}
|
|
4228
|
+
if (input.RetainExceptOnCreate != null) {
|
|
4229
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
4230
|
+
}
|
|
4225
4231
|
return entries;
|
|
4226
4232
|
};
|
|
4227
4233
|
const se_GetStackPolicyInput = (input, context) => {
|
|
@@ -4880,6 +4886,9 @@ const se_RollbackStackInput = (input, context) => {
|
|
|
4880
4886
|
if (input.ClientRequestToken != null) {
|
|
4881
4887
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4882
4888
|
}
|
|
4889
|
+
if (input.RetainExceptOnCreate != null) {
|
|
4890
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
4891
|
+
}
|
|
4883
4892
|
return entries;
|
|
4884
4893
|
};
|
|
4885
4894
|
const se_RollbackTrigger = (input, context) => {
|
|
@@ -5264,6 +5273,9 @@ const se_UpdateStackInput = (input, context) => {
|
|
|
5264
5273
|
if (input.ClientRequestToken != null) {
|
|
5265
5274
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
5266
5275
|
}
|
|
5276
|
+
if (input.RetainExceptOnCreate != null) {
|
|
5277
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
5278
|
+
}
|
|
5267
5279
|
return entries;
|
|
5268
5280
|
};
|
|
5269
5281
|
const se_UpdateStackInstancesInput = (input, context) => {
|
|
@@ -7020,6 +7032,9 @@ const de_Stack = (output, context) => {
|
|
|
7020
7032
|
if (output["DriftInformation"] !== undefined) {
|
|
7021
7033
|
contents.DriftInformation = de_StackDriftInformation(output["DriftInformation"], context);
|
|
7022
7034
|
}
|
|
7035
|
+
if (output["RetainExceptOnCreate"] !== undefined) {
|
|
7036
|
+
contents.RetainExceptOnCreate = (0, smithy_client_1.parseBoolean)(output["RetainExceptOnCreate"]);
|
|
7037
|
+
}
|
|
7023
7038
|
return contents;
|
|
7024
7039
|
};
|
|
7025
7040
|
const de_StackDriftInformation = (output, context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cloudformation.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -3500,6 +3500,9 @@ const se_CreateStackInput = (input, context) => {
|
|
|
3500
3500
|
if (input.EnableTerminationProtection != null) {
|
|
3501
3501
|
entries["EnableTerminationProtection"] = input.EnableTerminationProtection;
|
|
3502
3502
|
}
|
|
3503
|
+
if (input.RetainExceptOnCreate != null) {
|
|
3504
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
3505
|
+
}
|
|
3503
3506
|
return entries;
|
|
3504
3507
|
};
|
|
3505
3508
|
const se_CreateStackInstancesInput = (input, context) => {
|
|
@@ -4077,6 +4080,9 @@ const se_ExecuteChangeSetInput = (input, context) => {
|
|
|
4077
4080
|
if (input.DisableRollback != null) {
|
|
4078
4081
|
entries["DisableRollback"] = input.DisableRollback;
|
|
4079
4082
|
}
|
|
4083
|
+
if (input.RetainExceptOnCreate != null) {
|
|
4084
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
4085
|
+
}
|
|
4080
4086
|
return entries;
|
|
4081
4087
|
};
|
|
4082
4088
|
const se_GetStackPolicyInput = (input, context) => {
|
|
@@ -4735,6 +4741,9 @@ const se_RollbackStackInput = (input, context) => {
|
|
|
4735
4741
|
if (input.ClientRequestToken != null) {
|
|
4736
4742
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4737
4743
|
}
|
|
4744
|
+
if (input.RetainExceptOnCreate != null) {
|
|
4745
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
4746
|
+
}
|
|
4738
4747
|
return entries;
|
|
4739
4748
|
};
|
|
4740
4749
|
const se_RollbackTrigger = (input, context) => {
|
|
@@ -5119,6 +5128,9 @@ const se_UpdateStackInput = (input, context) => {
|
|
|
5119
5128
|
if (input.ClientRequestToken != null) {
|
|
5120
5129
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
5121
5130
|
}
|
|
5131
|
+
if (input.RetainExceptOnCreate != null) {
|
|
5132
|
+
entries["RetainExceptOnCreate"] = input.RetainExceptOnCreate;
|
|
5133
|
+
}
|
|
5122
5134
|
return entries;
|
|
5123
5135
|
};
|
|
5124
5136
|
const se_UpdateStackInstancesInput = (input, context) => {
|
|
@@ -6875,6 +6887,9 @@ const de_Stack = (output, context) => {
|
|
|
6875
6887
|
if (output["DriftInformation"] !== undefined) {
|
|
6876
6888
|
contents.DriftInformation = de_StackDriftInformation(output["DriftInformation"], context);
|
|
6877
6889
|
}
|
|
6890
|
+
if (output["RetainExceptOnCreate"] !== undefined) {
|
|
6891
|
+
contents.RetainExceptOnCreate = __parseBoolean(output["RetainExceptOnCreate"]);
|
|
6892
|
+
}
|
|
6878
6893
|
return contents;
|
|
6879
6894
|
};
|
|
6880
6895
|
const de_StackDriftInformation = (output, context) => {
|
|
@@ -75,6 +75,7 @@ export interface CreateStackCommandOutput extends CreateStackOutput, __MetadataB
|
|
|
75
75
|
* ],
|
|
76
76
|
* ClientRequestToken: "STRING_VALUE",
|
|
77
77
|
* EnableTerminationProtection: true || false,
|
|
78
|
+
* RetainExceptOnCreate: true || false,
|
|
78
79
|
* };
|
|
79
80
|
* const command = new CreateStackCommand(input);
|
|
80
81
|
* const response = await client.send(command);
|
|
@@ -99,6 +99,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksOutput, __Met
|
|
|
99
99
|
* // StackDriftStatus: "DRIFTED" || "IN_SYNC" || "UNKNOWN" || "NOT_CHECKED", // required
|
|
100
100
|
* // LastCheckTimestamp: new Date("TIMESTAMP"),
|
|
101
101
|
* // },
|
|
102
|
+
* // RetainExceptOnCreate: true || false,
|
|
102
103
|
* // },
|
|
103
104
|
* // ],
|
|
104
105
|
* // NextToken: "STRING_VALUE",
|
|
@@ -42,6 +42,7 @@ export interface ExecuteChangeSetCommandOutput extends ExecuteChangeSetOutput, _
|
|
|
42
42
|
* StackName: "STRING_VALUE",
|
|
43
43
|
* ClientRequestToken: "STRING_VALUE",
|
|
44
44
|
* DisableRollback: true || false,
|
|
45
|
+
* RetainExceptOnCreate: true || false,
|
|
45
46
|
* };
|
|
46
47
|
* const command = new ExecuteChangeSetCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
@@ -66,6 +66,7 @@ export interface RollbackStackCommandOutput extends RollbackStackOutput, __Metad
|
|
|
66
66
|
* StackName: "STRING_VALUE", // required
|
|
67
67
|
* RoleARN: "STRING_VALUE",
|
|
68
68
|
* ClientRequestToken: "STRING_VALUE",
|
|
69
|
+
* RetainExceptOnCreate: true || false,
|
|
69
70
|
* };
|
|
70
71
|
* const command = new RollbackStackCommand(input);
|
|
71
72
|
* const response = await client.send(command);
|
|
@@ -79,6 +79,7 @@ export interface UpdateStackCommandOutput extends UpdateStackOutput, __MetadataB
|
|
|
79
79
|
* ],
|
|
80
80
|
* DisableRollback: true || false,
|
|
81
81
|
* ClientRequestToken: "STRING_VALUE",
|
|
82
|
+
* RetainExceptOnCreate: true || false,
|
|
82
83
|
* };
|
|
83
84
|
* const command = new UpdateStackCommand(input);
|
|
84
85
|
* const response = await client.send(command);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -285,6 +285,9 @@ export interface ActivateTypeOutput {
|
|
|
285
285
|
export declare class CFNRegistryException extends __BaseException {
|
|
286
286
|
readonly name: "CFNRegistryException";
|
|
287
287
|
readonly $fault: "client";
|
|
288
|
+
/**
|
|
289
|
+
* <p>An message with details about the error that occurred.</p>
|
|
290
|
+
*/
|
|
288
291
|
Message?: string;
|
|
289
292
|
/**
|
|
290
293
|
* @internal
|
|
@@ -298,6 +301,9 @@ export declare class CFNRegistryException extends __BaseException {
|
|
|
298
301
|
export declare class TypeNotFoundException extends __BaseException {
|
|
299
302
|
readonly name: "TypeNotFoundException";
|
|
300
303
|
readonly $fault: "client";
|
|
304
|
+
/**
|
|
305
|
+
* <p>An message with details about the error that occurred.</p>
|
|
306
|
+
*/
|
|
301
307
|
Message?: string;
|
|
302
308
|
/**
|
|
303
309
|
* @internal
|
|
@@ -462,6 +468,9 @@ export interface BatchDescribeTypeConfigurationsOutput {
|
|
|
462
468
|
export declare class TypeConfigurationNotFoundException extends __BaseException {
|
|
463
469
|
readonly name: "TypeConfigurationNotFoundException";
|
|
464
470
|
readonly $fault: "client";
|
|
471
|
+
/**
|
|
472
|
+
* <p>An message with details about the error that occurred.</p>
|
|
473
|
+
*/
|
|
465
474
|
Message?: string;
|
|
466
475
|
/**
|
|
467
476
|
* @internal
|
|
@@ -1858,6 +1867,14 @@ export interface CreateStackInput {
|
|
|
1858
1867
|
* stack.</p>
|
|
1859
1868
|
*/
|
|
1860
1869
|
EnableTerminationProtection?: boolean;
|
|
1870
|
+
/**
|
|
1871
|
+
* <p>This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is
|
|
1872
|
+
* rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are
|
|
1873
|
+
* retained. <code>RetainExceptOnCreate</code> can be specified for any resource that supports the
|
|
1874
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html">
|
|
1875
|
+
* DeletionPolicy</a> attribute.</p>
|
|
1876
|
+
*/
|
|
1877
|
+
RetainExceptOnCreate?: boolean;
|
|
1861
1878
|
}
|
|
1862
1879
|
/**
|
|
1863
1880
|
* @public
|
|
@@ -4255,6 +4272,14 @@ export interface Stack {
|
|
|
4255
4272
|
* information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html">Detecting Unregulated Configuration Changes to Stacks and Resources</a>.</p>
|
|
4256
4273
|
*/
|
|
4257
4274
|
DriftInformation?: StackDriftInformation;
|
|
4275
|
+
/**
|
|
4276
|
+
* <p>This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is
|
|
4277
|
+
* rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are
|
|
4278
|
+
* retained. <code>RetainExceptOnCreate</code> can be specified for any resource that supports the
|
|
4279
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html">
|
|
4280
|
+
* DeletionPolicy</a> attribute.</p>
|
|
4281
|
+
*/
|
|
4282
|
+
RetainExceptOnCreate?: boolean;
|
|
4258
4283
|
}
|
|
4259
4284
|
/**
|
|
4260
4285
|
* @public
|
|
@@ -5335,6 +5360,14 @@ export interface ExecuteChangeSetInput {
|
|
|
5335
5360
|
* </p>
|
|
5336
5361
|
*/
|
|
5337
5362
|
DisableRollback?: boolean;
|
|
5363
|
+
/**
|
|
5364
|
+
* <p>This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is
|
|
5365
|
+
* rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are
|
|
5366
|
+
* retained. <code>RetainExceptOnCreate</code> can be specified for any resource that supports the
|
|
5367
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html">
|
|
5368
|
+
* DeletionPolicy</a> attribute.</p>
|
|
5369
|
+
*/
|
|
5370
|
+
RetainExceptOnCreate?: boolean;
|
|
5338
5371
|
}
|
|
5339
5372
|
/**
|
|
5340
5373
|
* @public
|
|
@@ -7588,6 +7621,14 @@ export interface RollbackStackInput {
|
|
|
7588
7621
|
* <p>A unique identifier for this <code>RollbackStack</code> request.</p>
|
|
7589
7622
|
*/
|
|
7590
7623
|
ClientRequestToken?: string;
|
|
7624
|
+
/**
|
|
7625
|
+
* <p>This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is
|
|
7626
|
+
* rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are
|
|
7627
|
+
* retained. <code>RetainExceptOnCreate</code> can be specified for any resource that supports the
|
|
7628
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html">
|
|
7629
|
+
* DeletionPolicy</a> attribute.</p>
|
|
7630
|
+
*/
|
|
7631
|
+
RetainExceptOnCreate?: boolean;
|
|
7591
7632
|
}
|
|
7592
7633
|
/**
|
|
7593
7634
|
* @public
|
|
@@ -8059,6 +8100,14 @@ export interface UpdateStackInput {
|
|
|
8059
8100
|
* <code>Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002</code>.</p>
|
|
8060
8101
|
*/
|
|
8061
8102
|
ClientRequestToken?: string;
|
|
8103
|
+
/**
|
|
8104
|
+
* <p>This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is
|
|
8105
|
+
* rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are
|
|
8106
|
+
* retained. <code>RetainExceptOnCreate</code> can be specified for any resource that supports the
|
|
8107
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html">
|
|
8108
|
+
* DeletionPolicy</a> attribute.</p>
|
|
8109
|
+
*/
|
|
8110
|
+
RetainExceptOnCreate?: boolean;
|
|
8062
8111
|
}
|
|
8063
8112
|
/**
|
|
8064
8113
|
* @public
|
|
@@ -444,6 +444,7 @@ export interface CreateStackInput {
|
|
|
444
444
|
Tags?: Tag[];
|
|
445
445
|
ClientRequestToken?: string;
|
|
446
446
|
EnableTerminationProtection?: boolean;
|
|
447
|
+
RetainExceptOnCreate?: boolean;
|
|
447
448
|
}
|
|
448
449
|
export interface CreateStackOutput {
|
|
449
450
|
StackId?: string;
|
|
@@ -1009,6 +1010,7 @@ export interface Stack {
|
|
|
1009
1010
|
ParentId?: string;
|
|
1010
1011
|
RootId?: string;
|
|
1011
1012
|
DriftInformation?: StackDriftInformation;
|
|
1013
|
+
RetainExceptOnCreate?: boolean;
|
|
1012
1014
|
}
|
|
1013
1015
|
export interface DescribeStacksOutput {
|
|
1014
1016
|
Stacks?: Stack[];
|
|
@@ -1238,6 +1240,7 @@ export interface ExecuteChangeSetInput {
|
|
|
1238
1240
|
StackName?: string;
|
|
1239
1241
|
ClientRequestToken?: string;
|
|
1240
1242
|
DisableRollback?: boolean;
|
|
1243
|
+
RetainExceptOnCreate?: boolean;
|
|
1241
1244
|
}
|
|
1242
1245
|
export interface ExecuteChangeSetOutput {}
|
|
1243
1246
|
export interface GetStackPolicyInput {
|
|
@@ -1699,6 +1702,7 @@ export interface RollbackStackInput {
|
|
|
1699
1702
|
StackName: string | undefined;
|
|
1700
1703
|
RoleARN?: string;
|
|
1701
1704
|
ClientRequestToken?: string;
|
|
1705
|
+
RetainExceptOnCreate?: boolean;
|
|
1702
1706
|
}
|
|
1703
1707
|
export interface RollbackStackOutput {
|
|
1704
1708
|
StackId?: string;
|
|
@@ -1771,6 +1775,7 @@ export interface UpdateStackInput {
|
|
|
1771
1775
|
Tags?: Tag[];
|
|
1772
1776
|
DisableRollback?: boolean;
|
|
1773
1777
|
ClientRequestToken?: string;
|
|
1778
|
+
RetainExceptOnCreate?: boolean;
|
|
1774
1779
|
}
|
|
1775
1780
|
export interface UpdateStackOutput {
|
|
1776
1781
|
StackId?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.380.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.379.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.379.1",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.379.1",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.378.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|