aws-sdk-cloudformation 1.133.0 → 1.134.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +226 -125
- data/lib/aws-sdk-cloudformation/client_api.rb +2 -0
- data/lib/aws-sdk-cloudformation/event.rb +2 -2
- data/lib/aws-sdk-cloudformation/resource.rb +26 -23
- data/lib/aws-sdk-cloudformation/stack.rb +68 -61
- data/lib/aws-sdk-cloudformation/types.rb +190 -163
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +7 -6
- metadata +1 -1
@@ -511,6 +511,7 @@ module Aws::CloudFormation
|
|
511
511
|
StackResourceDriftInformationSummary = Shapes::StructureShape.new(name: 'StackResourceDriftInformationSummary')
|
512
512
|
StackResourceDriftStatus = Shapes::StringShape.new(name: 'StackResourceDriftStatus')
|
513
513
|
StackResourceDriftStatusFilters = Shapes::ListShape.new(name: 'StackResourceDriftStatusFilters')
|
514
|
+
StackResourceDriftStatusReason = Shapes::StringShape.new(name: 'StackResourceDriftStatusReason')
|
514
515
|
StackResourceDrifts = Shapes::ListShape.new(name: 'StackResourceDrifts')
|
515
516
|
StackResourceSummaries = Shapes::ListShape.new(name: 'StackResourceSummaries')
|
516
517
|
StackResourceSummary = Shapes::StructureShape.new(name: 'StackResourceSummary')
|
@@ -1987,6 +1988,7 @@ module Aws::CloudFormation
|
|
1987
1988
|
StackResourceDrift.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus"))
|
1988
1989
|
StackResourceDrift.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
1989
1990
|
StackResourceDrift.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo"))
|
1991
|
+
StackResourceDrift.add_member(:drift_status_reason, Shapes::ShapeRef.new(shape: StackResourceDriftStatusReason, location_name: "DriftStatusReason"))
|
1990
1992
|
StackResourceDrift.struct_class = Types::StackResourceDrift
|
1991
1993
|
|
1992
1994
|
StackResourceDriftInformation.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus"))
|
@@ -152,8 +152,8 @@ module Aws::CloudFormation
|
|
152
152
|
data[:hook_failure_mode]
|
153
153
|
end
|
154
154
|
|
155
|
-
# An optional field
|
156
|
-
# the stack event.
|
155
|
+
# An optional field that contains information about the detailed status
|
156
|
+
# of the stack event.
|
157
157
|
#
|
158
158
|
# * `CONFIGURATION_COMPLETE` - all of the resources in the stack have
|
159
159
|
# reached that event. For more information, see [Understand
|
@@ -88,16 +88,17 @@ module Aws::CloudFormation
|
|
88
88
|
#
|
89
89
|
# </note>
|
90
90
|
# @option options [String] :template_body
|
91
|
-
# Structure
|
92
|
-
# and a maximum length of 51,200 bytes.
|
91
|
+
# Structure that contains the template body with a minimum length of 1
|
92
|
+
# byte and a maximum length of 51,200 bytes.
|
93
93
|
#
|
94
|
-
# Conditional: You must specify either
|
95
|
-
#
|
94
|
+
# Conditional: You must specify either `TemplateBody` or `TemplateURL`,
|
95
|
+
# but not both.
|
96
96
|
# @option options [String] :template_url
|
97
|
-
# The URL of a file
|
98
|
-
# a template (max size: 1 MB) that's located in an Amazon S3 bucket
|
99
|
-
# a Systems Manager document. The location for an Amazon S3 bucket
|
100
|
-
# start with `https://`.
|
97
|
+
# The URL of a file that contains the template body. The URL must point
|
98
|
+
# to a template (max size: 1 MB) that's located in an Amazon S3 bucket
|
99
|
+
# or a Systems Manager document. The location for an Amazon S3 bucket
|
100
|
+
# must start with `https://`. URLs from S3 static websites are not
|
101
|
+
# supported.
|
101
102
|
#
|
102
103
|
# Conditional: You must specify either the `TemplateBody` or the
|
103
104
|
# `TemplateURL` parameter, but not both.
|
@@ -207,14 +208,14 @@ module Aws::CloudFormation
|
|
207
208
|
#
|
208
209
|
#
|
209
210
|
#
|
210
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
211
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
212
|
-
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
213
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
214
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
215
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
216
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
217
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
211
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html
|
212
|
+
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html
|
213
|
+
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html
|
214
|
+
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html
|
215
|
+
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html
|
216
|
+
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html
|
217
|
+
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html
|
218
|
+
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html
|
218
219
|
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
|
219
220
|
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
|
220
221
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
@@ -265,20 +266,22 @@ module Aws::CloudFormation
|
|
265
266
|
#
|
266
267
|
# Default: `ROLLBACK`
|
267
268
|
# @option options [String] :stack_policy_body
|
268
|
-
# Structure
|
269
|
-
# [Prevent updates to stack resources][1] in the *CloudFormation
|
270
|
-
# Guide*. You can specify either the `StackPolicyBody` or the
|
269
|
+
# Structure that contains the stack policy body. For more information,
|
270
|
+
# see [Prevent updates to stack resources][1] in the *CloudFormation
|
271
|
+
# User Guide*. You can specify either the `StackPolicyBody` or the
|
271
272
|
# `StackPolicyURL` parameter, but not both.
|
272
273
|
#
|
273
274
|
#
|
274
275
|
#
|
275
276
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html
|
276
277
|
# @option options [String] :stack_policy_url
|
277
|
-
# Location of a file
|
278
|
-
# a policy (maximum size: 16 KB) located in an S3 bucket in the same
|
278
|
+
# Location of a file that contains the stack policy. The URL must point
|
279
|
+
# to a policy (maximum size: 16 KB) located in an S3 bucket in the same
|
279
280
|
# Region as the stack. The location for an Amazon S3 bucket must start
|
280
|
-
# with `https://`.
|
281
|
-
#
|
281
|
+
# with `https://`. URLs from S3 static websites are not supported.
|
282
|
+
#
|
283
|
+
# You can specify either the `StackPolicyBody` or the `StackPolicyURL`
|
284
|
+
# parameter, but not both.
|
282
285
|
# @option options [Array<Types::Tag>] :tags
|
283
286
|
# Key-value pairs to associate with this stack. CloudFormation also
|
284
287
|
# propagates these tags to the resources created in the stack. A maximum
|
@@ -163,12 +163,12 @@ module Aws::CloudFormation
|
|
163
163
|
data[:enable_termination_protection]
|
164
164
|
end
|
165
165
|
|
166
|
-
# For nested stacks
|
167
|
-
#
|
168
|
-
#
|
166
|
+
# For nested stacks, the stack ID of the direct parent of this stack.
|
167
|
+
# For the first level of nested stacks, the root stack is also the
|
168
|
+
# parent stack.
|
169
169
|
#
|
170
|
-
# For more information, see [
|
171
|
-
#
|
170
|
+
# For more information, see [Nested stacks][1] in the *CloudFormation
|
171
|
+
# User Guide*.
|
172
172
|
#
|
173
173
|
#
|
174
174
|
#
|
@@ -178,12 +178,11 @@ module Aws::CloudFormation
|
|
178
178
|
data[:parent_id]
|
179
179
|
end
|
180
180
|
|
181
|
-
# For nested stacks
|
182
|
-
#
|
183
|
-
# belongs.
|
181
|
+
# For nested stacks, the stack ID of the top-level stack to which the
|
182
|
+
# nested stack ultimately belongs.
|
184
183
|
#
|
185
|
-
# For more information, see [
|
186
|
-
#
|
184
|
+
# For more information, see [Nested stacks][1] in the *CloudFormation
|
185
|
+
# User Guide*.
|
187
186
|
#
|
188
187
|
#
|
189
188
|
#
|
@@ -480,16 +479,17 @@ module Aws::CloudFormation
|
|
480
479
|
# })
|
481
480
|
# @param [Hash] options ({})
|
482
481
|
# @option options [String] :template_body
|
483
|
-
# Structure
|
484
|
-
# and a maximum length of 51,200 bytes.
|
482
|
+
# Structure that contains the template body with a minimum length of 1
|
483
|
+
# byte and a maximum length of 51,200 bytes.
|
485
484
|
#
|
486
|
-
# Conditional: You must specify either
|
487
|
-
#
|
485
|
+
# Conditional: You must specify either `TemplateBody` or `TemplateURL`,
|
486
|
+
# but not both.
|
488
487
|
# @option options [String] :template_url
|
489
|
-
# The URL of a file
|
490
|
-
# a template (max size: 1 MB) that's located in an Amazon S3 bucket
|
491
|
-
# a Systems Manager document. The location for an Amazon S3 bucket
|
492
|
-
# start with `https://`.
|
488
|
+
# The URL of a file that contains the template body. The URL must point
|
489
|
+
# to a template (max size: 1 MB) that's located in an Amazon S3 bucket
|
490
|
+
# or a Systems Manager document. The location for an Amazon S3 bucket
|
491
|
+
# must start with `https://`. URLs from S3 static websites are not
|
492
|
+
# supported.
|
493
493
|
#
|
494
494
|
# Conditional: You must specify either the `TemplateBody` or the
|
495
495
|
# `TemplateURL` parameter, but not both.
|
@@ -599,14 +599,14 @@ module Aws::CloudFormation
|
|
599
599
|
#
|
600
600
|
#
|
601
601
|
#
|
602
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
603
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
604
|
-
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
605
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
606
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
607
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
608
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
609
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
602
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html
|
603
|
+
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html
|
604
|
+
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html
|
605
|
+
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html
|
606
|
+
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html
|
607
|
+
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html
|
608
|
+
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html
|
609
|
+
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html
|
610
610
|
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
|
611
611
|
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
|
612
612
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
@@ -657,20 +657,22 @@ module Aws::CloudFormation
|
|
657
657
|
#
|
658
658
|
# Default: `ROLLBACK`
|
659
659
|
# @option options [String] :stack_policy_body
|
660
|
-
# Structure
|
661
|
-
# [Prevent updates to stack resources][1] in the *CloudFormation
|
662
|
-
# Guide*. You can specify either the `StackPolicyBody` or the
|
660
|
+
# Structure that contains the stack policy body. For more information,
|
661
|
+
# see [Prevent updates to stack resources][1] in the *CloudFormation
|
662
|
+
# User Guide*. You can specify either the `StackPolicyBody` or the
|
663
663
|
# `StackPolicyURL` parameter, but not both.
|
664
664
|
#
|
665
665
|
#
|
666
666
|
#
|
667
667
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html
|
668
668
|
# @option options [String] :stack_policy_url
|
669
|
-
# Location of a file
|
670
|
-
# a policy (maximum size: 16 KB) located in an S3 bucket in the same
|
669
|
+
# Location of a file that contains the stack policy. The URL must point
|
670
|
+
# to a policy (maximum size: 16 KB) located in an S3 bucket in the same
|
671
671
|
# Region as the stack. The location for an Amazon S3 bucket must start
|
672
|
-
# with `https://`.
|
673
|
-
#
|
672
|
+
# with `https://`. URLs from S3 static websites are not supported.
|
673
|
+
#
|
674
|
+
# You can specify either the `StackPolicyBody` or the `StackPolicyURL`
|
675
|
+
# parameter, but not both.
|
674
676
|
# @option options [Array<Types::Tag>] :tags
|
675
677
|
# Key-value pairs to associate with this stack. CloudFormation also
|
676
678
|
# propagates these tags to the resources created in the stack. A maximum
|
@@ -831,16 +833,16 @@ module Aws::CloudFormation
|
|
831
833
|
# })
|
832
834
|
# @param [Hash] options ({})
|
833
835
|
# @option options [String] :template_body
|
834
|
-
# Structure
|
835
|
-
# and a maximum length of 51,200 bytes.
|
836
|
+
# Structure that contains the template body with a minimum length of 1
|
837
|
+
# byte and a maximum length of 51,200 bytes.
|
836
838
|
#
|
837
839
|
# Conditional: You must specify only one of the following parameters:
|
838
840
|
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
839
841
|
# `true`.
|
840
842
|
# @option options [String] :template_url
|
841
|
-
# The URL of a file
|
842
|
-
# a template that's located in an Amazon S3 bucket or a Systems
|
843
|
-
# document. The location for an Amazon S3 bucket must start with
|
843
|
+
# The URL of a file that contains the template body. The URL must point
|
844
|
+
# to a template that's located in an Amazon S3 bucket or a Systems
|
845
|
+
# Manager document. The location for an Amazon S3 bucket must start with
|
844
846
|
# `https://`.
|
845
847
|
#
|
846
848
|
# Conditional: You must specify only one of the following parameters:
|
@@ -854,8 +856,8 @@ module Aws::CloudFormation
|
|
854
856
|
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
855
857
|
# `true`.
|
856
858
|
# @option options [String] :stack_policy_during_update_body
|
857
|
-
# Structure
|
858
|
-
# can specify either the `StackPolicyDuringUpdateBody` or the
|
859
|
+
# Structure that contains the temporary overriding stack policy body.
|
860
|
+
# You can specify either the `StackPolicyDuringUpdateBody` or the
|
859
861
|
# `StackPolicyDuringUpdateURL` parameter, but not both.
|
860
862
|
#
|
861
863
|
# If you want to update protected resources, specify a temporary
|
@@ -863,12 +865,14 @@ module Aws::CloudFormation
|
|
863
865
|
# stack policy, the current policy that is associated with the stack
|
864
866
|
# will be used.
|
865
867
|
# @option options [String] :stack_policy_during_update_url
|
866
|
-
# Location of a file
|
867
|
-
# The URL must point to a policy (max size: 16KB) located in an
|
868
|
-
# bucket in the same Region as the stack. The location for an Amazon
|
869
|
-
# bucket must start with `https://`.
|
870
|
-
#
|
871
|
-
#
|
868
|
+
# Location of a file that contains the temporary overriding stack
|
869
|
+
# policy. The URL must point to a policy (max size: 16KB) located in an
|
870
|
+
# S3 bucket in the same Region as the stack. The location for an Amazon
|
871
|
+
# S3 bucket must start with `https://`. URLs from S3 static websites are
|
872
|
+
# not supported.
|
873
|
+
#
|
874
|
+
# You can specify either the `StackPolicyDuringUpdateBody` or the
|
875
|
+
# `StackPolicyDuringUpdateURL` parameter, but not both.
|
872
876
|
#
|
873
877
|
# If you want to update protected resources, specify a temporary
|
874
878
|
# overriding stack policy during this update. If you don't specify a
|
@@ -962,14 +966,14 @@ module Aws::CloudFormation
|
|
962
966
|
#
|
963
967
|
#
|
964
968
|
#
|
965
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
966
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
967
|
-
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
968
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
969
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
970
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
971
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
972
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
969
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html
|
970
|
+
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html
|
971
|
+
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html
|
972
|
+
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html
|
973
|
+
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html
|
974
|
+
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html
|
975
|
+
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html
|
976
|
+
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html
|
973
977
|
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
|
974
978
|
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
|
975
979
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
@@ -1012,19 +1016,22 @@ module Aws::CloudFormation
|
|
1012
1016
|
# creation and updating operations, and for the specified monitoring
|
1013
1017
|
# period afterwards.
|
1014
1018
|
# @option options [String] :stack_policy_body
|
1015
|
-
# Structure
|
1016
|
-
# the `StackPolicyBody` or the `StackPolicyURL` parameter, but
|
1019
|
+
# Structure that contains a new stack policy body. You can specify
|
1020
|
+
# either the `StackPolicyBody` or the `StackPolicyURL` parameter, but
|
1021
|
+
# not both.
|
1017
1022
|
#
|
1018
1023
|
# You might update the stack policy, for example, in order to protect a
|
1019
1024
|
# new resource that you created during a stack update. If you don't
|
1020
1025
|
# specify a stack policy, the current policy that is associated with the
|
1021
1026
|
# stack is unchanged.
|
1022
1027
|
# @option options [String] :stack_policy_url
|
1023
|
-
# Location of a file
|
1024
|
-
# point to a policy (max size: 16KB) located in an S3 bucket in the
|
1025
|
-
# Region as the stack. The location for an Amazon S3 bucket must
|
1026
|
-
# with `https://`.
|
1027
|
-
#
|
1028
|
+
# Location of a file that contains the updated stack policy. The URL
|
1029
|
+
# must point to a policy (max size: 16KB) located in an S3 bucket in the
|
1030
|
+
# same Region as the stack. The location for an Amazon S3 bucket must
|
1031
|
+
# start with `https://`. URLs from S3 static websites are not supported.
|
1032
|
+
#
|
1033
|
+
# You can specify either the `StackPolicyBody` or the `StackPolicyURL`
|
1034
|
+
# parameter, but not both.
|
1028
1035
|
#
|
1029
1036
|
# You might update the stack policy, for example, in order to protect a
|
1030
1037
|
# new resource that you created during a stack update. If you don't
|