aws-sdk-cloudformation 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +60 -34
- data/lib/aws-sdk-cloudformation/client_api.rb +29 -0
- data/lib/aws-sdk-cloudformation/resource.rb +3 -3
- data/lib/aws-sdk-cloudformation/stack.rb +8 -8
- data/lib/aws-sdk-cloudformation/types.rb +122 -17
- data/lib/aws-sdk-cloudformation/waiters.rb +81 -1
- 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: 7406f2dffe822817eb512c3c58e98540f90dd4e2
|
4
|
+
data.tar.gz: 9083f85636daf1008c907fa6c423dca6808e1142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56477191cc7d752ecfffacbe82d031dbaaa5dda52ea29267f4ef9c69a2c9bc63702b67a75635b42f77eed0d7b098f3f923d461d1cca1c00b0c2d9afdc8ca7ca8
|
7
|
+
data.tar.gz: 3aecb48409b8532fd70810bcf33634750c5062ca62f7dd4685a718f84f909271b2564e4d08b801de90df6cea80624ab8a3de842d2f849190e4a101f273c04fc0
|
@@ -422,9 +422,11 @@ module Aws::CloudFormation
|
|
422
422
|
# To create a change set for a stack that doesn't exist, for the
|
423
423
|
# `ChangeSetType` parameter, specify `CREATE`. To create a change set
|
424
424
|
# for an existing stack, specify `UPDATE` for the `ChangeSetType`
|
425
|
-
# parameter.
|
426
|
-
#
|
427
|
-
#
|
425
|
+
# parameter. To create a change set for an import operation, specify
|
426
|
+
# `IMPORT` for the `ChangeSetType` parameter. After the
|
427
|
+
# `CreateChangeSet` call successfully completes, AWS CloudFormation
|
428
|
+
# starts creating the change set. To check the status of the change set
|
429
|
+
# or to review it, use the DescribeChangeSet action.
|
428
430
|
#
|
429
431
|
# When you are satisfied with the changes the change set will make,
|
430
432
|
# execute the change set by using the ExecuteChangeSet action. AWS
|
@@ -461,9 +463,9 @@ module Aws::CloudFormation
|
|
461
463
|
# change set. For more information, see the Parameter data type.
|
462
464
|
#
|
463
465
|
# @option params [Array<String>] :capabilities
|
464
|
-
# In some cases, you must
|
465
|
-
# contains certain capabilities in order for AWS CloudFormation
|
466
|
-
# create the stack.
|
466
|
+
# In some cases, you must explicitly acknowledge that your stack
|
467
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
468
|
+
# to create the stack.
|
467
469
|
#
|
468
470
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
469
471
|
#
|
@@ -616,7 +618,8 @@ module Aws::CloudFormation
|
|
616
618
|
# @option params [String] :change_set_type
|
617
619
|
# The type of change set operation. To create a change set for a new
|
618
620
|
# stack, specify `CREATE`. To create a change set for an existing stack,
|
619
|
-
# specify `UPDATE`.
|
621
|
+
# specify `UPDATE`. To create a change set for an import operation,
|
622
|
+
# specify `IMPORT`.
|
620
623
|
#
|
621
624
|
# If you create a change set for a new stack, AWS Cloudformation creates
|
622
625
|
# a stack with a unique stack ID, but no template or resources. The
|
@@ -631,6 +634,9 @@ module Aws::CloudFormation
|
|
631
634
|
#
|
632
635
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html#d0e11995
|
633
636
|
#
|
637
|
+
# @option params [Array<Types::ResourceToImport>] :resources_to_import
|
638
|
+
# The resources to import into your stack.
|
639
|
+
#
|
634
640
|
# @return [Types::CreateChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
635
641
|
#
|
636
642
|
# * {Types::CreateChangeSetOutput#id #id} => String
|
@@ -673,7 +679,16 @@ module Aws::CloudFormation
|
|
673
679
|
# change_set_name: "ChangeSetName", # required
|
674
680
|
# client_token: "ClientToken",
|
675
681
|
# description: "Description",
|
676
|
-
# change_set_type: "CREATE", # accepts CREATE, UPDATE
|
682
|
+
# change_set_type: "CREATE", # accepts CREATE, UPDATE, IMPORT
|
683
|
+
# resources_to_import: [
|
684
|
+
# {
|
685
|
+
# resource_type: "ResourceType", # required
|
686
|
+
# logical_resource_id: "LogicalResourceId", # required
|
687
|
+
# resource_identifier: { # required
|
688
|
+
# "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue",
|
689
|
+
# },
|
690
|
+
# },
|
691
|
+
# ],
|
677
692
|
# })
|
678
693
|
#
|
679
694
|
# @example Response structure
|
@@ -760,9 +775,9 @@ module Aws::CloudFormation
|
|
760
775
|
# or your Command Line Interface (CLI).
|
761
776
|
#
|
762
777
|
# @option params [Array<String>] :capabilities
|
763
|
-
# In some cases, you must
|
764
|
-
# contains certain capabilities in order for AWS CloudFormation
|
765
|
-
# create the stack.
|
778
|
+
# In some cases, you must explicitly acknowledge that your stack
|
779
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
780
|
+
# to create the stack.
|
766
781
|
#
|
767
782
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
768
783
|
#
|
@@ -1173,7 +1188,7 @@ module Aws::CloudFormation
|
|
1173
1188
|
# The input parameters for the stack set template.
|
1174
1189
|
#
|
1175
1190
|
# @option params [Array<String>] :capabilities
|
1176
|
-
# In some cases, you must
|
1191
|
+
# In some cases, you must explicitly acknowledge that your stack set
|
1177
1192
|
# template contains certain capabilities in order for AWS CloudFormation
|
1178
1193
|
# to create the stack set and related stack instances.
|
1179
1194
|
#
|
@@ -1663,7 +1678,7 @@ module Aws::CloudFormation
|
|
1663
1678
|
# resp.tags[0].value #=> String
|
1664
1679
|
# resp.changes #=> Array
|
1665
1680
|
# resp.changes[0].type #=> String, one of "Resource"
|
1666
|
-
# resp.changes[0].resource_change.action #=> String, one of "Add", "Modify", "Remove"
|
1681
|
+
# resp.changes[0].resource_change.action #=> String, one of "Add", "Modify", "Remove", "Import"
|
1667
1682
|
# resp.changes[0].resource_change.logical_resource_id #=> String
|
1668
1683
|
# resp.changes[0].resource_change.physical_resource_id #=> String
|
1669
1684
|
# resp.changes[0].resource_change.resource_type #=> String
|
@@ -1801,7 +1816,7 @@ module Aws::CloudFormation
|
|
1801
1816
|
# resp.stack_events[0].physical_resource_id #=> String
|
1802
1817
|
# resp.stack_events[0].resource_type #=> String
|
1803
1818
|
# resp.stack_events[0].timestamp #=> Time
|
1804
|
-
# resp.stack_events[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE"
|
1819
|
+
# resp.stack_events[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE"
|
1805
1820
|
# resp.stack_events[0].resource_status_reason #=> String
|
1806
1821
|
# resp.stack_events[0].resource_properties #=> String
|
1807
1822
|
# resp.stack_events[0].client_request_token #=> String
|
@@ -1908,7 +1923,7 @@ module Aws::CloudFormation
|
|
1908
1923
|
# resp.stack_resource_detail.physical_resource_id #=> String
|
1909
1924
|
# resp.stack_resource_detail.resource_type #=> String
|
1910
1925
|
# resp.stack_resource_detail.last_updated_timestamp #=> Time
|
1911
|
-
# resp.stack_resource_detail.resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE"
|
1926
|
+
# resp.stack_resource_detail.resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE"
|
1912
1927
|
# resp.stack_resource_detail.resource_status_reason #=> String
|
1913
1928
|
# resp.stack_resource_detail.description #=> String
|
1914
1929
|
# resp.stack_resource_detail.metadata #=> String
|
@@ -2100,7 +2115,7 @@ module Aws::CloudFormation
|
|
2100
2115
|
# resp.stack_resources[0].physical_resource_id #=> String
|
2101
2116
|
# resp.stack_resources[0].resource_type #=> String
|
2102
2117
|
# resp.stack_resources[0].timestamp #=> Time
|
2103
|
-
# resp.stack_resources[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE"
|
2118
|
+
# resp.stack_resources[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE"
|
2104
2119
|
# resp.stack_resources[0].resource_status_reason #=> String
|
2105
2120
|
# resp.stack_resources[0].description #=> String
|
2106
2121
|
# resp.stack_resources[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
|
@@ -2261,7 +2276,7 @@ module Aws::CloudFormation
|
|
2261
2276
|
# resp.stacks[0].rollback_configuration.rollback_triggers[0].arn #=> String
|
2262
2277
|
# resp.stacks[0].rollback_configuration.rollback_triggers[0].type #=> String
|
2263
2278
|
# resp.stacks[0].rollback_configuration.monitoring_time_in_minutes #=> Integer
|
2264
|
-
# 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"
|
2279
|
+
# 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", "IMPORT_IN_PROGRESS", "IMPORT_COMPLETE", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE"
|
2265
2280
|
# resp.stacks[0].stack_status_reason #=> String
|
2266
2281
|
# resp.stacks[0].disable_rollback #=> Boolean
|
2267
2282
|
# resp.stacks[0].notification_arns #=> Array
|
@@ -2697,6 +2712,7 @@ module Aws::CloudFormation
|
|
2697
2712
|
# * {Types::GetTemplateSummaryOutput#version #version} => String
|
2698
2713
|
# * {Types::GetTemplateSummaryOutput#metadata #metadata} => String
|
2699
2714
|
# * {Types::GetTemplateSummaryOutput#declared_transforms #declared_transforms} => Array<String>
|
2715
|
+
# * {Types::GetTemplateSummaryOutput#resource_identifier_summaries #resource_identifier_summaries} => Array<Types::ResourceIdentifierSummary>
|
2700
2716
|
#
|
2701
2717
|
# @example Request syntax with placeholder values
|
2702
2718
|
#
|
@@ -2727,6 +2743,12 @@ module Aws::CloudFormation
|
|
2727
2743
|
# resp.metadata #=> String
|
2728
2744
|
# resp.declared_transforms #=> Array
|
2729
2745
|
# resp.declared_transforms[0] #=> String
|
2746
|
+
# resp.resource_identifier_summaries #=> Array
|
2747
|
+
# resp.resource_identifier_summaries[0].resource_type #=> String
|
2748
|
+
# resp.resource_identifier_summaries[0].logical_resource_ids #=> Array
|
2749
|
+
# resp.resource_identifier_summaries[0].logical_resource_ids[0] #=> String
|
2750
|
+
# resp.resource_identifier_summaries[0].resource_identifiers #=> Array
|
2751
|
+
# resp.resource_identifier_summaries[0].resource_identifiers[0] #=> String
|
2730
2752
|
#
|
2731
2753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary AWS API Documentation
|
2732
2754
|
#
|
@@ -2979,7 +3001,7 @@ module Aws::CloudFormation
|
|
2979
3001
|
# resp.stack_resource_summaries[0].physical_resource_id #=> String
|
2980
3002
|
# resp.stack_resource_summaries[0].resource_type #=> String
|
2981
3003
|
# resp.stack_resource_summaries[0].last_updated_timestamp #=> Time
|
2982
|
-
# resp.stack_resource_summaries[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE"
|
3004
|
+
# resp.stack_resource_summaries[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE"
|
2983
3005
|
# resp.stack_resource_summaries[0].resource_status_reason #=> String
|
2984
3006
|
# resp.stack_resource_summaries[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED"
|
2985
3007
|
# resp.stack_resource_summaries[0].drift_information.last_check_timestamp #=> Time
|
@@ -3184,7 +3206,7 @@ module Aws::CloudFormation
|
|
3184
3206
|
#
|
3185
3207
|
# resp = client.list_stacks({
|
3186
3208
|
# next_token: "NextToken",
|
3187
|
-
# stack_status_filter: ["CREATE_IN_PROGRESS"], # accepts 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
|
3209
|
+
# stack_status_filter: ["CREATE_IN_PROGRESS"], # accepts 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, IMPORT_IN_PROGRESS, IMPORT_COMPLETE, IMPORT_ROLLBACK_IN_PROGRESS, IMPORT_ROLLBACK_FAILED, IMPORT_ROLLBACK_COMPLETE
|
3188
3210
|
# })
|
3189
3211
|
#
|
3190
3212
|
# @example Response structure
|
@@ -3196,7 +3218,7 @@ module Aws::CloudFormation
|
|
3196
3218
|
# resp.stack_summaries[0].creation_time #=> Time
|
3197
3219
|
# resp.stack_summaries[0].last_updated_time #=> Time
|
3198
3220
|
# resp.stack_summaries[0].deletion_time #=> Time
|
3199
|
-
# resp.stack_summaries[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"
|
3221
|
+
# resp.stack_summaries[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", "IMPORT_IN_PROGRESS", "IMPORT_COMPLETE", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE"
|
3200
3222
|
# resp.stack_summaries[0].stack_status_reason #=> String
|
3201
3223
|
# resp.stack_summaries[0].parent_id #=> String
|
3202
3224
|
# resp.stack_summaries[0].root_id #=> String
|
@@ -3412,9 +3434,9 @@ module Aws::CloudFormation
|
|
3412
3434
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html
|
3413
3435
|
#
|
3414
3436
|
# @option params [Array<String>] :capabilities
|
3415
|
-
# In some cases, you must
|
3416
|
-
# contains certain capabilities in order for AWS CloudFormation
|
3417
|
-
# update the stack.
|
3437
|
+
# In some cases, you must explicitly acknowledge that your stack
|
3438
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
3439
|
+
# to update the stack.
|
3418
3440
|
#
|
3419
3441
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
3420
3442
|
#
|
@@ -3847,9 +3869,9 @@ module Aws::CloudFormation
|
|
3847
3869
|
# A list of input parameters for the stack set template.
|
3848
3870
|
#
|
3849
3871
|
# @option params [Array<String>] :capabilities
|
3850
|
-
# In some cases, you must
|
3851
|
-
# contains certain capabilities in order for AWS CloudFormation
|
3852
|
-
# update the stack set and its associated stack instances.
|
3872
|
+
# In some cases, you must explicitly acknowledge that your stack
|
3873
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
3874
|
+
# to update the stack set and its associated stack instances.
|
3853
3875
|
#
|
3854
3876
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
3855
3877
|
#
|
@@ -4101,14 +4123,16 @@ module Aws::CloudFormation
|
|
4101
4123
|
# Updates termination protection for the specified stack. If a user
|
4102
4124
|
# attempts to delete a stack with termination protection enabled, the
|
4103
4125
|
# operation fails and the stack remains unchanged. For more information,
|
4104
|
-
# see [Protecting a Stack From Being
|
4105
|
-
#
|
4106
|
-
#
|
4126
|
+
# see [Protecting a Stack From Being Deleted][1] in the *AWS
|
4127
|
+
# CloudFormation User Guide*.
|
4128
|
+
#
|
4129
|
+
# For [nested stacks][2], termination protection is set on the root
|
4130
|
+
# stack and cannot be changed directly on the nested stack.
|
4131
|
+
#
|
4132
|
+
#
|
4107
4133
|
#
|
4108
|
-
#
|
4109
|
-
#
|
4110
|
-
# termination protection is set on the root stack and cannot be changed
|
4111
|
-
# directly on the nested stack.
|
4134
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
|
4135
|
+
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
|
4112
4136
|
#
|
4113
4137
|
# @option params [required, Boolean] :enable_termination_protection
|
4114
4138
|
# Whether to enable termination protection on the specified stack.
|
@@ -4222,7 +4246,7 @@ module Aws::CloudFormation
|
|
4222
4246
|
params: params,
|
4223
4247
|
config: config)
|
4224
4248
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
4225
|
-
context[:gem_version] = '1.
|
4249
|
+
context[:gem_version] = '1.27.0'
|
4226
4250
|
Seahorse::Client::Request.new(handlers, context)
|
4227
4251
|
end
|
4228
4252
|
|
@@ -4294,6 +4318,7 @@ module Aws::CloudFormation
|
|
4294
4318
|
# | stack_create_complete | {#describe_stacks} | 30 | 120 |
|
4295
4319
|
# | stack_delete_complete | {#describe_stacks} | 30 | 120 |
|
4296
4320
|
# | stack_exists | {#describe_stacks} | 5 | 20 |
|
4321
|
+
# | stack_import_complete | {#describe_stacks} | 30 | 120 |
|
4297
4322
|
# | stack_update_complete | {#describe_stacks} | 30 | 120 |
|
4298
4323
|
#
|
4299
4324
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
@@ -4349,6 +4374,7 @@ module Aws::CloudFormation
|
|
4349
4374
|
stack_create_complete: Waiters::StackCreateComplete,
|
4350
4375
|
stack_delete_complete: Waiters::StackDeleteComplete,
|
4351
4376
|
stack_exists: Waiters::StackExists,
|
4377
|
+
stack_import_complete: Waiters::StackImportComplete,
|
4352
4378
|
stack_update_complete: Waiters::StackUpdateComplete
|
4353
4379
|
}
|
4354
4380
|
end
|
@@ -188,15 +188,23 @@ module Aws::CloudFormation
|
|
188
188
|
ResourceChange = Shapes::StructureShape.new(name: 'ResourceChange')
|
189
189
|
ResourceChangeDetail = Shapes::StructureShape.new(name: 'ResourceChangeDetail')
|
190
190
|
ResourceChangeDetails = Shapes::ListShape.new(name: 'ResourceChangeDetails')
|
191
|
+
ResourceIdentifierProperties = Shapes::MapShape.new(name: 'ResourceIdentifierProperties')
|
192
|
+
ResourceIdentifierPropertyKey = Shapes::StringShape.new(name: 'ResourceIdentifierPropertyKey')
|
193
|
+
ResourceIdentifierPropertyValue = Shapes::StringShape.new(name: 'ResourceIdentifierPropertyValue')
|
194
|
+
ResourceIdentifierSummaries = Shapes::ListShape.new(name: 'ResourceIdentifierSummaries')
|
195
|
+
ResourceIdentifierSummary = Shapes::StructureShape.new(name: 'ResourceIdentifierSummary')
|
196
|
+
ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers')
|
191
197
|
ResourceProperties = Shapes::StringShape.new(name: 'ResourceProperties')
|
192
198
|
ResourceSignalStatus = Shapes::StringShape.new(name: 'ResourceSignalStatus')
|
193
199
|
ResourceSignalUniqueId = Shapes::StringShape.new(name: 'ResourceSignalUniqueId')
|
194
200
|
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
195
201
|
ResourceStatusReason = Shapes::StringShape.new(name: 'ResourceStatusReason')
|
196
202
|
ResourceTargetDefinition = Shapes::StructureShape.new(name: 'ResourceTargetDefinition')
|
203
|
+
ResourceToImport = Shapes::StructureShape.new(name: 'ResourceToImport')
|
197
204
|
ResourceToSkip = Shapes::StringShape.new(name: 'ResourceToSkip')
|
198
205
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
199
206
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
207
|
+
ResourcesToImport = Shapes::ListShape.new(name: 'ResourcesToImport')
|
200
208
|
ResourcesToSkip = Shapes::ListShape.new(name: 'ResourcesToSkip')
|
201
209
|
RetainResources = Shapes::ListShape.new(name: 'RetainResources')
|
202
210
|
RetainStacks = Shapes::BooleanShape.new(name: 'RetainStacks')
|
@@ -363,6 +371,7 @@ module Aws::CloudFormation
|
|
363
371
|
CreateChangeSetInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
364
372
|
CreateChangeSetInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
365
373
|
CreateChangeSetInput.add_member(:change_set_type, Shapes::ShapeRef.new(shape: ChangeSetType, location_name: "ChangeSetType"))
|
374
|
+
CreateChangeSetInput.add_member(:resources_to_import, Shapes::ShapeRef.new(shape: ResourcesToImport, location_name: "ResourcesToImport"))
|
366
375
|
CreateChangeSetInput.struct_class = Types::CreateChangeSetInput
|
367
376
|
|
368
377
|
CreateChangeSetOutput.add_member(:id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "Id"))
|
@@ -614,6 +623,7 @@ module Aws::CloudFormation
|
|
614
623
|
GetTemplateSummaryOutput.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "Version"))
|
615
624
|
GetTemplateSummaryOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
616
625
|
GetTemplateSummaryOutput.add_member(:declared_transforms, Shapes::ShapeRef.new(shape: TransformsList, location_name: "DeclaredTransforms"))
|
626
|
+
GetTemplateSummaryOutput.add_member(:resource_identifier_summaries, Shapes::ShapeRef.new(shape: ResourceIdentifierSummaries, location_name: "ResourceIdentifierSummaries"))
|
617
627
|
GetTemplateSummaryOutput.struct_class = Types::GetTemplateSummaryOutput
|
618
628
|
|
619
629
|
Imports.member = Shapes::ShapeRef.new(shape: StackName)
|
@@ -762,13 +772,32 @@ module Aws::CloudFormation
|
|
762
772
|
|
763
773
|
ResourceChangeDetails.member = Shapes::ShapeRef.new(shape: ResourceChangeDetail)
|
764
774
|
|
775
|
+
ResourceIdentifierProperties.key = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyKey)
|
776
|
+
ResourceIdentifierProperties.value = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyValue)
|
777
|
+
|
778
|
+
ResourceIdentifierSummaries.member = Shapes::ShapeRef.new(shape: ResourceIdentifierSummary)
|
779
|
+
|
780
|
+
ResourceIdentifierSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
781
|
+
ResourceIdentifierSummary.add_member(:logical_resource_ids, Shapes::ShapeRef.new(shape: LogicalResourceIds, location_name: "LogicalResourceIds"))
|
782
|
+
ResourceIdentifierSummary.add_member(:resource_identifiers, Shapes::ShapeRef.new(shape: ResourceIdentifiers, location_name: "ResourceIdentifiers"))
|
783
|
+
ResourceIdentifierSummary.struct_class = Types::ResourceIdentifierSummary
|
784
|
+
|
785
|
+
ResourceIdentifiers.member = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyKey)
|
786
|
+
|
765
787
|
ResourceTargetDefinition.add_member(:attribute, Shapes::ShapeRef.new(shape: ResourceAttribute, location_name: "Attribute"))
|
766
788
|
ResourceTargetDefinition.add_member(:name, Shapes::ShapeRef.new(shape: PropertyName, location_name: "Name"))
|
767
789
|
ResourceTargetDefinition.add_member(:requires_recreation, Shapes::ShapeRef.new(shape: RequiresRecreation, location_name: "RequiresRecreation"))
|
768
790
|
ResourceTargetDefinition.struct_class = Types::ResourceTargetDefinition
|
769
791
|
|
792
|
+
ResourceToImport.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
|
793
|
+
ResourceToImport.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId"))
|
794
|
+
ResourceToImport.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifierProperties, required: true, location_name: "ResourceIdentifier"))
|
795
|
+
ResourceToImport.struct_class = Types::ResourceToImport
|
796
|
+
|
770
797
|
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
771
798
|
|
799
|
+
ResourcesToImport.member = Shapes::ShapeRef.new(shape: ResourceToImport)
|
800
|
+
|
772
801
|
ResourcesToSkip.member = Shapes::ShapeRef.new(shape: ResourceToSkip)
|
773
802
|
|
774
803
|
RetainResources.member = Shapes::ShapeRef.new(shape: LogicalResourceId)
|
@@ -121,9 +121,9 @@ module Aws::CloudFormation
|
|
121
121
|
# related events. You can find your SNS topic ARNs using the SNS console
|
122
122
|
# or your Command Line Interface (CLI).
|
123
123
|
# @option options [Array<String>] :capabilities
|
124
|
-
# In some cases, you must
|
125
|
-
# contains certain capabilities in order for AWS CloudFormation
|
126
|
-
# create the stack.
|
124
|
+
# In some cases, you must explicitly acknowledge that your stack
|
125
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
126
|
+
# to create the stack.
|
127
127
|
#
|
128
128
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
129
129
|
#
|
@@ -175,8 +175,8 @@ module Aws::CloudFormation
|
|
175
175
|
end
|
176
176
|
|
177
177
|
# For nested stacks--stacks created as resources for another stack--the
|
178
|
-
# stack ID of the
|
179
|
-
#
|
178
|
+
# stack ID of the top-level stack to which the nested stack ultimately
|
179
|
+
# belongs.
|
180
180
|
#
|
181
181
|
# For more information, see [Working with Nested Stacks][1] in the *AWS
|
182
182
|
# CloudFormation User Guide*.
|
@@ -475,9 +475,9 @@ module Aws::CloudFormation
|
|
475
475
|
# related events. You can find your SNS topic ARNs using the SNS console
|
476
476
|
# or your Command Line Interface (CLI).
|
477
477
|
# @option options [Array<String>] :capabilities
|
478
|
-
# In some cases, you must
|
479
|
-
# contains certain capabilities in order for AWS CloudFormation
|
480
|
-
# create the stack.
|
478
|
+
# In some cases, you must explicitly acknowledge that your stack
|
479
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
480
|
+
# to create the stack.
|
481
481
|
#
|
482
482
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
483
483
|
#
|
@@ -815,9 +815,9 @@ module Aws::CloudFormation
|
|
815
815
|
#
|
816
816
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html
|
817
817
|
# @option options [Array<String>] :capabilities
|
818
|
-
# In some cases, you must
|
819
|
-
# contains certain capabilities in order for AWS CloudFormation
|
820
|
-
# update the stack.
|
818
|
+
# In some cases, you must explicitly acknowledge that your stack
|
819
|
+
# template contains certain capabilities in order for AWS CloudFormation
|
820
|
+
# to update the stack.
|
821
821
|
#
|
822
822
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
823
823
|
#
|
@@ -72,9 +72,19 @@ module Aws::CloudFormation
|
|
72
72
|
include Aws::Structure
|
73
73
|
end
|
74
74
|
|
75
|
-
# The AccountLimit data type.
|
76
|
-
#
|
77
|
-
#
|
75
|
+
# The AccountLimit data type.
|
76
|
+
#
|
77
|
+
# CloudFormation has the following limits per account:
|
78
|
+
#
|
79
|
+
# * Number of concurrent resources
|
80
|
+
#
|
81
|
+
# * Number of stacks
|
82
|
+
#
|
83
|
+
# * Number of stack outputs
|
84
|
+
#
|
85
|
+
# For more information about these account limits, and other
|
86
|
+
# CloudFormation limits, see [AWS CloudFormation Limits][1] in the *AWS
|
87
|
+
# CloudFormation User Guide*.
|
78
88
|
#
|
79
89
|
#
|
80
90
|
#
|
@@ -82,6 +92,9 @@ module Aws::CloudFormation
|
|
82
92
|
#
|
83
93
|
# @!attribute [rw] name
|
84
94
|
# The name of the account limit.
|
95
|
+
#
|
96
|
+
# Values: `ConcurrentResourcesLimit` \| `StackLimit` \|
|
97
|
+
# `StackOutputsLimit`
|
85
98
|
# @return [String]
|
86
99
|
#
|
87
100
|
# @!attribute [rw] value
|
@@ -359,7 +372,16 @@ module Aws::CloudFormation
|
|
359
372
|
# change_set_name: "ChangeSetName", # required
|
360
373
|
# client_token: "ClientToken",
|
361
374
|
# description: "Description",
|
362
|
-
# change_set_type: "CREATE", # accepts CREATE, UPDATE
|
375
|
+
# change_set_type: "CREATE", # accepts CREATE, UPDATE, IMPORT
|
376
|
+
# resources_to_import: [
|
377
|
+
# {
|
378
|
+
# resource_type: "ResourceType", # required
|
379
|
+
# logical_resource_id: "LogicalResourceId", # required
|
380
|
+
# resource_identifier: { # required
|
381
|
+
# "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue",
|
382
|
+
# },
|
383
|
+
# },
|
384
|
+
# ],
|
363
385
|
# }
|
364
386
|
#
|
365
387
|
# @!attribute [rw] stack_name
|
@@ -398,7 +420,7 @@ module Aws::CloudFormation
|
|
398
420
|
# @return [Array<Types::Parameter>]
|
399
421
|
#
|
400
422
|
# @!attribute [rw] capabilities
|
401
|
-
# In some cases, you must
|
423
|
+
# In some cases, you must explicitly acknowledge that your stack
|
402
424
|
# template contains certain capabilities in order for AWS
|
403
425
|
# CloudFormation to create the stack.
|
404
426
|
#
|
@@ -563,7 +585,8 @@ module Aws::CloudFormation
|
|
563
585
|
# @!attribute [rw] change_set_type
|
564
586
|
# The type of change set operation. To create a change set for a new
|
565
587
|
# stack, specify `CREATE`. To create a change set for an existing
|
566
|
-
# stack, specify `UPDATE`.
|
588
|
+
# stack, specify `UPDATE`. To create a change set for an import
|
589
|
+
# operation, specify `IMPORT`.
|
567
590
|
#
|
568
591
|
# If you create a change set for a new stack, AWS Cloudformation
|
569
592
|
# creates a stack with a unique stack ID, but no template or
|
@@ -579,6 +602,10 @@ module Aws::CloudFormation
|
|
579
602
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html#d0e11995
|
580
603
|
# @return [String]
|
581
604
|
#
|
605
|
+
# @!attribute [rw] resources_to_import
|
606
|
+
# The resources to import into your stack.
|
607
|
+
# @return [Array<Types::ResourceToImport>]
|
608
|
+
#
|
582
609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput AWS API Documentation
|
583
610
|
#
|
584
611
|
class CreateChangeSetInput < Struct.new(
|
@@ -596,7 +623,8 @@ module Aws::CloudFormation
|
|
596
623
|
:change_set_name,
|
597
624
|
:client_token,
|
598
625
|
:description,
|
599
|
-
:change_set_type
|
626
|
+
:change_set_type,
|
627
|
+
:resources_to_import)
|
600
628
|
include Aws::Structure
|
601
629
|
end
|
602
630
|
|
@@ -737,7 +765,7 @@ module Aws::CloudFormation
|
|
737
765
|
# @return [Array<String>]
|
738
766
|
#
|
739
767
|
# @!attribute [rw] capabilities
|
740
|
-
# In some cases, you must
|
768
|
+
# In some cases, you must explicitly acknowledge that your stack
|
741
769
|
# template contains certain capabilities in order for AWS
|
742
770
|
# CloudFormation to create the stack.
|
743
771
|
#
|
@@ -1178,7 +1206,7 @@ module Aws::CloudFormation
|
|
1178
1206
|
# @return [Array<Types::Parameter>]
|
1179
1207
|
#
|
1180
1208
|
# @!attribute [rw] capabilities
|
1181
|
-
# In some cases, you must
|
1209
|
+
# In some cases, you must explicitly acknowledge that your stack set
|
1182
1210
|
# template contains certain capabilities in order for AWS
|
1183
1211
|
# CloudFormation to create the stack set and related stack instances.
|
1184
1212
|
#
|
@@ -2729,6 +2757,14 @@ module Aws::CloudFormation
|
|
2729
2757
|
# A list of the transforms that are declared in the template.
|
2730
2758
|
# @return [Array<String>]
|
2731
2759
|
#
|
2760
|
+
# @!attribute [rw] resource_identifier_summaries
|
2761
|
+
# A list of resource identifier summaries that describe the target
|
2762
|
+
# resources of an import operation and the properties you can provide
|
2763
|
+
# during the import to identify the target resources. For example,
|
2764
|
+
# `BucketName` is a possible identifier property for an
|
2765
|
+
# `AWS::S3::Bucket` resource.
|
2766
|
+
# @return [Array<Types::ResourceIdentifierSummary>]
|
2767
|
+
#
|
2732
2768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput AWS API Documentation
|
2733
2769
|
#
|
2734
2770
|
class GetTemplateSummaryOutput < Struct.new(
|
@@ -2739,7 +2775,8 @@ module Aws::CloudFormation
|
|
2739
2775
|
:resource_types,
|
2740
2776
|
:version,
|
2741
2777
|
:metadata,
|
2742
|
-
:declared_transforms
|
2778
|
+
:declared_transforms,
|
2779
|
+
:resource_identifier_summaries)
|
2743
2780
|
include Aws::Structure
|
2744
2781
|
end
|
2745
2782
|
|
@@ -3198,7 +3235,7 @@ module Aws::CloudFormation
|
|
3198
3235
|
#
|
3199
3236
|
# {
|
3200
3237
|
# next_token: "NextToken",
|
3201
|
-
# stack_status_filter: ["CREATE_IN_PROGRESS"], # accepts 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
|
3238
|
+
# stack_status_filter: ["CREATE_IN_PROGRESS"], # accepts 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, IMPORT_IN_PROGRESS, IMPORT_COMPLETE, IMPORT_ROLLBACK_IN_PROGRESS, IMPORT_ROLLBACK_FAILED, IMPORT_ROLLBACK_COMPLETE
|
3202
3239
|
# }
|
3203
3240
|
#
|
3204
3241
|
# @!attribute [rw] next_token
|
@@ -3589,6 +3626,36 @@ module Aws::CloudFormation
|
|
3589
3626
|
include Aws::Structure
|
3590
3627
|
end
|
3591
3628
|
|
3629
|
+
# Describes the target resources of a specific type in your import
|
3630
|
+
# template (for example, all `AWS::S3::Bucket` resources) and the
|
3631
|
+
# properties you can provide during the import to identify resources of
|
3632
|
+
# that type.
|
3633
|
+
#
|
3634
|
+
# @!attribute [rw] resource_type
|
3635
|
+
# The template resource type of the target resources, such as
|
3636
|
+
# `AWS::S3::Bucket`.
|
3637
|
+
# @return [String]
|
3638
|
+
#
|
3639
|
+
# @!attribute [rw] logical_resource_ids
|
3640
|
+
# The logical IDs of the target resources of the specified
|
3641
|
+
# `ResourceType`, as defined in the import template.
|
3642
|
+
# @return [Array<String>]
|
3643
|
+
#
|
3644
|
+
# @!attribute [rw] resource_identifiers
|
3645
|
+
# The resource properties you can provide during the import to
|
3646
|
+
# identify your target resources. For example, `BucketName` is a
|
3647
|
+
# possible identifier property for `AWS::S3::Bucket` resources.
|
3648
|
+
# @return [Array<String>]
|
3649
|
+
#
|
3650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceIdentifierSummary AWS API Documentation
|
3651
|
+
#
|
3652
|
+
class ResourceIdentifierSummary < Struct.new(
|
3653
|
+
:resource_type,
|
3654
|
+
:logical_resource_ids,
|
3655
|
+
:resource_identifiers)
|
3656
|
+
include Aws::Structure
|
3657
|
+
end
|
3658
|
+
|
3592
3659
|
# The field that AWS CloudFormation will change, such as the name of a
|
3593
3660
|
# resource's property, and whether the resource will be recreated.
|
3594
3661
|
#
|
@@ -3624,6 +3691,44 @@ module Aws::CloudFormation
|
|
3624
3691
|
include Aws::Structure
|
3625
3692
|
end
|
3626
3693
|
|
3694
|
+
# Describes the target resource of an import operation.
|
3695
|
+
#
|
3696
|
+
# @note When making an API call, you may pass ResourceToImport
|
3697
|
+
# data as a hash:
|
3698
|
+
#
|
3699
|
+
# {
|
3700
|
+
# resource_type: "ResourceType", # required
|
3701
|
+
# logical_resource_id: "LogicalResourceId", # required
|
3702
|
+
# resource_identifier: { # required
|
3703
|
+
# "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue",
|
3704
|
+
# },
|
3705
|
+
# }
|
3706
|
+
#
|
3707
|
+
# @!attribute [rw] resource_type
|
3708
|
+
# The type of resource to import into your stack, such as
|
3709
|
+
# `AWS::S3::Bucket`.
|
3710
|
+
# @return [String]
|
3711
|
+
#
|
3712
|
+
# @!attribute [rw] logical_resource_id
|
3713
|
+
# The logical ID of the target resource as specified in the template.
|
3714
|
+
# @return [String]
|
3715
|
+
#
|
3716
|
+
# @!attribute [rw] resource_identifier
|
3717
|
+
# A key-value pair that identifies the target resource. The key is an
|
3718
|
+
# identifier property (for example, `BucketName` for `AWS::S3::Bucket`
|
3719
|
+
# resources) and the value is the actual property value (for example,
|
3720
|
+
# `MyS3Bucket`).
|
3721
|
+
# @return [Hash<String,String>]
|
3722
|
+
#
|
3723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceToImport AWS API Documentation
|
3724
|
+
#
|
3725
|
+
class ResourceToImport < Struct.new(
|
3726
|
+
:resource_type,
|
3727
|
+
:logical_resource_id,
|
3728
|
+
:resource_identifier)
|
3729
|
+
include Aws::Structure
|
3730
|
+
end
|
3731
|
+
|
3627
3732
|
# Structure containing the rollback triggers for AWS CloudFormation to
|
3628
3733
|
# monitor during stack creation and updating operations, and for the
|
3629
3734
|
# specified monitoring period afterwards.
|
@@ -3950,8 +4055,8 @@ module Aws::CloudFormation
|
|
3950
4055
|
#
|
3951
4056
|
# @!attribute [rw] root_id
|
3952
4057
|
# For nested stacks--stacks created as resources for another
|
3953
|
-
# stack--the stack ID of the
|
3954
|
-
#
|
4058
|
+
# stack--the stack ID of the top-level stack to which the nested stack
|
4059
|
+
# ultimately belongs.
|
3955
4060
|
#
|
3956
4061
|
# For more information, see [Working with Nested Stacks][1] in the
|
3957
4062
|
# *AWS CloudFormation User Guide*.
|
@@ -5204,8 +5309,8 @@ module Aws::CloudFormation
|
|
5204
5309
|
#
|
5205
5310
|
# @!attribute [rw] root_id
|
5206
5311
|
# For nested stacks--stacks created as resources for another
|
5207
|
-
# stack--the stack ID of the
|
5208
|
-
#
|
5312
|
+
# stack--the stack ID of the top-level stack to which the nested stack
|
5313
|
+
# ultimately belongs.
|
5209
5314
|
#
|
5210
5315
|
# For more information, see [Working with Nested Stacks][1] in the
|
5211
5316
|
# *AWS CloudFormation User Guide*.
|
@@ -5452,7 +5557,7 @@ module Aws::CloudFormation
|
|
5452
5557
|
# @return [Array<Types::Parameter>]
|
5453
5558
|
#
|
5454
5559
|
# @!attribute [rw] capabilities
|
5455
|
-
# In some cases, you must
|
5560
|
+
# In some cases, you must explicitly acknowledge that your stack
|
5456
5561
|
# template contains certain capabilities in order for AWS
|
5457
5562
|
# CloudFormation to update the stack.
|
5458
5563
|
#
|
@@ -5902,7 +6007,7 @@ module Aws::CloudFormation
|
|
5902
6007
|
# @return [Array<Types::Parameter>]
|
5903
6008
|
#
|
5904
6009
|
# @!attribute [rw] capabilities
|
5905
|
-
# In some cases, you must
|
6010
|
+
# In some cases, you must explicitly acknowledge that your stack
|
5906
6011
|
# template contains certain capabilities in order for AWS
|
5907
6012
|
# CloudFormation to update the stack set and its associated stack
|
5908
6013
|
# instances.
|
@@ -180,6 +180,12 @@ module Aws::CloudFormation
|
|
180
180
|
"matcher" => "pathAny",
|
181
181
|
"state" => "failure"
|
182
182
|
},
|
183
|
+
{
|
184
|
+
"argument" => "stacks[].stack_status",
|
185
|
+
"expected" => "UPDATE_ROLLBACK_IN_PROGRESS",
|
186
|
+
"matcher" => "pathAny",
|
187
|
+
"state" => "failure"
|
188
|
+
},
|
183
189
|
{
|
184
190
|
"argument" => "stacks[].stack_status",
|
185
191
|
"expected" => "UPDATE_ROLLBACK_FAILED",
|
@@ -188,7 +194,7 @@ module Aws::CloudFormation
|
|
188
194
|
},
|
189
195
|
{
|
190
196
|
"argument" => "stacks[].stack_status",
|
191
|
-
"expected" => "
|
197
|
+
"expected" => "UPDATE_ROLLBACK_COMPLETE",
|
192
198
|
"matcher" => "pathAny",
|
193
199
|
"state" => "failure"
|
194
200
|
}
|
@@ -250,6 +256,80 @@ module Aws::CloudFormation
|
|
250
256
|
|
251
257
|
end
|
252
258
|
|
259
|
+
# Wait until stack status is IMPORT_COMPLETE.
|
260
|
+
class StackImportComplete
|
261
|
+
|
262
|
+
# @param [Hash] options
|
263
|
+
# @option options [required, Client] :client
|
264
|
+
# @option options [Integer] :max_attempts (120)
|
265
|
+
# @option options [Integer] :delay (30)
|
266
|
+
# @option options [Proc] :before_attempt
|
267
|
+
# @option options [Proc] :before_wait
|
268
|
+
def initialize(options)
|
269
|
+
@client = options.fetch(:client)
|
270
|
+
@waiter = Aws::Waiters::Waiter.new({
|
271
|
+
max_attempts: 120,
|
272
|
+
delay: 30,
|
273
|
+
poller: Aws::Waiters::Poller.new(
|
274
|
+
operation_name: :describe_stacks,
|
275
|
+
acceptors: [
|
276
|
+
{
|
277
|
+
"argument" => "stacks[].stack_status",
|
278
|
+
"expected" => "IMPORT_COMPLETE",
|
279
|
+
"matcher" => "pathAll",
|
280
|
+
"state" => "success"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"expected" => "ROLLBACK_COMPLETE",
|
284
|
+
"matcher" => "pathAny",
|
285
|
+
"state" => "failure",
|
286
|
+
"argument" => "stacks[].stack_status"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"expected" => "ROLLBACK_FAILED",
|
290
|
+
"matcher" => "pathAny",
|
291
|
+
"state" => "failure",
|
292
|
+
"argument" => "stacks[].stack_status"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"argument" => "stacks[].stack_status",
|
296
|
+
"expected" => "IMPORT_ROLLBACK_IN_PROGRESS",
|
297
|
+
"matcher" => "pathAny",
|
298
|
+
"state" => "failure"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"argument" => "stacks[].stack_status",
|
302
|
+
"expected" => "IMPORT_ROLLBACK_FAILED",
|
303
|
+
"matcher" => "pathAny",
|
304
|
+
"state" => "failure"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"expected" => "IMPORT_ROLLBACK_COMPLETE",
|
308
|
+
"matcher" => "pathAny",
|
309
|
+
"state" => "failure",
|
310
|
+
"argument" => "stacks[].stack_status"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"expected" => "ValidationError",
|
314
|
+
"matcher" => "error",
|
315
|
+
"state" => "failure"
|
316
|
+
}
|
317
|
+
]
|
318
|
+
)
|
319
|
+
}.merge(options))
|
320
|
+
end
|
321
|
+
|
322
|
+
# @option (see Client#describe_stacks)
|
323
|
+
# @return (see Client#describe_stacks)
|
324
|
+
def wait(params = {})
|
325
|
+
@waiter.wait(client: @client, params: params)
|
326
|
+
end
|
327
|
+
|
328
|
+
# @api private
|
329
|
+
attr_reader :waiter
|
330
|
+
|
331
|
+
end
|
332
|
+
|
253
333
|
# Wait until stack status is UPDATE_COMPLETE.
|
254
334
|
class StackUpdateComplete
|
255
335
|
|
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.
|
4
|
+
version: 1.27.0
|
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: 2019-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|