aws-sdk-cloudformation 1.86.0 → 1.88.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -157,8 +157,8 @@ module Aws::CloudFormation
157
157
  #
158
158
  #
159
159
  #
160
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
161
- # [2]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
160
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
161
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
162
162
  # @return [Boolean]
163
163
  def enable_termination_protection
164
164
  data[:enable_termination_protection]
@@ -173,7 +173,7 @@ module Aws::CloudFormation
173
173
  #
174
174
  #
175
175
  #
176
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
176
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
177
177
  # @return [String]
178
178
  def parent_id
179
179
  data[:parent_id]
@@ -188,7 +188,7 @@ module Aws::CloudFormation
188
188
  #
189
189
  #
190
190
  #
191
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
191
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
192
192
  # @return [String]
193
193
  def root_id
194
194
  data[:root_id]
@@ -202,12 +202,27 @@ module Aws::CloudFormation
202
202
  #
203
203
  #
204
204
  #
205
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
205
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
206
206
  # @return [Types::StackDriftInformation]
207
207
  def drift_information
208
208
  data[:drift_information]
209
209
  end
210
210
 
211
+ # This deletion policy deletes newly created resources, but retains
212
+ # existing resources, when a stack operation is rolled back. This
213
+ # ensures new, empty, and unused resources are deleted, while critical
214
+ # resources and their data are retained. `RetainExceptOnCreate` can be
215
+ # specified for any resource that supports the [ DeletionPolicy][1]
216
+ # attribute.
217
+ #
218
+ #
219
+ #
220
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
221
+ # @return [Boolean]
222
+ def retain_except_on_create
223
+ data[:retain_except_on_create]
224
+ end
225
+
211
226
  # @!endgroup
212
227
 
213
228
  # @return [Client]
@@ -439,6 +454,7 @@ module Aws::CloudFormation
439
454
  # ],
440
455
  # client_request_token: "ClientRequestToken",
441
456
  # enable_termination_protection: false,
457
+ # retain_except_on_create: false,
442
458
  # })
443
459
  # @param [Hash] options ({})
444
460
  # @option options [String] :template_body
@@ -573,10 +589,10 @@ module Aws::CloudFormation
573
589
  # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
574
590
  # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html
575
591
  # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html
576
- # [8]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities
577
- # [9]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
578
- # [10]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
579
- # [11]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
592
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities
593
+ # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
594
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
595
+ # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
580
596
  # @option options [Array<String>] :resource_types
581
597
  # The template resource types that you have permissions to work with for
582
598
  # this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`,
@@ -668,8 +684,19 @@ module Aws::CloudFormation
668
684
  #
669
685
  #
670
686
  #
671
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
672
- # [2]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
687
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
688
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
689
+ # @option options [Boolean] :retain_except_on_create
690
+ # This deletion policy deletes newly created resources, but retains
691
+ # existing resources, when a stack operation is rolled back. This
692
+ # ensures new, empty, and unused resources are deleted, while critical
693
+ # resources and their data are retained. `RetainExceptOnCreate` can be
694
+ # specified for any resource that supports the [ DeletionPolicy][1]
695
+ # attribute.
696
+ #
697
+ #
698
+ #
699
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
673
700
  # @return [Types::CreateStackOutput]
674
701
  def create(options = {})
675
702
  options = options.merge(stack_name: @name)
@@ -773,6 +800,7 @@ module Aws::CloudFormation
773
800
  # ],
774
801
  # disable_rollback: false,
775
802
  # client_request_token: "ClientRequestToken",
803
+ # retain_except_on_create: false,
776
804
  # })
777
805
  # @param [Hash] options ({})
778
806
  # @option options [String] :template_body
@@ -918,10 +946,10 @@ module Aws::CloudFormation
918
946
  # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
919
947
  # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html
920
948
  # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html
921
- # [8]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities
922
- # [9]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
923
- # [10]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
924
- # [11]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
949
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities
950
+ # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
951
+ # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
952
+ # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
925
953
  # @option options [Array<String>] :resource_types
926
954
  # The template resource types that you have permissions to work with for
927
955
  # this update stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`,
@@ -1009,6 +1037,17 @@ module Aws::CloudFormation
1009
1037
  # stack using the console, each stack event would be assigned the same
1010
1038
  # token in the following format:
1011
1039
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
1040
+ # @option options [Boolean] :retain_except_on_create
1041
+ # This deletion policy deletes newly created resources, but retains
1042
+ # existing resources, when a stack operation is rolled back. This
1043
+ # ensures new, empty, and unused resources are deleted, while critical
1044
+ # resources and their data are retained. `RetainExceptOnCreate` can be
1045
+ # specified for any resource that supports the [ DeletionPolicy][1]
1046
+ # attribute.
1047
+ #
1048
+ #
1049
+ #
1050
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
1012
1051
  # @return [Types::UpdateStackOutput]
1013
1052
  def update(options = {})
1014
1053
  options = options.merge(stack_name: @name)
@@ -111,7 +111,7 @@ module Aws::CloudFormation
111
111
  #
112
112
  #
113
113
  #
114
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
114
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
115
115
  # @return [Types::StackResourceDriftInformation]
116
116
  def drift_information
117
117
  data[:drift_information]
@@ -87,7 +87,7 @@ module Aws::CloudFormation
87
87
  #
88
88
  #
89
89
  #
90
- # [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
90
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
91
91
  # @return [Types::StackResourceDriftInformationSummary]
92
92
  def drift_information
93
93
  data[:drift_information]