You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-cloudformation): Specify desired CloudFormation behavior in the event of ChangeSet execution failure using the CreateChangeSet OnStackFailure parameter
* set to <code>False</code>. To include nested sets in a change set, specify <code>True</code>.</p>
1763
1778
*/
1764
1779
IncludeNestedStacks?: boolean;
1780
+
1781
+
/**
1782
+
* <p>Determines what action will be taken if stack creation fails. If this parameter is specified, the
1783
+
* <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API operation must not
1784
+
* be specified. This must be one of these values:</p>
1785
+
* <ul>
1786
+
* <li>
1787
+
* <p>
1788
+
* <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the
1789
+
* <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status
1790
+
* of the stack is <code>DELETE_FAILED</code>.</p>
1791
+
* </li>
1792
+
* <li>
1793
+
* <p>
1794
+
* <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying
1795
+
* <code>true</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
1796
+
* operation.</p>
1797
+
* </li>
1798
+
* <li>
1799
+
* <p>
1800
+
* <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
1801
+
* <code>false</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
1802
+
* operation.</p>
1803
+
* </li>
1804
+
* </ul>
1805
+
* <p>For nested stacks, when the <code>OnStackFailure</code> parameter is set to <code>DELETE</code> for the change
1806
+
* set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to
* <p>Specifies the change set ID of the root change set in the current nested change set hierarchy.</p>
3220
3265
*/
3221
3266
RootChangeSetId?: string;
3267
+
3268
+
/**
3269
+
* <p>Determines what action will be taken if stack creation fails. When this parameter is specified, the
3270
+
* <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API operation must not
3271
+
* be specified. This must be one of these values:</p>
3272
+
* <ul>
3273
+
* <li>
3274
+
* <p>
3275
+
* <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the
3276
+
* <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status
3277
+
* of the stack is <code>DELETE_FAILED</code>.</p>
3278
+
* </li>
3279
+
* <li>
3280
+
* <p>
3281
+
* <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying
3282
+
* <code>true</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
3283
+
* operation.</p>
3284
+
* </li>
3285
+
* <li>
3286
+
* <p>
3287
+
* <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
3288
+
* <code>false</code> for the <code>DisableRollback</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html">ExecuteChangeSet</a> API
* <p>Preserves the state of previously provisioned resources when an operation fails.</p>
6073
+
* <p>Preserves the state of previously provisioned resources when an operation
6074
+
* fails. This parameter can't be specified when
6075
+
* the <code>OnStackFailure</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a> API operation was
6076
+
* specified.</p>
6077
+
* <ul>
6078
+
* <li>
6079
+
* <p>
6080
+
* <code>True</code> - if the stack creation fails, do nothing. This is equivalent to specifying
6081
+
* <code>DO_NOTHING</code> for the <code>OnStackFailure</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a> API operation.</p>
6082
+
* </li>
6083
+
* <li>
6084
+
* <p>
6085
+
* <code>False</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
6086
+
* <code>ROLLBACK</code> for the <code>OnStackFailure</code> parameter to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html">CreateChangeSet</a> API operation.</p>
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/cloudformation.json
+36-1Lines changed: 36 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2543,6 +2543,12 @@
2543
2543
"traits": {
2544
2544
"smithy.api#documentation": "<p>Creates a change set for the all nested stacks specified in the template. The default behavior of this action is\n set to <code>False</code>. To include nested sets in a change set, specify <code>True</code>.</p>"
"smithy.api#documentation": "<p>Determines what action will be taken if stack creation fails. If this parameter is specified, the\n <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API operation must not\n be specified. This must be one of these values:</p>\n <ul>\n <li>\n <p>\n <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the\n <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status\n of the stack is <code>DELETE_FAILED</code>.</p>\n </li>\n <li>\n <p>\n <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying\n <code>true</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n <li>\n <p>\n <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying\n <code>false</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n </ul>\n <p>For nested stacks, when the <code>OnStackFailure</code> parameter is set to <code>DELETE</code> for the change\n set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to\n be deleted.</p>"
2551
+
}
2546
2552
}
2547
2553
},
2548
2554
"traits": {
@@ -3785,6 +3791,12 @@
3785
3791
"traits": {
3786
3792
"smithy.api#documentation": "<p>Specifies the change set ID of the root change set in the current nested change set hierarchy.</p>"
"smithy.api#documentation": "<p>Determines what action will be taken if stack creation fails. When this parameter is specified, the\n <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API operation must not\n be specified. This must be one of these values:</p>\n <ul>\n <li>\n <p>\n <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the\n <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status\n of the stack is <code>DELETE_FAILED</code>.</p>\n </li>\n <li>\n <p>\n <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying\n <code>true</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n <li>\n <p>\n <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying\n <code>false</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>Preserves the state of previously provisioned resources when an operation fails.</p>\n <p>Default: <code>True</code>\n </p>"
5522
+
"smithy.api#documentation": "<p>Preserves the state of previously provisioned resources when an operation\n fails. This parameter can't be specified when\n the <code>OnStackFailure</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html\">CreateChangeSet</a> API operation was\n specified.</p>\n <ul>\n <li>\n <p>\n <code>True</code> - if the stack creation fails, do nothing. This is equivalent to specifying\n <code>DO_NOTHING</code> for the <code>OnStackFailure</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html\">CreateChangeSet</a> API operation.</p>\n </li>\n <li>\n <p>\n <code>False</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying\n <code>ROLLBACK</code> for the <code>OnStackFailure</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html\">CreateChangeSet</a> API operation.</p>\n </li>\n </ul>\n <p>Default: <code>True</code>\n </p>"
0 commit comments