aws-sdk-cloudformation 1.134.0 → 1.150.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 +80 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +775 -454
- data/lib/aws-sdk-cloudformation/client_api.rb +195 -3
- data/lib/aws-sdk-cloudformation/customizations.rb +0 -8
- data/lib/aws-sdk-cloudformation/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-cloudformation/errors.rb +0 -1
- data/lib/aws-sdk-cloudformation/event.rb +19 -6
- data/lib/aws-sdk-cloudformation/resource.rb +12 -11
- data/lib/aws-sdk-cloudformation/stack.rb +33 -17
- data/lib/aws-sdk-cloudformation/types.rb +1374 -692
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +60 -10
- data/sig/event.rbs +6 -0
- data/sig/resource.rbs +1 -0
- data/sig/stack.rbs +3 -0
- data/sig/types.rbs +146 -11
- metadata +3 -3
|
@@ -47,6 +47,13 @@ module Aws::CloudFormation
|
|
|
47
47
|
data[:stack_name]
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
# The unique identifier of the operation that generated this stack
|
|
51
|
+
# event.
|
|
52
|
+
# @return [String]
|
|
53
|
+
def operation_id
|
|
54
|
+
data[:operation_id]
|
|
55
|
+
end
|
|
56
|
+
|
|
50
57
|
# The logical name of the resource specified in the template.
|
|
51
58
|
# @return [String]
|
|
52
59
|
def logical_resource_id
|
|
@@ -116,32 +123,38 @@ module Aws::CloudFormation
|
|
|
116
123
|
data[:client_request_token]
|
|
117
124
|
end
|
|
118
125
|
|
|
119
|
-
# The name of the
|
|
126
|
+
# The name of the Hook.
|
|
120
127
|
# @return [String]
|
|
121
128
|
def hook_type
|
|
122
129
|
data[:hook_type]
|
|
123
130
|
end
|
|
124
131
|
|
|
125
|
-
# Provides the status of the change set
|
|
132
|
+
# Provides the status of the change set Hook.
|
|
126
133
|
# @return [String]
|
|
127
134
|
def hook_status
|
|
128
135
|
data[:hook_status]
|
|
129
136
|
end
|
|
130
137
|
|
|
131
|
-
# Provides the reason for the
|
|
138
|
+
# Provides the reason for the Hook status.
|
|
132
139
|
# @return [String]
|
|
133
140
|
def hook_status_reason
|
|
134
141
|
data[:hook_status_reason]
|
|
135
142
|
end
|
|
136
143
|
|
|
137
|
-
#
|
|
138
|
-
#
|
|
144
|
+
# The specific point in the provisioning process where the Hook is
|
|
145
|
+
# invoked.
|
|
139
146
|
# @return [String]
|
|
140
147
|
def hook_invocation_point
|
|
141
148
|
data[:hook_invocation_point]
|
|
142
149
|
end
|
|
143
150
|
|
|
144
|
-
#
|
|
151
|
+
# The unique identifier of the Hook invocation.
|
|
152
|
+
# @return [String]
|
|
153
|
+
def hook_invocation_id
|
|
154
|
+
data[:hook_invocation_id]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Specify the Hook failure mode for non-compliant resources in the
|
|
145
158
|
# followings ways.
|
|
146
159
|
#
|
|
147
160
|
# * `FAIL` Stops provisioning resources.
|
|
@@ -221,22 +221,15 @@ module Aws::CloudFormation
|
|
|
221
221
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
|
222
222
|
# [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
|
|
223
223
|
# @option options [Array<String>] :resource_types
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
# or `Custom::MyCustomInstance`. Use the following syntax to describe
|
|
227
|
-
# template resource types: `AWS::*` (for all Amazon Web Services
|
|
228
|
-
# resources), `Custom::*` (for all custom resources),
|
|
229
|
-
# `Custom::logical_ID ` (for a specific custom resource),
|
|
230
|
-
# `AWS::service_name::*` (for all resources of a particular Amazon Web
|
|
231
|
-
# Services service), and `AWS::service_name::resource_logical_ID ` (for
|
|
232
|
-
# a specific Amazon Web Services resource).
|
|
224
|
+
# Specifies which resource types you can work with, such as
|
|
225
|
+
# `AWS::EC2::Instance` or `Custom::MyCustomInstance`.
|
|
233
226
|
#
|
|
234
227
|
# If the list of resource types doesn't include a resource that you're
|
|
235
228
|
# creating, the stack creation fails. By default, CloudFormation grants
|
|
236
229
|
# permissions to all resource types. IAM uses this parameter for
|
|
237
230
|
# CloudFormation-specific condition keys in IAM policies. For more
|
|
238
|
-
# information, see [Control access with Identity and
|
|
239
|
-
# Management][1].
|
|
231
|
+
# information, see [Control CloudFormation access with Identity and
|
|
232
|
+
# Access Management][1].
|
|
240
233
|
#
|
|
241
234
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
|
242
235
|
# specified.
|
|
@@ -264,6 +257,14 @@ module Aws::CloudFormation
|
|
|
264
257
|
# must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify
|
|
265
258
|
# either `OnFailure` or `DisableRollback`, but not both.
|
|
266
259
|
#
|
|
260
|
+
# <note markdown="1"> Although the default setting is `ROLLBACK`, there is one exception.
|
|
261
|
+
# This exception occurs when a StackSet attempts to deploy a stack
|
|
262
|
+
# instance and the stack instance fails to create successfully. In this
|
|
263
|
+
# case, the `CreateStack` call overrides the default setting and sets
|
|
264
|
+
# the value of `OnFailure` to `DELETE`.
|
|
265
|
+
#
|
|
266
|
+
# </note>
|
|
267
|
+
#
|
|
267
268
|
# Default: `ROLLBACK`
|
|
268
269
|
# @option options [String] :stack_policy_body
|
|
269
270
|
# Structure that contains the stack policy body. For more information,
|
|
@@ -231,7 +231,7 @@ module Aws::CloudFormation
|
|
|
231
231
|
# The detailed status of the resource or stack. If
|
|
232
232
|
# `CONFIGURATION_COMPLETE` is present, the resource or resource
|
|
233
233
|
# configuration phase has completed and the stabilization of the
|
|
234
|
-
# resources is in progress. The
|
|
234
|
+
# resources is in progress. The StackSets `CONFIGURATION_COMPLETE` when
|
|
235
235
|
# all of the resources in the stack have reached that event. For more
|
|
236
236
|
# information, see [Understand CloudFormation stack creation events][1]
|
|
237
237
|
# in the *CloudFormation User Guide*.
|
|
@@ -244,6 +244,12 @@ module Aws::CloudFormation
|
|
|
244
244
|
data[:detailed_status]
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
# Information about the most recent operations performed on this stack.
|
|
248
|
+
# @return [Array<Types::OperationEntry>]
|
|
249
|
+
def last_operations
|
|
250
|
+
data[:last_operations]
|
|
251
|
+
end
|
|
252
|
+
|
|
247
253
|
# @!endgroup
|
|
248
254
|
|
|
249
255
|
# @return [Client]
|
|
@@ -612,22 +618,15 @@ module Aws::CloudFormation
|
|
|
612
618
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
|
613
619
|
# [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
|
|
614
620
|
# @option options [Array<String>] :resource_types
|
|
615
|
-
#
|
|
616
|
-
#
|
|
617
|
-
# or `Custom::MyCustomInstance`. Use the following syntax to describe
|
|
618
|
-
# template resource types: `AWS::*` (for all Amazon Web Services
|
|
619
|
-
# resources), `Custom::*` (for all custom resources),
|
|
620
|
-
# `Custom::logical_ID ` (for a specific custom resource),
|
|
621
|
-
# `AWS::service_name::*` (for all resources of a particular Amazon Web
|
|
622
|
-
# Services service), and `AWS::service_name::resource_logical_ID ` (for
|
|
623
|
-
# a specific Amazon Web Services resource).
|
|
621
|
+
# Specifies which resource types you can work with, such as
|
|
622
|
+
# `AWS::EC2::Instance` or `Custom::MyCustomInstance`.
|
|
624
623
|
#
|
|
625
624
|
# If the list of resource types doesn't include a resource that you're
|
|
626
625
|
# creating, the stack creation fails. By default, CloudFormation grants
|
|
627
626
|
# permissions to all resource types. IAM uses this parameter for
|
|
628
627
|
# CloudFormation-specific condition keys in IAM policies. For more
|
|
629
|
-
# information, see [Control access with Identity and
|
|
630
|
-
# Management][1].
|
|
628
|
+
# information, see [Control CloudFormation access with Identity and
|
|
629
|
+
# Access Management][1].
|
|
631
630
|
#
|
|
632
631
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
|
633
632
|
# specified.
|
|
@@ -655,6 +654,14 @@ module Aws::CloudFormation
|
|
|
655
654
|
# must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify
|
|
656
655
|
# either `OnFailure` or `DisableRollback`, but not both.
|
|
657
656
|
#
|
|
657
|
+
# <note markdown="1"> Although the default setting is `ROLLBACK`, there is one exception.
|
|
658
|
+
# This exception occurs when a StackSet attempts to deploy a stack
|
|
659
|
+
# instance and the stack instance fails to create successfully. In this
|
|
660
|
+
# case, the `CreateStack` call overrides the default setting and sets
|
|
661
|
+
# the value of `OnFailure` to `DELETE`.
|
|
662
|
+
#
|
|
663
|
+
# </note>
|
|
664
|
+
#
|
|
658
665
|
# Default: `ROLLBACK`
|
|
659
666
|
# @option options [String] :stack_policy_body
|
|
660
667
|
# Structure that contains the stack policy body. For more information,
|
|
@@ -852,9 +859,19 @@ module Aws::CloudFormation
|
|
|
852
859
|
# Reuse the existing template that is associated with the stack that you
|
|
853
860
|
# are updating.
|
|
854
861
|
#
|
|
862
|
+
# When using templates with the `AWS::LanguageExtensions` transform,
|
|
863
|
+
# provide the template instead of using `UsePreviousTemplate` to ensure
|
|
864
|
+
# new parameter values and Systems Manager parameter updates are applied
|
|
865
|
+
# correctly. For more information, see [AWS::LanguageExtensions
|
|
866
|
+
# transform][1].
|
|
867
|
+
#
|
|
855
868
|
# Conditional: You must specify only one of the following parameters:
|
|
856
869
|
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
|
857
870
|
# `true`.
|
|
871
|
+
#
|
|
872
|
+
#
|
|
873
|
+
#
|
|
874
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html
|
|
858
875
|
# @option options [String] :stack_policy_during_update_body
|
|
859
876
|
# Structure that contains the temporary overriding stack policy body.
|
|
860
877
|
# You can specify either the `StackPolicyDuringUpdateBody` or the
|
|
@@ -979,16 +996,15 @@ module Aws::CloudFormation
|
|
|
979
996
|
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
|
980
997
|
# [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
|
|
981
998
|
# @option options [Array<String>] :resource_types
|
|
982
|
-
#
|
|
983
|
-
#
|
|
984
|
-
# or `Custom::MyCustomInstance`.
|
|
999
|
+
# Specifies which resource types you can work with, such as
|
|
1000
|
+
# `AWS::EC2::Instance` or `Custom::MyCustomInstance`.
|
|
985
1001
|
#
|
|
986
1002
|
# If the list of resource types doesn't include a resource that you're
|
|
987
1003
|
# updating, the stack update fails. By default, CloudFormation grants
|
|
988
1004
|
# permissions to all resource types. IAM uses this parameter for
|
|
989
1005
|
# CloudFormation-specific condition keys in IAM policies. For more
|
|
990
|
-
# information, see [Control access with Identity and
|
|
991
|
-
# Management][1].
|
|
1006
|
+
# information, see [Control CloudFormation access with Identity and
|
|
1007
|
+
# Access Management][1].
|
|
992
1008
|
#
|
|
993
1009
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
|
994
1010
|
# specified.
|