aws-sdk-cloudformation 1.0.0.rc12 → 1.0.0.rc13
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/lib/aws-sdk-cloudformation.rb +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +67 -7
- data/lib/aws-sdk-cloudformation/client_api.rb +21 -0
- data/lib/aws-sdk-cloudformation/resource.rb +13 -0
- data/lib/aws-sdk-cloudformation/stack.rb +34 -0
- data/lib/aws-sdk-cloudformation/types.rb +271 -27
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9acecb51926651dacf315f1af7463fed93ab5c58
|
4
|
+
data.tar.gz: 336671affc03a101c56faae276464e119b6b01d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7bc802df89145de9e1aefb1175f63403550a5424f4a9afc14fed6b3ebb472ab13c1abe1f42be6e539059c405a84c1d62f3d950f9954cc9467864a16056f8b6e
|
7
|
+
data.tar.gz: d42d6d50cbb2a05c9e54fd6ec9c579d483265352c768c8fc1b6e5c25598796f44bac6dad2c355d30f921e17451a754807099e8e78647da6b0b796e5377870ea7
|
@@ -423,6 +423,11 @@ module Aws::CloudFormation
|
|
423
423
|
# CloudFormation uses a temporary session that is generated from your
|
424
424
|
# user credentials.
|
425
425
|
#
|
426
|
+
# @option params [Types::RollbackConfiguration] :rollback_configuration
|
427
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
428
|
+
# creation and updating operations, and for the specified monitoring
|
429
|
+
# period afterwards.
|
430
|
+
#
|
426
431
|
# @option params [Array<String>] :notification_arns
|
427
432
|
# The Amazon Resource Names (ARNs) of Amazon Simple Notification Service
|
428
433
|
# (Amazon SNS) topics that AWS CloudFormation associates with the stack.
|
@@ -491,6 +496,15 @@ module Aws::CloudFormation
|
|
491
496
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
492
497
|
# resource_types: ["ResourceType"],
|
493
498
|
# role_arn: "RoleARN",
|
499
|
+
# rollback_configuration: {
|
500
|
+
# rollback_triggers: [
|
501
|
+
# {
|
502
|
+
# arn: "Arn", # required
|
503
|
+
# type: "Type", # required
|
504
|
+
# },
|
505
|
+
# ],
|
506
|
+
# monitoring_time_in_minutes: 1,
|
507
|
+
# },
|
494
508
|
# notification_arns: ["NotificationARN"],
|
495
509
|
# tags: [
|
496
510
|
# {
|
@@ -572,6 +586,11 @@ module Aws::CloudFormation
|
|
572
586
|
#
|
573
587
|
# Default: `false`
|
574
588
|
#
|
589
|
+
# @option params [Types::RollbackConfiguration] :rollback_configuration
|
590
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
591
|
+
# creation and updating operations, and for the specified monitoring
|
592
|
+
# period afterwards.
|
593
|
+
#
|
575
594
|
# @option params [Integer] :timeout_in_minutes
|
576
595
|
# The amount of time that can pass before the stack status becomes
|
577
596
|
# CREATE\_FAILED; if `DisableRollback` is not set or is set to `false`,
|
@@ -721,6 +740,15 @@ module Aws::CloudFormation
|
|
721
740
|
# },
|
722
741
|
# ],
|
723
742
|
# disable_rollback: false,
|
743
|
+
# rollback_configuration: {
|
744
|
+
# rollback_triggers: [
|
745
|
+
# {
|
746
|
+
# arn: "Arn", # required
|
747
|
+
# type: "Type", # required
|
748
|
+
# },
|
749
|
+
# ],
|
750
|
+
# monitoring_time_in_minutes: 1,
|
751
|
+
# },
|
724
752
|
# timeout_in_minutes: 1,
|
725
753
|
# notification_arns: ["NotificationARN"],
|
726
754
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -1096,6 +1124,12 @@ module Aws::CloudFormation
|
|
1096
1124
|
# delete the stacks. You can't reassociate a retained stack or add an
|
1097
1125
|
# existing, saved stack to a new stack set.
|
1098
1126
|
#
|
1127
|
+
# For more information, see [Stack set operation options][1].
|
1128
|
+
#
|
1129
|
+
#
|
1130
|
+
#
|
1131
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options
|
1132
|
+
#
|
1099
1133
|
# @option params [String] :operation_id
|
1100
1134
|
# The unique identifier for this stack set operation.
|
1101
1135
|
#
|
@@ -1241,6 +1275,7 @@ module Aws::CloudFormation
|
|
1241
1275
|
# * {Types::DescribeChangeSetOutput#status #status} => String
|
1242
1276
|
# * {Types::DescribeChangeSetOutput#status_reason #status_reason} => String
|
1243
1277
|
# * {Types::DescribeChangeSetOutput#notification_arns #notification_arns} => Array<String>
|
1278
|
+
# * {Types::DescribeChangeSetOutput#rollback_configuration #rollback_configuration} => Types::RollbackConfiguration
|
1244
1279
|
# * {Types::DescribeChangeSetOutput#capabilities #capabilities} => Array<String>
|
1245
1280
|
# * {Types::DescribeChangeSetOutput#tags #tags} => Array<Types::Tag>
|
1246
1281
|
# * {Types::DescribeChangeSetOutput#changes #changes} => Array<Types::Change>
|
@@ -1271,6 +1306,10 @@ module Aws::CloudFormation
|
|
1271
1306
|
# resp.status_reason #=> String
|
1272
1307
|
# resp.notification_arns #=> Array
|
1273
1308
|
# resp.notification_arns[0] #=> String
|
1309
|
+
# resp.rollback_configuration.rollback_triggers #=> Array
|
1310
|
+
# resp.rollback_configuration.rollback_triggers[0].arn #=> String
|
1311
|
+
# resp.rollback_configuration.rollback_triggers[0].type #=> String
|
1312
|
+
# resp.rollback_configuration.monitoring_time_in_minutes #=> Integer
|
1274
1313
|
# resp.capabilities #=> Array
|
1275
1314
|
# resp.capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM"
|
1276
1315
|
# resp.tags #=> Array
|
@@ -1699,6 +1738,10 @@ module Aws::CloudFormation
|
|
1699
1738
|
# resp.stacks[0].parameters[0].use_previous_value #=> Boolean
|
1700
1739
|
# resp.stacks[0].creation_time #=> Time
|
1701
1740
|
# resp.stacks[0].last_updated_time #=> Time
|
1741
|
+
# resp.stacks[0].rollback_configuration.rollback_triggers #=> Array
|
1742
|
+
# resp.stacks[0].rollback_configuration.rollback_triggers[0].arn #=> String
|
1743
|
+
# resp.stacks[0].rollback_configuration.rollback_triggers[0].type #=> String
|
1744
|
+
# resp.stacks[0].rollback_configuration.monitoring_time_in_minutes #=> Integer
|
1702
1745
|
# resp.stacks[0].stack_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_FAILED", "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "REVIEW_IN_PROGRESS"
|
1703
1746
|
# resp.stacks[0].stack_status_reason #=> String
|
1704
1747
|
# resp.stacks[0].disable_rollback #=> Boolean
|
@@ -1933,11 +1976,11 @@ module Aws::CloudFormation
|
|
1933
1976
|
# Returns information about a new or existing template. The
|
1934
1977
|
# `GetTemplateSummary` action is useful for viewing parameter
|
1935
1978
|
# information, such as default parameter values and parameter types,
|
1936
|
-
# before you create or update a stack.
|
1979
|
+
# before you create or update a stack or stack set.
|
1937
1980
|
#
|
1938
1981
|
# You can use the `GetTemplateSummary` action when you submit a
|
1939
|
-
# template, or you can get template information for a
|
1940
|
-
# stack.
|
1982
|
+
# template, or you can get template information for a stack set, or a
|
1983
|
+
# running or deleted stack.
|
1941
1984
|
#
|
1942
1985
|
# For deleted stacks, `GetTemplateSummary` returns the template
|
1943
1986
|
# information for up to 90 days after the stack has been deleted. If the
|
@@ -1950,7 +1993,7 @@ module Aws::CloudFormation
|
|
1950
1993
|
# Guide.
|
1951
1994
|
#
|
1952
1995
|
# Conditional: You must specify only one of the following parameters:
|
1953
|
-
# `StackName`, `TemplateBody`, or `TemplateURL`.
|
1996
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
1954
1997
|
#
|
1955
1998
|
#
|
1956
1999
|
#
|
@@ -1963,7 +2006,7 @@ module Aws::CloudFormation
|
|
1963
2006
|
# Anatomy][1] in the AWS CloudFormation User Guide.
|
1964
2007
|
#
|
1965
2008
|
# Conditional: You must specify only one of the following parameters:
|
1966
|
-
# `StackName`, `TemplateBody`, or `TemplateURL`.
|
2009
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
1967
2010
|
#
|
1968
2011
|
#
|
1969
2012
|
#
|
@@ -1976,12 +2019,15 @@ module Aws::CloudFormation
|
|
1976
2019
|
# specify the unique stack ID.
|
1977
2020
|
#
|
1978
2021
|
# Conditional: You must specify only one of the following parameters:
|
1979
|
-
# `StackName`, `TemplateBody`, or `TemplateURL`.
|
2022
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
1980
2023
|
#
|
1981
2024
|
# @option params [String] :stack_set_name
|
1982
2025
|
# The name or unique ID of the stack set from which the stack was
|
1983
2026
|
# created.
|
1984
2027
|
#
|
2028
|
+
# Conditional: You must specify only one of the following parameters:
|
2029
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
2030
|
+
#
|
1985
2031
|
# @return [Types::GetTemplateSummaryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1986
2032
|
#
|
1987
2033
|
# * {Types::GetTemplateSummaryOutput#parameters #parameters} => Array<Types::ParameterDeclaration>
|
@@ -2767,6 +2813,11 @@ module Aws::CloudFormation
|
|
2767
2813
|
# CloudFormation uses a temporary session that is generated from your
|
2768
2814
|
# user credentials.
|
2769
2815
|
#
|
2816
|
+
# @option params [Types::RollbackConfiguration] :rollback_configuration
|
2817
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
2818
|
+
# creation and updating operations, and for the specified monitoring
|
2819
|
+
# period afterwards.
|
2820
|
+
#
|
2770
2821
|
# @option params [String] :stack_policy_body
|
2771
2822
|
# Structure containing a new stack policy body. You can specify either
|
2772
2823
|
# the `StackPolicyBody` or the `StackPolicyURL` parameter, but not both.
|
@@ -2845,6 +2896,15 @@ module Aws::CloudFormation
|
|
2845
2896
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
2846
2897
|
# resource_types: ["ResourceType"],
|
2847
2898
|
# role_arn: "RoleARN",
|
2899
|
+
# rollback_configuration: {
|
2900
|
+
# rollback_triggers: [
|
2901
|
+
# {
|
2902
|
+
# arn: "Arn", # required
|
2903
|
+
# type: "Type", # required
|
2904
|
+
# },
|
2905
|
+
# ],
|
2906
|
+
# monitoring_time_in_minutes: 1,
|
2907
|
+
# },
|
2848
2908
|
# stack_policy_body: "StackPolicyBody",
|
2849
2909
|
# stack_policy_url: "StackPolicyURL",
|
2850
2910
|
# notification_arns: ["NotificationARN"],
|
@@ -3143,7 +3203,7 @@ module Aws::CloudFormation
|
|
3143
3203
|
params: params,
|
3144
3204
|
config: config)
|
3145
3205
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
3146
|
-
context[:gem_version] = '1.0.0.
|
3206
|
+
context[:gem_version] = '1.0.0.rc13'
|
3147
3207
|
Seahorse::Client::Request.new(handlers, context)
|
3148
3208
|
end
|
3149
3209
|
|
@@ -21,6 +21,7 @@ module Aws::CloudFormation
|
|
21
21
|
AllowedValue = Shapes::StringShape.new(name: 'AllowedValue')
|
22
22
|
AllowedValues = Shapes::ListShape.new(name: 'AllowedValues')
|
23
23
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
24
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
24
25
|
CancelUpdateStackInput = Shapes::StructureShape.new(name: 'CancelUpdateStackInput')
|
25
26
|
Capabilities = Shapes::ListShape.new(name: 'Capabilities')
|
26
27
|
CapabilitiesReason = Shapes::StringShape.new(name: 'CapabilitiesReason')
|
@@ -132,6 +133,7 @@ module Aws::CloudFormation
|
|
132
133
|
MaxConcurrentPercentage = Shapes::IntegerShape.new(name: 'MaxConcurrentPercentage')
|
133
134
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
134
135
|
Metadata = Shapes::StringShape.new(name: 'Metadata')
|
136
|
+
MonitoringTimeInMinutes = Shapes::IntegerShape.new(name: 'MonitoringTimeInMinutes')
|
135
137
|
NameAlreadyExistsException = Shapes::StructureShape.new(name: 'NameAlreadyExistsException')
|
136
138
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
137
139
|
NoEcho = Shapes::BooleanShape.new(name: 'NoEcho')
|
@@ -178,6 +180,9 @@ module Aws::CloudFormation
|
|
178
180
|
RetainStacks = Shapes::BooleanShape.new(name: 'RetainStacks')
|
179
181
|
RetainStacksNullable = Shapes::BooleanShape.new(name: 'RetainStacksNullable')
|
180
182
|
RoleARN = Shapes::StringShape.new(name: 'RoleARN')
|
183
|
+
RollbackConfiguration = Shapes::StructureShape.new(name: 'RollbackConfiguration')
|
184
|
+
RollbackTrigger = Shapes::StructureShape.new(name: 'RollbackTrigger')
|
185
|
+
RollbackTriggers = Shapes::ListShape.new(name: 'RollbackTriggers')
|
181
186
|
Scope = Shapes::ListShape.new(name: 'Scope')
|
182
187
|
SetStackPolicyInput = Shapes::StructureShape.new(name: 'SetStackPolicyInput')
|
183
188
|
SignalResourceInput = Shapes::StructureShape.new(name: 'SignalResourceInput')
|
@@ -244,6 +249,7 @@ module Aws::CloudFormation
|
|
244
249
|
TokenAlreadyExistsException = Shapes::StructureShape.new(name: 'TokenAlreadyExistsException')
|
245
250
|
TransformName = Shapes::StringShape.new(name: 'TransformName')
|
246
251
|
TransformsList = Shapes::ListShape.new(name: 'TransformsList')
|
252
|
+
Type = Shapes::StringShape.new(name: 'Type')
|
247
253
|
UpdateStackInput = Shapes::StructureShape.new(name: 'UpdateStackInput')
|
248
254
|
UpdateStackOutput = Shapes::StructureShape.new(name: 'UpdateStackOutput')
|
249
255
|
UpdateStackSetInput = Shapes::StructureShape.new(name: 'UpdateStackSetInput')
|
@@ -310,6 +316,7 @@ module Aws::CloudFormation
|
|
310
316
|
CreateChangeSetInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities"))
|
311
317
|
CreateChangeSetInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
312
318
|
CreateChangeSetInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
319
|
+
CreateChangeSetInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration"))
|
313
320
|
CreateChangeSetInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs"))
|
314
321
|
CreateChangeSetInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
315
322
|
CreateChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, required: true, location_name: "ChangeSetName"))
|
@@ -327,6 +334,7 @@ module Aws::CloudFormation
|
|
327
334
|
CreateStackInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL"))
|
328
335
|
CreateStackInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
|
329
336
|
CreateStackInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback"))
|
337
|
+
CreateStackInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration"))
|
330
338
|
CreateStackInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeoutMinutes, location_name: "TimeoutInMinutes"))
|
331
339
|
CreateStackInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs"))
|
332
340
|
CreateStackInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities"))
|
@@ -416,6 +424,7 @@ module Aws::CloudFormation
|
|
416
424
|
DescribeChangeSetOutput.add_member(:status, Shapes::ShapeRef.new(shape: ChangeSetStatus, location_name: "Status"))
|
417
425
|
DescribeChangeSetOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: ChangeSetStatusReason, location_name: "StatusReason"))
|
418
426
|
DescribeChangeSetOutput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs"))
|
427
|
+
DescribeChangeSetOutput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration"))
|
419
428
|
DescribeChangeSetOutput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities"))
|
420
429
|
DescribeChangeSetOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
421
430
|
DescribeChangeSetOutput.add_member(:changes, Shapes::ShapeRef.new(shape: Changes, location_name: "Changes"))
|
@@ -667,6 +676,16 @@ module Aws::CloudFormation
|
|
667
676
|
|
668
677
|
RetainResources.member = Shapes::ShapeRef.new(shape: LogicalResourceId)
|
669
678
|
|
679
|
+
RollbackConfiguration.add_member(:rollback_triggers, Shapes::ShapeRef.new(shape: RollbackTriggers, location_name: "RollbackTriggers"))
|
680
|
+
RollbackConfiguration.add_member(:monitoring_time_in_minutes, Shapes::ShapeRef.new(shape: MonitoringTimeInMinutes, location_name: "MonitoringTimeInMinutes"))
|
681
|
+
RollbackConfiguration.struct_class = Types::RollbackConfiguration
|
682
|
+
|
683
|
+
RollbackTrigger.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
684
|
+
RollbackTrigger.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
|
685
|
+
RollbackTrigger.struct_class = Types::RollbackTrigger
|
686
|
+
|
687
|
+
RollbackTriggers.member = Shapes::ShapeRef.new(shape: RollbackTrigger)
|
688
|
+
|
670
689
|
Scope.member = Shapes::ShapeRef.new(shape: ResourceAttribute)
|
671
690
|
|
672
691
|
SetStackPolicyInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
|
@@ -687,6 +706,7 @@ module Aws::CloudFormation
|
|
687
706
|
Stack.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
|
688
707
|
Stack.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "CreationTime"))
|
689
708
|
Stack.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime"))
|
709
|
+
Stack.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration"))
|
690
710
|
Stack.add_member(:stack_status, Shapes::ShapeRef.new(shape: StackStatus, required: true, location_name: "StackStatus"))
|
691
711
|
Stack.add_member(:stack_status_reason, Shapes::ShapeRef.new(shape: StackStatusReason, location_name: "StackStatusReason"))
|
692
712
|
Stack.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback"))
|
@@ -869,6 +889,7 @@ module Aws::CloudFormation
|
|
869
889
|
UpdateStackInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities"))
|
870
890
|
UpdateStackInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
871
891
|
UpdateStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
892
|
+
UpdateStackInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration"))
|
872
893
|
UpdateStackInput.add_member(:stack_policy_body, Shapes::ShapeRef.new(shape: StackPolicyBody, location_name: "StackPolicyBody"))
|
873
894
|
UpdateStackInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL"))
|
874
895
|
UpdateStackInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs"))
|
@@ -35,6 +35,15 @@ module Aws::CloudFormation
|
|
35
35
|
# },
|
36
36
|
# ],
|
37
37
|
# disable_rollback: false,
|
38
|
+
# rollback_configuration: {
|
39
|
+
# rollback_triggers: [
|
40
|
+
# {
|
41
|
+
# arn: "Arn", # required
|
42
|
+
# type: "Type", # required
|
43
|
+
# },
|
44
|
+
# ],
|
45
|
+
# monitoring_time_in_minutes: 1,
|
46
|
+
# },
|
38
47
|
# timeout_in_minutes: 1,
|
39
48
|
# notification_arns: ["NotificationARN"],
|
40
49
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -97,6 +106,10 @@ module Aws::CloudFormation
|
|
97
106
|
# not both.
|
98
107
|
#
|
99
108
|
# Default: `false`
|
109
|
+
# @option options [Types::RollbackConfiguration] :rollback_configuration
|
110
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
111
|
+
# creation and updating operations, and for the specified monitoring
|
112
|
+
# period afterwards.
|
100
113
|
# @option options [Integer] :timeout_in_minutes
|
101
114
|
# The amount of time that can pass before the stack status becomes
|
102
115
|
# CREATE\_FAILED; if `DisableRollback` is not set or is set to `false`,
|
@@ -68,6 +68,14 @@ module Aws::CloudFormation
|
|
68
68
|
data.last_updated_time
|
69
69
|
end
|
70
70
|
|
71
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
72
|
+
# creation and updating operations, and for the specified monitoring
|
73
|
+
# period afterwards.
|
74
|
+
# @return [Types::RollbackConfiguration]
|
75
|
+
def rollback_configuration
|
76
|
+
data.rollback_configuration
|
77
|
+
end
|
78
|
+
|
71
79
|
# Current status of the stack.
|
72
80
|
# @return [String]
|
73
81
|
def stack_status
|
@@ -229,6 +237,15 @@ module Aws::CloudFormation
|
|
229
237
|
# },
|
230
238
|
# ],
|
231
239
|
# disable_rollback: false,
|
240
|
+
# rollback_configuration: {
|
241
|
+
# rollback_triggers: [
|
242
|
+
# {
|
243
|
+
# arn: "Arn", # required
|
244
|
+
# type: "Type", # required
|
245
|
+
# },
|
246
|
+
# ],
|
247
|
+
# monitoring_time_in_minutes: 1,
|
248
|
+
# },
|
232
249
|
# timeout_in_minutes: 1,
|
233
250
|
# notification_arns: ["NotificationARN"],
|
234
251
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -282,6 +299,10 @@ module Aws::CloudFormation
|
|
282
299
|
# not both.
|
283
300
|
#
|
284
301
|
# Default: `false`
|
302
|
+
# @option options [Types::RollbackConfiguration] :rollback_configuration
|
303
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
304
|
+
# creation and updating operations, and for the specified monitoring
|
305
|
+
# period afterwards.
|
285
306
|
# @option options [Integer] :timeout_in_minutes
|
286
307
|
# The amount of time that can pass before the stack status becomes
|
287
308
|
# CREATE\_FAILED; if `DisableRollback` is not set or is set to `false`,
|
@@ -481,6 +502,15 @@ module Aws::CloudFormation
|
|
481
502
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
482
503
|
# resource_types: ["ResourceType"],
|
483
504
|
# role_arn: "RoleARN",
|
505
|
+
# rollback_configuration: {
|
506
|
+
# rollback_triggers: [
|
507
|
+
# {
|
508
|
+
# arn: "Arn", # required
|
509
|
+
# type: "Type", # required
|
510
|
+
# },
|
511
|
+
# ],
|
512
|
+
# monitoring_time_in_minutes: 1,
|
513
|
+
# },
|
484
514
|
# stack_policy_body: "StackPolicyBody",
|
485
515
|
# stack_policy_url: "StackPolicyURL",
|
486
516
|
# notification_arns: ["NotificationARN"],
|
@@ -615,6 +645,10 @@ module Aws::CloudFormation
|
|
615
645
|
# was previously associated with the stack. If no role is available, AWS
|
616
646
|
# CloudFormation uses a temporary session that is generated from your
|
617
647
|
# user credentials.
|
648
|
+
# @option options [Types::RollbackConfiguration] :rollback_configuration
|
649
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
650
|
+
# creation and updating operations, and for the specified monitoring
|
651
|
+
# period afterwards.
|
618
652
|
# @option options [String] :stack_policy_body
|
619
653
|
# Structure containing a new stack policy body. You can specify either
|
620
654
|
# the `StackPolicyBody` or the `StackPolicyURL` parameter, but not both.
|
@@ -8,38 +8,60 @@
|
|
8
8
|
module Aws::CloudFormation
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# Structure that contains the results of the account gate function
|
12
|
-
# CloudFormation
|
13
|
-
#
|
11
|
+
# Structure that contains the results of the account gate function which
|
12
|
+
# AWS CloudFormation invokes, if present, before proceeding with a stack
|
13
|
+
# set operation in an account and region.
|
14
14
|
#
|
15
|
-
#
|
16
|
-
# that encapsulates any requirements that must be met
|
17
|
-
# CloudFormation
|
18
|
-
# account. CloudFormation invokes the function each time
|
19
|
-
#
|
20
|
-
# function returns
|
15
|
+
# For each account and region, AWS CloudFormation lets you specify a
|
16
|
+
# Lamdba function that encapsulates any requirements that must be met
|
17
|
+
# before CloudFormation can proceed with a stack set operation in that
|
18
|
+
# account and region. CloudFormation invokes the function each time a
|
19
|
+
# stack set operation is requested for that account and region; if the
|
20
|
+
# function returns `FAILED`, CloudFormation cancels the operation in
|
21
|
+
# that account and region, and sets the stack set operation result
|
22
|
+
# status for that account and region to `FAILED`.
|
23
|
+
#
|
24
|
+
# For more information, see [Configuring a target account gate][1].
|
25
|
+
#
|
26
|
+
#
|
27
|
+
#
|
28
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html
|
21
29
|
#
|
22
30
|
# @!attribute [rw] status
|
23
31
|
# The status of the account gate function.
|
24
32
|
#
|
25
33
|
# * `SUCCEEDED`\: The account gate function has determined that the
|
26
|
-
# account passes any requirements for stack set
|
27
|
-
# AWS CloudFormation proceeds with
|
34
|
+
# account and region passes any requirements for a stack set
|
35
|
+
# operation to occur. AWS CloudFormation proceeds with the stack
|
36
|
+
# operation in that account and region.
|
28
37
|
#
|
29
38
|
# * `FAILED`\: The account gate function has determined that the
|
30
|
-
# account does not meet the requirements for stack set
|
31
|
-
# occur. AWS CloudFormation cancels the stack set
|
32
|
-
# account, and the stack set
|
39
|
+
# account and region does not meet the requirements for a stack set
|
40
|
+
# operation to occur. AWS CloudFormation cancels the stack set
|
41
|
+
# operation in that account and region, and sets the stack set
|
42
|
+
# operation result status for that account and region to `FAILED`.
|
33
43
|
#
|
34
|
-
# * `SKIPPED`\:
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# the account
|
44
|
+
# * `SKIPPED`\: AWS CloudFormation has skipped calling the account
|
45
|
+
# gate function for this account and region, for one of the
|
46
|
+
# following reasons:
|
47
|
+
#
|
48
|
+
# * An account gate function has not been specified for the account
|
49
|
+
# and region. AWS CloudFormation proceeds with the stack set
|
50
|
+
# operation in this account and region.
|
51
|
+
#
|
52
|
+
# * The `AWSCloudFormationStackSetExecutionRole` of the stack set
|
53
|
+
# adminstration account lacks permissions to invoke the function.
|
54
|
+
# AWS CloudFormation proceeds with the stack set operation in this
|
55
|
+
# account and region.
|
56
|
+
#
|
57
|
+
# * Either no action is necessary, or no action is possible, on the
|
58
|
+
# stack. AWS CloudFormation skips the stack set operation in this
|
59
|
+
# account and region.
|
39
60
|
# @return [String]
|
40
61
|
#
|
41
62
|
# @!attribute [rw] status_reason
|
42
|
-
# The reason for the account gate status assigned to this account
|
63
|
+
# The reason for the account gate status assigned to this account and
|
64
|
+
# region for the stack set operation.
|
43
65
|
# @return [String]
|
44
66
|
#
|
45
67
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountGateResult AWS API Documentation
|
@@ -312,6 +334,15 @@ module Aws::CloudFormation
|
|
312
334
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
313
335
|
# resource_types: ["ResourceType"],
|
314
336
|
# role_arn: "RoleARN",
|
337
|
+
# rollback_configuration: {
|
338
|
+
# rollback_triggers: [
|
339
|
+
# {
|
340
|
+
# arn: "Arn", # required
|
341
|
+
# type: "Type", # required
|
342
|
+
# },
|
343
|
+
# ],
|
344
|
+
# monitoring_time_in_minutes: 1,
|
345
|
+
# },
|
315
346
|
# notification_arns: ["NotificationARN"],
|
316
347
|
# tags: [
|
317
348
|
# {
|
@@ -437,6 +468,12 @@ module Aws::CloudFormation
|
|
437
468
|
# your user credentials.
|
438
469
|
# @return [String]
|
439
470
|
#
|
471
|
+
# @!attribute [rw] rollback_configuration
|
472
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
473
|
+
# creation and updating operations, and for the specified monitoring
|
474
|
+
# period afterwards.
|
475
|
+
# @return [Types::RollbackConfiguration]
|
476
|
+
#
|
440
477
|
# @!attribute [rw] notification_arns
|
441
478
|
# The Amazon Resource Names (ARNs) of Amazon Simple Notification
|
442
479
|
# Service (Amazon SNS) topics that AWS CloudFormation associates with
|
@@ -501,6 +538,7 @@ module Aws::CloudFormation
|
|
501
538
|
:capabilities,
|
502
539
|
:resource_types,
|
503
540
|
:role_arn,
|
541
|
+
:rollback_configuration,
|
504
542
|
:notification_arns,
|
505
543
|
:tags,
|
506
544
|
:change_set_name,
|
@@ -545,6 +583,15 @@ module Aws::CloudFormation
|
|
545
583
|
# },
|
546
584
|
# ],
|
547
585
|
# disable_rollback: false,
|
586
|
+
# rollback_configuration: {
|
587
|
+
# rollback_triggers: [
|
588
|
+
# {
|
589
|
+
# arn: "Arn", # required
|
590
|
+
# type: "Type", # required
|
591
|
+
# },
|
592
|
+
# ],
|
593
|
+
# monitoring_time_in_minutes: 1,
|
594
|
+
# },
|
548
595
|
# timeout_in_minutes: 1,
|
549
596
|
# notification_arns: ["NotificationARN"],
|
550
597
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -617,6 +664,12 @@ module Aws::CloudFormation
|
|
617
664
|
# Default: `false`
|
618
665
|
# @return [Boolean]
|
619
666
|
#
|
667
|
+
# @!attribute [rw] rollback_configuration
|
668
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
669
|
+
# creation and updating operations, and for the specified monitoring
|
670
|
+
# period afterwards.
|
671
|
+
# @return [Types::RollbackConfiguration]
|
672
|
+
#
|
620
673
|
# @!attribute [rw] timeout_in_minutes
|
621
674
|
# The amount of time that can pass before the stack status becomes
|
622
675
|
# CREATE\_FAILED; if `DisableRollback` is not set or is set to
|
@@ -769,6 +822,7 @@ module Aws::CloudFormation
|
|
769
822
|
:template_url,
|
770
823
|
:parameters,
|
771
824
|
:disable_rollback,
|
825
|
+
:rollback_configuration,
|
772
826
|
:timeout_in_minutes,
|
773
827
|
:notification_arns,
|
774
828
|
:capabilities,
|
@@ -1186,6 +1240,12 @@ module Aws::CloudFormation
|
|
1186
1240
|
# Removes the stack instances from the specified stack set, but
|
1187
1241
|
# doesn't delete the stacks. You can't reassociate a retained stack
|
1188
1242
|
# or add an existing, saved stack to a new stack set.
|
1243
|
+
#
|
1244
|
+
# For more information, see [Stack set operation options][1].
|
1245
|
+
#
|
1246
|
+
#
|
1247
|
+
#
|
1248
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options
|
1189
1249
|
# @return [Boolean]
|
1190
1250
|
#
|
1191
1251
|
# @!attribute [rw] operation_id
|
@@ -1391,6 +1451,12 @@ module Aws::CloudFormation
|
|
1391
1451
|
# change set.
|
1392
1452
|
# @return [Array<String>]
|
1393
1453
|
#
|
1454
|
+
# @!attribute [rw] rollback_configuration
|
1455
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
1456
|
+
# creation and updating operations, and for the specified monitoring
|
1457
|
+
# period afterwards.
|
1458
|
+
# @return [Types::RollbackConfiguration]
|
1459
|
+
#
|
1394
1460
|
# @!attribute [rw] capabilities
|
1395
1461
|
# If you execute the change set, the list of capabilities that were
|
1396
1462
|
# explicitly acknowledged when the change set was created.
|
@@ -1425,6 +1491,7 @@ module Aws::CloudFormation
|
|
1425
1491
|
:status,
|
1426
1492
|
:status_reason,
|
1427
1493
|
:notification_arns,
|
1494
|
+
:rollback_configuration,
|
1428
1495
|
:capabilities,
|
1429
1496
|
:tags,
|
1430
1497
|
:changes,
|
@@ -2053,7 +2120,7 @@ module Aws::CloudFormation
|
|
2053
2120
|
# User Guide.
|
2054
2121
|
#
|
2055
2122
|
# Conditional: You must specify only one of the following parameters:
|
2056
|
-
# `StackName`, `TemplateBody`, or `TemplateURL`.
|
2123
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
2057
2124
|
#
|
2058
2125
|
#
|
2059
2126
|
#
|
@@ -2067,7 +2134,7 @@ module Aws::CloudFormation
|
|
2067
2134
|
# Anatomy][1] in the AWS CloudFormation User Guide.
|
2068
2135
|
#
|
2069
2136
|
# Conditional: You must specify only one of the following parameters:
|
2070
|
-
# `StackName`, `TemplateBody`, or `TemplateURL`.
|
2137
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
2071
2138
|
#
|
2072
2139
|
#
|
2073
2140
|
#
|
@@ -2081,12 +2148,15 @@ module Aws::CloudFormation
|
|
2081
2148
|
# you must specify the unique stack ID.
|
2082
2149
|
#
|
2083
2150
|
# Conditional: You must specify only one of the following parameters:
|
2084
|
-
# `StackName`, `TemplateBody`, or `TemplateURL`.
|
2151
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
2085
2152
|
# @return [String]
|
2086
2153
|
#
|
2087
2154
|
# @!attribute [rw] stack_set_name
|
2088
2155
|
# The name or unique ID of the stack set from which the stack was
|
2089
2156
|
# created.
|
2157
|
+
#
|
2158
|
+
# Conditional: You must specify only one of the following parameters:
|
2159
|
+
# `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`.
|
2090
2160
|
# @return [String]
|
2091
2161
|
#
|
2092
2162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput AWS API Documentation
|
@@ -2964,6 +3034,146 @@ module Aws::CloudFormation
|
|
2964
3034
|
include Aws::Structure
|
2965
3035
|
end
|
2966
3036
|
|
3037
|
+
# Structure containing the rollback triggers for AWS CloudFormation to
|
3038
|
+
# monitor during stack creation and updating operations, and for the
|
3039
|
+
# specified monitoring period afterwards.
|
3040
|
+
#
|
3041
|
+
# Rollback triggers enable you to have AWS CloudFormation monitor the
|
3042
|
+
# state of your application during stack creation and updating, and to
|
3043
|
+
# roll back that operation if the application breaches the threshold of
|
3044
|
+
# any of the alarms you've specified. For each rollback trigger you
|
3045
|
+
# create, you specify the Cloudwatch alarm that CloudFormation should
|
3046
|
+
# monitor. CloudFormation monitors the specified alarms during the stack
|
3047
|
+
# create or update operation, and for the specified amount of time after
|
3048
|
+
# all resources have been deployed. If any of the alarms goes to ALERT
|
3049
|
+
# state during the stack operation or the monitoring period,
|
3050
|
+
# CloudFormation rolls back the entire stack operation. If the
|
3051
|
+
# monitoring period expires without any alarms going to ALERT state,
|
3052
|
+
# CloudFormation proceeds to dispose of old resources as usual.
|
3053
|
+
#
|
3054
|
+
# By default, CloudFormation only rolls back stack operations if an
|
3055
|
+
# alarm goes to ALERT state, not INSUFFICIENT\_DATA state. To have
|
3056
|
+
# CloudFormation roll back the stack operation if an alarm goes to
|
3057
|
+
# INSUFFICIENT\_DATA state as well, edit the CloudWatch alarm to treat
|
3058
|
+
# missing data as `breaching`. For more information, see [Configuring
|
3059
|
+
# How CloudWatch Alarms Treats Missing Data][1].
|
3060
|
+
#
|
3061
|
+
# AWS CloudFormation does not monitor rollback triggers when it rolls
|
3062
|
+
# back a stack during an update operation.
|
3063
|
+
#
|
3064
|
+
#
|
3065
|
+
#
|
3066
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html
|
3067
|
+
#
|
3068
|
+
# @note When making an API call, you may pass RollbackConfiguration
|
3069
|
+
# data as a hash:
|
3070
|
+
#
|
3071
|
+
# {
|
3072
|
+
# rollback_triggers: [
|
3073
|
+
# {
|
3074
|
+
# arn: "Arn", # required
|
3075
|
+
# type: "Type", # required
|
3076
|
+
# },
|
3077
|
+
# ],
|
3078
|
+
# monitoring_time_in_minutes: 1,
|
3079
|
+
# }
|
3080
|
+
#
|
3081
|
+
# @!attribute [rw] rollback_triggers
|
3082
|
+
# The triggers to monitor during stack creation or update actions.
|
3083
|
+
#
|
3084
|
+
# By default, AWS CloudFormation saves the rollback triggers specified
|
3085
|
+
# for a stack and applies them to any subsequent update operations for
|
3086
|
+
# the stack, unless you specify otherwise. If you do specify rollback
|
3087
|
+
# triggers for this parameter, those triggers replace any list of
|
3088
|
+
# triggers previously specified for the stack. This means:
|
3089
|
+
#
|
3090
|
+
# * If you don't specify this parameter, AWS CloudFormation uses the
|
3091
|
+
# rollback triggers previously specified for this stack, if any.
|
3092
|
+
#
|
3093
|
+
# * If you specify any rollback triggers using this parameter, you
|
3094
|
+
# must specify all the triggers that you want used for this stack,
|
3095
|
+
# even triggers you've specifed before (for example, when creating
|
3096
|
+
# the stack or during a previous stack update). Any triggers that
|
3097
|
+
# you don't include in the updated list of triggers are no longer
|
3098
|
+
# applied to the stack.
|
3099
|
+
#
|
3100
|
+
# * If you specify an empty list, AWS CloudFormation removes all
|
3101
|
+
# currently specified triggers.
|
3102
|
+
#
|
3103
|
+
# If a specified Cloudwatch alarm is missing, the entire stack
|
3104
|
+
# operation fails and is rolled back.
|
3105
|
+
# @return [Array<Types::RollbackTrigger>]
|
3106
|
+
#
|
3107
|
+
# @!attribute [rw] monitoring_time_in_minutes
|
3108
|
+
# The amount of time, in minutes, during which CloudFormation should
|
3109
|
+
# monitor all the rollback triggers after the stack creation or update
|
3110
|
+
# operation deploys all necessary resources. If any of the alarms goes
|
3111
|
+
# to ALERT state during the stack operation or this monitoring period,
|
3112
|
+
# CloudFormation rolls back the entire stack operation. Then, for
|
3113
|
+
# update operations, if the monitoring period expires without any
|
3114
|
+
# alarms going to ALERT state CloudFormation proceeds to dispose of
|
3115
|
+
# old resources as usual.
|
3116
|
+
#
|
3117
|
+
# If you specify a monitoring period but do not specify any rollback
|
3118
|
+
# triggers, CloudFormation still waits the specified period of time
|
3119
|
+
# before cleaning up old resources for update operations. You can use
|
3120
|
+
# this monitoring period to perform any manual stack validation
|
3121
|
+
# desired, and manually cancel the stack creation or update (using
|
3122
|
+
# [CancelUpdateStack][1], for example) as necessary.
|
3123
|
+
#
|
3124
|
+
# If you specify 0 for this parameter, CloudFormation still monitors
|
3125
|
+
# the specified rollback triggers during stack creation and update
|
3126
|
+
# operations. Then, for update operations, it begins disposing of old
|
3127
|
+
# resources immediately once the operation completes.
|
3128
|
+
#
|
3129
|
+
#
|
3130
|
+
#
|
3131
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html
|
3132
|
+
# @return [Integer]
|
3133
|
+
#
|
3134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration AWS API Documentation
|
3135
|
+
#
|
3136
|
+
class RollbackConfiguration < Struct.new(
|
3137
|
+
:rollback_triggers,
|
3138
|
+
:monitoring_time_in_minutes)
|
3139
|
+
include Aws::Structure
|
3140
|
+
end
|
3141
|
+
|
3142
|
+
# A rollback trigger AWS CloudFormation monitors during creation and
|
3143
|
+
# updating of stacks. If any of the alarms you specify goes to ALERT
|
3144
|
+
# state during the stack operation or within the specified monitoring
|
3145
|
+
# period afterwards, CloudFormation rolls back the entire stack
|
3146
|
+
# operation.
|
3147
|
+
#
|
3148
|
+
# @note When making an API call, you may pass RollbackTrigger
|
3149
|
+
# data as a hash:
|
3150
|
+
#
|
3151
|
+
# {
|
3152
|
+
# arn: "Arn", # required
|
3153
|
+
# type: "Type", # required
|
3154
|
+
# }
|
3155
|
+
#
|
3156
|
+
# @!attribute [rw] arn
|
3157
|
+
# The Amazon Resource Name (ARN) of the rollback trigger.
|
3158
|
+
# @return [String]
|
3159
|
+
#
|
3160
|
+
# @!attribute [rw] type
|
3161
|
+
# The resource type of the rollback trigger. Currently,
|
3162
|
+
# [AWS::CloudWatch::Alarm][1] is the only supported resource type.
|
3163
|
+
#
|
3164
|
+
#
|
3165
|
+
#
|
3166
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html
|
3167
|
+
# @return [String]
|
3168
|
+
#
|
3169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger AWS API Documentation
|
3170
|
+
#
|
3171
|
+
class RollbackTrigger < Struct.new(
|
3172
|
+
:arn,
|
3173
|
+
:type)
|
3174
|
+
include Aws::Structure
|
3175
|
+
end
|
3176
|
+
|
2967
3177
|
# The input for the SetStackPolicy action.
|
2968
3178
|
#
|
2969
3179
|
# @note When making an API call, you may pass SetStackPolicyInput
|
@@ -3084,6 +3294,12 @@ module Aws::CloudFormation
|
|
3084
3294
|
# returned if the stack has been updated at least once.
|
3085
3295
|
# @return [Time]
|
3086
3296
|
#
|
3297
|
+
# @!attribute [rw] rollback_configuration
|
3298
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
3299
|
+
# creation and updating operations, and for the specified monitoring
|
3300
|
+
# period afterwards.
|
3301
|
+
# @return [Types::RollbackConfiguration]
|
3302
|
+
#
|
3087
3303
|
# @!attribute [rw] stack_status
|
3088
3304
|
# Current status of the stack.
|
3089
3305
|
# @return [String]
|
@@ -3137,6 +3353,7 @@ module Aws::CloudFormation
|
|
3137
3353
|
:parameters,
|
3138
3354
|
:creation_time,
|
3139
3355
|
:last_updated_time,
|
3356
|
+
:rollback_configuration,
|
3140
3357
|
:stack_status,
|
3141
3358
|
:stack_status_reason,
|
3142
3359
|
:disable_rollback,
|
@@ -3266,8 +3483,10 @@ module Aws::CloudFormation
|
|
3266
3483
|
#
|
3267
3484
|
# * `INOPERABLE`\: A `DeleteStackInstances` operation has failed and
|
3268
3485
|
# left the stack in an unstable state. Stacks in this state are
|
3269
|
-
# excluded from further `UpdateStackSet`
|
3270
|
-
#
|
3486
|
+
# excluded from further `UpdateStackSet` operations. You might need
|
3487
|
+
# to perform a `DeleteStackInstances` operation, with `RetainStacks`
|
3488
|
+
# set to `true`, to delete the stack instance, and then delete the
|
3489
|
+
# stack manually.
|
3271
3490
|
#
|
3272
3491
|
# * `OUTDATED`\: The stack isn't currently up to date with the stack
|
3273
3492
|
# set because:
|
@@ -3327,8 +3546,10 @@ module Aws::CloudFormation
|
|
3327
3546
|
#
|
3328
3547
|
# * `INOPERABLE`\: A `DeleteStackInstances` operation has failed and
|
3329
3548
|
# left the stack in an unstable state. Stacks in this state are
|
3330
|
-
# excluded from further `UpdateStackSet`
|
3331
|
-
#
|
3549
|
+
# excluded from further `UpdateStackSet` operations. You might need
|
3550
|
+
# to perform a `DeleteStackInstances` operation, with `RetainStacks`
|
3551
|
+
# set to `true`, to delete the stack instance, and then delete the
|
3552
|
+
# stack manually.
|
3332
3553
|
#
|
3333
3554
|
# * `OUTDATED`\: The stack isn't currently up to date with the stack
|
3334
3555
|
# set because:
|
@@ -3683,6 +3904,13 @@ module Aws::CloudFormation
|
|
3683
3904
|
# The user-specified preferences for how AWS CloudFormation performs a
|
3684
3905
|
# stack set operation.
|
3685
3906
|
#
|
3907
|
+
# For more information on maximum concurrent accounts and failure
|
3908
|
+
# tolerance, see [Stack set operation options][1].
|
3909
|
+
#
|
3910
|
+
#
|
3911
|
+
#
|
3912
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options
|
3913
|
+
#
|
3686
3914
|
# @note When making an API call, you may pass StackSetOperationPreferences
|
3687
3915
|
# data as a hash:
|
3688
3916
|
#
|
@@ -4071,6 +4299,15 @@ module Aws::CloudFormation
|
|
4071
4299
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
4072
4300
|
# resource_types: ["ResourceType"],
|
4073
4301
|
# role_arn: "RoleARN",
|
4302
|
+
# rollback_configuration: {
|
4303
|
+
# rollback_triggers: [
|
4304
|
+
# {
|
4305
|
+
# arn: "Arn", # required
|
4306
|
+
# type: "Type", # required
|
4307
|
+
# },
|
4308
|
+
# ],
|
4309
|
+
# monitoring_time_in_minutes: 1,
|
4310
|
+
# },
|
4074
4311
|
# stack_policy_body: "StackPolicyBody",
|
4075
4312
|
# stack_policy_url: "StackPolicyURL",
|
4076
4313
|
# notification_arns: ["NotificationARN"],
|
@@ -4230,6 +4467,12 @@ module Aws::CloudFormation
|
|
4230
4467
|
# your user credentials.
|
4231
4468
|
# @return [String]
|
4232
4469
|
#
|
4470
|
+
# @!attribute [rw] rollback_configuration
|
4471
|
+
# The rollback triggers for AWS CloudFormation to monitor during stack
|
4472
|
+
# creation and updating operations, and for the specified monitoring
|
4473
|
+
# period afterwards.
|
4474
|
+
# @return [Types::RollbackConfiguration]
|
4475
|
+
#
|
4233
4476
|
# @!attribute [rw] stack_policy_body
|
4234
4477
|
# Structure containing a new stack policy body. You can specify either
|
4235
4478
|
# the `StackPolicyBody` or the `StackPolicyURL` parameter, but not
|
@@ -4304,6 +4547,7 @@ module Aws::CloudFormation
|
|
4304
4547
|
:capabilities,
|
4305
4548
|
:resource_types,
|
4306
4549
|
:role_arn,
|
4550
|
+
:rollback_configuration,
|
4307
4551
|
:stack_policy_body,
|
4308
4552
|
:stack_policy_url,
|
4309
4553
|
:notification_arns,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudformation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|