aws-sdk-cloudformation 1.2.0 → 1.3.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/lib/aws-sdk-cloudformation.rb +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +208 -1
- data/lib/aws-sdk-cloudformation/client_api.rb +30 -0
- data/lib/aws-sdk-cloudformation/resource.rb +1 -0
- data/lib/aws-sdk-cloudformation/stack.rb +2 -0
- data/lib/aws-sdk-cloudformation/types.rb +209 -2
- 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: 060aa2dd7926f49933ab1d888e1171a6b4c27b93
|
4
|
+
data.tar.gz: 8f3c02f5f639b9f34491ce7ed68bb4956f197596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63ac221fb9cdb3ea440507c574591cc257935dcf2ed012de224ca6e4c102e1d3eb1bfa5ee903b8e263460f7c11b586d3d377655e1f8061f3dbf5f23f600610ef
|
7
|
+
data.tar.gz: 742ca06823d948210cbe18544bfee791f88a9253536e175eb758f5b385e13f32ffa4c9d7b37a283d18c2ae696506d7277ffb4af4e394a18d17ba72ee47104276
|
@@ -491,6 +491,7 @@ module Aws::CloudFormation
|
|
491
491
|
# parameter_key: "ParameterKey",
|
492
492
|
# parameter_value: "ParameterValue",
|
493
493
|
# use_previous_value: false,
|
494
|
+
# resolved_value: "ParameterValue",
|
494
495
|
# },
|
495
496
|
# ],
|
496
497
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -753,6 +754,7 @@ module Aws::CloudFormation
|
|
753
754
|
# parameter_key: "ParameterKey",
|
754
755
|
# parameter_value: "ParameterValue",
|
755
756
|
# use_previous_value: false,
|
757
|
+
# resolved_value: "ParameterValue",
|
756
758
|
# },
|
757
759
|
# ],
|
758
760
|
# disable_rollback: false,
|
@@ -813,6 +815,45 @@ module Aws::CloudFormation
|
|
813
815
|
# The names of one or more regions where you want to create stack
|
814
816
|
# instances using the specified AWS account(s).
|
815
817
|
#
|
818
|
+
# @option params [Array<Types::Parameter>] :parameter_overrides
|
819
|
+
# A list of stack set parameters whose values you want to override in
|
820
|
+
# the selected stack instances.
|
821
|
+
#
|
822
|
+
# Any overridden parameter values will be applied to all stack instances
|
823
|
+
# in the specified accounts and regions. When specifying parameters and
|
824
|
+
# their values, be aware of how AWS CloudFormation sets parameter values
|
825
|
+
# during stack instance operations:
|
826
|
+
#
|
827
|
+
# * To override the current value for a parameter, include the parameter
|
828
|
+
# and specify its value.
|
829
|
+
#
|
830
|
+
# * To leave a parameter set to its present value, you can do one of the
|
831
|
+
# following:
|
832
|
+
#
|
833
|
+
# * Do not include the parameter in the list.
|
834
|
+
#
|
835
|
+
# * Include the parameter and specify `UsePreviousValue` as `true`.
|
836
|
+
# (You cannot specify both a value and set `UsePreviousValue` to
|
837
|
+
# `true`.)
|
838
|
+
#
|
839
|
+
# * To set all overridden parameter back to the values specified in the
|
840
|
+
# stack set, specify a parameter list but do not include any
|
841
|
+
# parameters.
|
842
|
+
#
|
843
|
+
# * To leave all parameters set to their present values, do not specify
|
844
|
+
# this property at all.
|
845
|
+
#
|
846
|
+
# During stack set updates, any parameter values overridden for a stack
|
847
|
+
# instance are not updated, but retain their overridden value.
|
848
|
+
#
|
849
|
+
# You can only override the parameter *values* that are specified in the
|
850
|
+
# stack set; to add or delete a parameter itself, use
|
851
|
+
# [UpdateStackSet][1] to update the stack set template.
|
852
|
+
#
|
853
|
+
#
|
854
|
+
#
|
855
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html
|
856
|
+
#
|
816
857
|
# @option params [Types::StackSetOperationPreferences] :operation_preferences
|
817
858
|
# Preferences for how AWS CloudFormation performs this stack set
|
818
859
|
# operation.
|
@@ -845,6 +886,14 @@ module Aws::CloudFormation
|
|
845
886
|
# stack_set_name: "StackSetName", # required
|
846
887
|
# accounts: ["Account"], # required
|
847
888
|
# regions: ["Region"], # required
|
889
|
+
# parameter_overrides: [
|
890
|
+
# {
|
891
|
+
# parameter_key: "ParameterKey",
|
892
|
+
# parameter_value: "ParameterValue",
|
893
|
+
# use_previous_value: false,
|
894
|
+
# resolved_value: "ParameterValue",
|
895
|
+
# },
|
896
|
+
# ],
|
848
897
|
# operation_preferences: {
|
849
898
|
# region_order: ["Region"],
|
850
899
|
# failure_tolerance_count: 1,
|
@@ -993,6 +1042,7 @@ module Aws::CloudFormation
|
|
993
1042
|
# parameter_key: "ParameterKey",
|
994
1043
|
# parameter_value: "ParameterValue",
|
995
1044
|
# use_previous_value: false,
|
1045
|
+
# resolved_value: "ParameterValue",
|
996
1046
|
# },
|
997
1047
|
# ],
|
998
1048
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -1317,6 +1367,7 @@ module Aws::CloudFormation
|
|
1317
1367
|
# resp.parameters[0].parameter_key #=> String
|
1318
1368
|
# resp.parameters[0].parameter_value #=> String
|
1319
1369
|
# resp.parameters[0].use_previous_value #=> Boolean
|
1370
|
+
# resp.parameters[0].resolved_value #=> String
|
1320
1371
|
# resp.creation_time #=> Time
|
1321
1372
|
# resp.execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "OBSOLETE"
|
1322
1373
|
# resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_COMPLETE", "FAILED"
|
@@ -1458,6 +1509,11 @@ module Aws::CloudFormation
|
|
1458
1509
|
# resp.stack_instance.region #=> String
|
1459
1510
|
# resp.stack_instance.account #=> String
|
1460
1511
|
# resp.stack_instance.stack_id #=> String
|
1512
|
+
# resp.stack_instance.parameter_overrides #=> Array
|
1513
|
+
# resp.stack_instance.parameter_overrides[0].parameter_key #=> String
|
1514
|
+
# resp.stack_instance.parameter_overrides[0].parameter_value #=> String
|
1515
|
+
# resp.stack_instance.parameter_overrides[0].use_previous_value #=> Boolean
|
1516
|
+
# resp.stack_instance.parameter_overrides[0].resolved_value #=> String
|
1461
1517
|
# resp.stack_instance.status #=> String, one of "CURRENT", "OUTDATED", "INOPERABLE"
|
1462
1518
|
# resp.stack_instance.status_reason #=> String
|
1463
1519
|
#
|
@@ -1647,6 +1703,7 @@ module Aws::CloudFormation
|
|
1647
1703
|
# resp.stack_set.parameters[0].parameter_key #=> String
|
1648
1704
|
# resp.stack_set.parameters[0].parameter_value #=> String
|
1649
1705
|
# resp.stack_set.parameters[0].use_previous_value #=> Boolean
|
1706
|
+
# resp.stack_set.parameters[0].resolved_value #=> String
|
1650
1707
|
# resp.stack_set.capabilities #=> Array
|
1651
1708
|
# resp.stack_set.capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM"
|
1652
1709
|
# resp.stack_set.tags #=> Array
|
@@ -1753,6 +1810,7 @@ module Aws::CloudFormation
|
|
1753
1810
|
# resp.stacks[0].parameters[0].parameter_key #=> String
|
1754
1811
|
# resp.stacks[0].parameters[0].parameter_value #=> String
|
1755
1812
|
# resp.stacks[0].parameters[0].use_previous_value #=> Boolean
|
1813
|
+
# resp.stacks[0].parameters[0].resolved_value #=> String
|
1756
1814
|
# resp.stacks[0].creation_time #=> Time
|
1757
1815
|
# resp.stacks[0].deletion_time #=> Time
|
1758
1816
|
# resp.stacks[0].last_updated_time #=> Time
|
@@ -1836,6 +1894,7 @@ module Aws::CloudFormation
|
|
1836
1894
|
# parameter_key: "ParameterKey",
|
1837
1895
|
# parameter_value: "ParameterValue",
|
1838
1896
|
# use_previous_value: false,
|
1897
|
+
# resolved_value: "ParameterValue",
|
1839
1898
|
# },
|
1840
1899
|
# ],
|
1841
1900
|
# })
|
@@ -2914,6 +2973,7 @@ module Aws::CloudFormation
|
|
2914
2973
|
# parameter_key: "ParameterKey",
|
2915
2974
|
# parameter_value: "ParameterValue",
|
2916
2975
|
# use_previous_value: false,
|
2976
|
+
# resolved_value: "ParameterValue",
|
2917
2977
|
# },
|
2918
2978
|
# ],
|
2919
2979
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -2953,6 +3013,152 @@ module Aws::CloudFormation
|
|
2953
3013
|
req.send_request(options)
|
2954
3014
|
end
|
2955
3015
|
|
3016
|
+
# Updates the parameter values for stack instances for the specified
|
3017
|
+
# accounts, within the specified regions. A stack instance refers to a
|
3018
|
+
# stack in a specific account and region.
|
3019
|
+
#
|
3020
|
+
# You can only update stack instances in regions and accounts where they
|
3021
|
+
# already exist; to create additional stack instances, use
|
3022
|
+
# [CreateStackInstances][1].
|
3023
|
+
#
|
3024
|
+
# During stack set updates, any parameters overridden for a stack
|
3025
|
+
# instance are not updated, but retain their overridden value.
|
3026
|
+
#
|
3027
|
+
# You can only update the parameter *values* that are specified in the
|
3028
|
+
# stack set; to add or delete a parameter itself, use
|
3029
|
+
# [UpdateStackSet][2] to update the stack set template. If you add a
|
3030
|
+
# parameter to a template, before you can override the parameter value
|
3031
|
+
# specified in the stack set you must first use [UpdateStackSet][2] to
|
3032
|
+
# update all stack instances with the updated template and parameter
|
3033
|
+
# value specified in the stack set. Once a stack instance has been
|
3034
|
+
# updated with the new parameter, you can then override the parameter
|
3035
|
+
# value using `UpdateStackInstances`.
|
3036
|
+
#
|
3037
|
+
#
|
3038
|
+
#
|
3039
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html
|
3040
|
+
# [2]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html
|
3041
|
+
#
|
3042
|
+
# @option params [required, String] :stack_set_name
|
3043
|
+
# The name or unique ID of the stack set associated with the stack
|
3044
|
+
# instances.
|
3045
|
+
#
|
3046
|
+
# @option params [required, Array<String>] :accounts
|
3047
|
+
# The names of one or more AWS accounts for which you want to update
|
3048
|
+
# parameter values for stack instances. The overridden parameter values
|
3049
|
+
# will be applied to all stack instances in the specified accounts and
|
3050
|
+
# regions.
|
3051
|
+
#
|
3052
|
+
# @option params [required, Array<String>] :regions
|
3053
|
+
# The names of one or more regions in which you want to update parameter
|
3054
|
+
# values for stack instances. The overridden parameter values will be
|
3055
|
+
# applied to all stack instances in the specified accounts and regions.
|
3056
|
+
#
|
3057
|
+
# @option params [Array<Types::Parameter>] :parameter_overrides
|
3058
|
+
# A list of input parameters whose values you want to update for the
|
3059
|
+
# specified stack instances.
|
3060
|
+
#
|
3061
|
+
# Any overridden parameter values will be applied to all stack instances
|
3062
|
+
# in the specified accounts and regions. When specifying parameters and
|
3063
|
+
# their values, be aware of how AWS CloudFormation sets parameter values
|
3064
|
+
# during stack instance update operations:
|
3065
|
+
#
|
3066
|
+
# * To override the current value for a parameter, include the parameter
|
3067
|
+
# and specify its value.
|
3068
|
+
#
|
3069
|
+
# * To leave a parameter set to its present value, you can do one of the
|
3070
|
+
# following:
|
3071
|
+
#
|
3072
|
+
# * Do not include the parameter in the list.
|
3073
|
+
#
|
3074
|
+
# * Include the parameter and specify `UsePreviousValue` as `true`.
|
3075
|
+
# (You cannot specify both a value and set `UsePreviousValue` to
|
3076
|
+
# `true`.)
|
3077
|
+
#
|
3078
|
+
# * To set all overridden parameter back to the values specified in the
|
3079
|
+
# stack set, specify a parameter list but do not include any
|
3080
|
+
# parameters.
|
3081
|
+
#
|
3082
|
+
# * To leave all parameters set to their present values, do not specify
|
3083
|
+
# this property at all.
|
3084
|
+
#
|
3085
|
+
# During stack set updates, any parameter values overridden for a stack
|
3086
|
+
# instance are not updated, but retain their overridden value.
|
3087
|
+
#
|
3088
|
+
# You can only override the parameter *values* that are specified in the
|
3089
|
+
# stack set; to add or delete a parameter itself, use `UpdateStackSet`
|
3090
|
+
# to update the stack set template. If you add a parameter to a
|
3091
|
+
# template, before you can override the parameter value specified in the
|
3092
|
+
# stack set you must first use [UpdateStackSet][1] to update all stack
|
3093
|
+
# instances with the updated template and parameter value specified in
|
3094
|
+
# the stack set. Once a stack instance has been updated with the new
|
3095
|
+
# parameter, you can then override the parameter value using
|
3096
|
+
# `UpdateStackInstances`.
|
3097
|
+
#
|
3098
|
+
#
|
3099
|
+
#
|
3100
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html
|
3101
|
+
#
|
3102
|
+
# @option params [Types::StackSetOperationPreferences] :operation_preferences
|
3103
|
+
# Preferences for how AWS CloudFormation performs this stack set
|
3104
|
+
# operation.
|
3105
|
+
#
|
3106
|
+
# @option params [String] :operation_id
|
3107
|
+
# The unique identifier for this stack set operation.
|
3108
|
+
#
|
3109
|
+
# The operation ID also functions as an idempotency token, to ensure
|
3110
|
+
# that AWS CloudFormation performs the stack set operation only once,
|
3111
|
+
# even if you retry the request multiple times. You might retry stack
|
3112
|
+
# set operation requests to ensure that AWS CloudFormation successfully
|
3113
|
+
# received them.
|
3114
|
+
#
|
3115
|
+
# If you don't specify an operation ID, the SDK generates one
|
3116
|
+
# automatically.
|
3117
|
+
#
|
3118
|
+
# **A suitable default value is auto-generated.** You should normally
|
3119
|
+
# not need to pass this option.**
|
3120
|
+
#
|
3121
|
+
# @return [Types::UpdateStackInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3122
|
+
#
|
3123
|
+
# * {Types::UpdateStackInstancesOutput#operation_id #operation_id} => String
|
3124
|
+
#
|
3125
|
+
# @example Request syntax with placeholder values
|
3126
|
+
#
|
3127
|
+
# resp = client.update_stack_instances({
|
3128
|
+
# stack_set_name: "StackSetName", # required
|
3129
|
+
# accounts: ["Account"], # required
|
3130
|
+
# regions: ["Region"], # required
|
3131
|
+
# parameter_overrides: [
|
3132
|
+
# {
|
3133
|
+
# parameter_key: "ParameterKey",
|
3134
|
+
# parameter_value: "ParameterValue",
|
3135
|
+
# use_previous_value: false,
|
3136
|
+
# resolved_value: "ParameterValue",
|
3137
|
+
# },
|
3138
|
+
# ],
|
3139
|
+
# operation_preferences: {
|
3140
|
+
# region_order: ["Region"],
|
3141
|
+
# failure_tolerance_count: 1,
|
3142
|
+
# failure_tolerance_percentage: 1,
|
3143
|
+
# max_concurrent_count: 1,
|
3144
|
+
# max_concurrent_percentage: 1,
|
3145
|
+
# },
|
3146
|
+
# operation_id: "ClientRequestToken",
|
3147
|
+
# })
|
3148
|
+
#
|
3149
|
+
# @example Response structure
|
3150
|
+
#
|
3151
|
+
# resp.operation_id #=> String
|
3152
|
+
#
|
3153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances AWS API Documentation
|
3154
|
+
#
|
3155
|
+
# @overload update_stack_instances(params = {})
|
3156
|
+
# @param [Hash] params ({})
|
3157
|
+
def update_stack_instances(params = {}, options = {})
|
3158
|
+
req = build_request(:update_stack_instances, params)
|
3159
|
+
req.send_request(options)
|
3160
|
+
end
|
3161
|
+
|
2956
3162
|
# Updates the stack set and *all* associated stack instances.
|
2957
3163
|
#
|
2958
3164
|
# Even if the stack set operation created by updating the stack set
|
@@ -3113,6 +3319,7 @@ module Aws::CloudFormation
|
|
3113
3319
|
# parameter_key: "ParameterKey",
|
3114
3320
|
# parameter_value: "ParameterValue",
|
3115
3321
|
# use_previous_value: false,
|
3322
|
+
# resolved_value: "ParameterValue",
|
3116
3323
|
# },
|
3117
3324
|
# ],
|
3118
3325
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -3271,7 +3478,7 @@ module Aws::CloudFormation
|
|
3271
3478
|
params: params,
|
3272
3479
|
config: config)
|
3273
3480
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
3274
|
-
context[:gem_version] = '1.
|
3481
|
+
context[:gem_version] = '1.3.0'
|
3275
3482
|
Seahorse::Client::Request.new(handlers, context)
|
3276
3483
|
end
|
3277
3484
|
|
@@ -252,6 +252,8 @@ module Aws::CloudFormation
|
|
252
252
|
TransformsList = Shapes::ListShape.new(name: 'TransformsList')
|
253
253
|
Type = Shapes::StringShape.new(name: 'Type')
|
254
254
|
UpdateStackInput = Shapes::StructureShape.new(name: 'UpdateStackInput')
|
255
|
+
UpdateStackInstancesInput = Shapes::StructureShape.new(name: 'UpdateStackInstancesInput')
|
256
|
+
UpdateStackInstancesOutput = Shapes::StructureShape.new(name: 'UpdateStackInstancesOutput')
|
255
257
|
UpdateStackOutput = Shapes::StructureShape.new(name: 'UpdateStackOutput')
|
256
258
|
UpdateStackSetInput = Shapes::StructureShape.new(name: 'UpdateStackSetInput')
|
257
259
|
UpdateStackSetOutput = Shapes::StructureShape.new(name: 'UpdateStackSetOutput')
|
@@ -354,6 +356,7 @@ module Aws::CloudFormation
|
|
354
356
|
CreateStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName"))
|
355
357
|
CreateStackInstancesInput.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, required: true, location_name: "Accounts"))
|
356
358
|
CreateStackInstancesInput.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "Regions"))
|
359
|
+
CreateStackInstancesInput.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: Parameters, location_name: "ParameterOverrides"))
|
357
360
|
CreateStackInstancesInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences"))
|
358
361
|
CreateStackInstancesInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken"=>true}))
|
359
362
|
CreateStackInstancesInput.struct_class = Types::CreateStackInstancesInput
|
@@ -633,6 +636,7 @@ module Aws::CloudFormation
|
|
633
636
|
Parameter.add_member(:parameter_key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "ParameterKey"))
|
634
637
|
Parameter.add_member(:parameter_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "ParameterValue"))
|
635
638
|
Parameter.add_member(:use_previous_value, Shapes::ShapeRef.new(shape: UsePreviousValue, location_name: "UsePreviousValue"))
|
639
|
+
Parameter.add_member(:resolved_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "ResolvedValue"))
|
636
640
|
Parameter.struct_class = Types::Parameter
|
637
641
|
|
638
642
|
ParameterConstraints.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValues, location_name: "AllowedValues"))
|
@@ -745,6 +749,7 @@ module Aws::CloudFormation
|
|
745
749
|
StackInstance.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
746
750
|
StackInstance.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
747
751
|
StackInstance.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
752
|
+
StackInstance.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: Parameters, location_name: "ParameterOverrides"))
|
748
753
|
StackInstance.add_member(:status, Shapes::ShapeRef.new(shape: StackInstanceStatus, location_name: "Status"))
|
749
754
|
StackInstance.add_member(:status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "StatusReason"))
|
750
755
|
StackInstance.struct_class = Types::StackInstance
|
@@ -907,6 +912,17 @@ module Aws::CloudFormation
|
|
907
912
|
UpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
908
913
|
UpdateStackInput.struct_class = Types::UpdateStackInput
|
909
914
|
|
915
|
+
UpdateStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName"))
|
916
|
+
UpdateStackInstancesInput.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, required: true, location_name: "Accounts"))
|
917
|
+
UpdateStackInstancesInput.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "Regions"))
|
918
|
+
UpdateStackInstancesInput.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: Parameters, location_name: "ParameterOverrides"))
|
919
|
+
UpdateStackInstancesInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences"))
|
920
|
+
UpdateStackInstancesInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken"=>true}))
|
921
|
+
UpdateStackInstancesInput.struct_class = Types::UpdateStackInstancesInput
|
922
|
+
|
923
|
+
UpdateStackInstancesOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId"))
|
924
|
+
UpdateStackInstancesOutput.struct_class = Types::UpdateStackInstancesOutput
|
925
|
+
|
910
926
|
UpdateStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
911
927
|
UpdateStackOutput.struct_class = Types::UpdateStackOutput
|
912
928
|
|
@@ -1331,6 +1347,20 @@ module Aws::CloudFormation
|
|
1331
1347
|
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
1332
1348
|
end)
|
1333
1349
|
|
1350
|
+
api.add_operation(:update_stack_instances, Seahorse::Model::Operation.new.tap do |o|
|
1351
|
+
o.name = "UpdateStackInstances"
|
1352
|
+
o.http_method = "POST"
|
1353
|
+
o.http_request_uri = "/"
|
1354
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateStackInstancesInput)
|
1355
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateStackInstancesOutput)
|
1356
|
+
o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
|
1357
|
+
o.errors << Shapes::ShapeRef.new(shape: StackInstanceNotFoundException)
|
1358
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationIdAlreadyExistsException)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: StaleRequestException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
1362
|
+
end)
|
1363
|
+
|
1334
1364
|
api.add_operation(:update_stack_set, Seahorse::Model::Operation.new.tap do |o|
|
1335
1365
|
o.name = "UpdateStackSet"
|
1336
1366
|
o.http_method = "POST"
|
@@ -381,6 +381,7 @@ module Aws::CloudFormation
|
|
381
381
|
# parameter_key: "ParameterKey",
|
382
382
|
# parameter_value: "ParameterValue",
|
383
383
|
# use_previous_value: false,
|
384
|
+
# resolved_value: "ParameterValue",
|
384
385
|
# },
|
385
386
|
# ],
|
386
387
|
# disable_rollback: false,
|
@@ -660,6 +661,7 @@ module Aws::CloudFormation
|
|
660
661
|
# parameter_key: "ParameterKey",
|
661
662
|
# parameter_value: "ParameterValue",
|
662
663
|
# use_previous_value: false,
|
664
|
+
# resolved_value: "ParameterValue",
|
663
665
|
# },
|
664
666
|
# ],
|
665
667
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -329,6 +329,7 @@ module Aws::CloudFormation
|
|
329
329
|
# parameter_key: "ParameterKey",
|
330
330
|
# parameter_value: "ParameterValue",
|
331
331
|
# use_previous_value: false,
|
332
|
+
# resolved_value: "ParameterValue",
|
332
333
|
# },
|
333
334
|
# ],
|
334
335
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -580,6 +581,7 @@ module Aws::CloudFormation
|
|
580
581
|
# parameter_key: "ParameterKey",
|
581
582
|
# parameter_value: "ParameterValue",
|
582
583
|
# use_previous_value: false,
|
584
|
+
# resolved_value: "ParameterValue",
|
583
585
|
# },
|
584
586
|
# ],
|
585
587
|
# disable_rollback: false,
|
@@ -862,6 +864,14 @@ module Aws::CloudFormation
|
|
862
864
|
# stack_set_name: "StackSetName", # required
|
863
865
|
# accounts: ["Account"], # required
|
864
866
|
# regions: ["Region"], # required
|
867
|
+
# parameter_overrides: [
|
868
|
+
# {
|
869
|
+
# parameter_key: "ParameterKey",
|
870
|
+
# parameter_value: "ParameterValue",
|
871
|
+
# use_previous_value: false,
|
872
|
+
# resolved_value: "ParameterValue",
|
873
|
+
# },
|
874
|
+
# ],
|
865
875
|
# operation_preferences: {
|
866
876
|
# region_order: ["Region"],
|
867
877
|
# failure_tolerance_count: 1,
|
@@ -887,6 +897,46 @@ module Aws::CloudFormation
|
|
887
897
|
# instances using the specified AWS account(s).
|
888
898
|
# @return [Array<String>]
|
889
899
|
#
|
900
|
+
# @!attribute [rw] parameter_overrides
|
901
|
+
# A list of stack set parameters whose values you want to override in
|
902
|
+
# the selected stack instances.
|
903
|
+
#
|
904
|
+
# Any overridden parameter values will be applied to all stack
|
905
|
+
# instances in the specified accounts and regions. When specifying
|
906
|
+
# parameters and their values, be aware of how AWS CloudFormation sets
|
907
|
+
# parameter values during stack instance operations:
|
908
|
+
#
|
909
|
+
# * To override the current value for a parameter, include the
|
910
|
+
# parameter and specify its value.
|
911
|
+
#
|
912
|
+
# * To leave a parameter set to its present value, you can do one of
|
913
|
+
# the following:
|
914
|
+
#
|
915
|
+
# * Do not include the parameter in the list.
|
916
|
+
#
|
917
|
+
# * Include the parameter and specify `UsePreviousValue` as `true`.
|
918
|
+
# (You cannot specify both a value and set `UsePreviousValue` to
|
919
|
+
# `true`.)
|
920
|
+
#
|
921
|
+
# * To set all overridden parameter back to the values specified in
|
922
|
+
# the stack set, specify a parameter list but do not include any
|
923
|
+
# parameters.
|
924
|
+
#
|
925
|
+
# * To leave all parameters set to their present values, do not
|
926
|
+
# specify this property at all.
|
927
|
+
#
|
928
|
+
# During stack set updates, any parameter values overridden for a
|
929
|
+
# stack instance are not updated, but retain their overridden value.
|
930
|
+
#
|
931
|
+
# You can only override the parameter *values* that are specified in
|
932
|
+
# the stack set; to add or delete a parameter itself, use
|
933
|
+
# [UpdateStackSet][1] to update the stack set template.
|
934
|
+
#
|
935
|
+
#
|
936
|
+
#
|
937
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html
|
938
|
+
# @return [Array<Types::Parameter>]
|
939
|
+
#
|
890
940
|
# @!attribute [rw] operation_preferences
|
891
941
|
# Preferences for how AWS CloudFormation performs this stack set
|
892
942
|
# operation.
|
@@ -917,6 +967,7 @@ module Aws::CloudFormation
|
|
917
967
|
:stack_set_name,
|
918
968
|
:accounts,
|
919
969
|
:regions,
|
970
|
+
:parameter_overrides,
|
920
971
|
:operation_preferences,
|
921
972
|
:operation_id)
|
922
973
|
include Aws::Structure
|
@@ -959,6 +1010,7 @@ module Aws::CloudFormation
|
|
959
1010
|
# parameter_key: "ParameterKey",
|
960
1011
|
# parameter_value: "ParameterValue",
|
961
1012
|
# use_previous_value: false,
|
1013
|
+
# resolved_value: "ParameterValue",
|
962
1014
|
# },
|
963
1015
|
# ],
|
964
1016
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -1869,6 +1921,7 @@ module Aws::CloudFormation
|
|
1869
1921
|
# parameter_key: "ParameterKey",
|
1870
1922
|
# parameter_value: "ParameterValue",
|
1871
1923
|
# use_previous_value: false,
|
1924
|
+
# resolved_value: "ParameterValue",
|
1872
1925
|
# },
|
1873
1926
|
# ],
|
1874
1927
|
# }
|
@@ -2790,6 +2843,7 @@ module Aws::CloudFormation
|
|
2790
2843
|
# parameter_key: "ParameterKey",
|
2791
2844
|
# parameter_value: "ParameterValue",
|
2792
2845
|
# use_previous_value: false,
|
2846
|
+
# resolved_value: "ParameterValue",
|
2793
2847
|
# }
|
2794
2848
|
#
|
2795
2849
|
# @!attribute [rw] parameter_key
|
@@ -2799,7 +2853,7 @@ module Aws::CloudFormation
|
|
2799
2853
|
# @return [String]
|
2800
2854
|
#
|
2801
2855
|
# @!attribute [rw] parameter_value
|
2802
|
-
# The value associated with the parameter.
|
2856
|
+
# The input value associated with the parameter.
|
2803
2857
|
# @return [String]
|
2804
2858
|
#
|
2805
2859
|
# @!attribute [rw] use_previous_value
|
@@ -2808,12 +2862,23 @@ module Aws::CloudFormation
|
|
2808
2862
|
# not specify a parameter value.
|
2809
2863
|
# @return [Boolean]
|
2810
2864
|
#
|
2865
|
+
# @!attribute [rw] resolved_value
|
2866
|
+
# Read-only. The value that corresponds to a Systems Manager parameter
|
2867
|
+
# key. This field is returned only for [ `SSM` parameter types][1] in
|
2868
|
+
# the template.
|
2869
|
+
#
|
2870
|
+
#
|
2871
|
+
#
|
2872
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types
|
2873
|
+
# @return [String]
|
2874
|
+
#
|
2811
2875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter AWS API Documentation
|
2812
2876
|
#
|
2813
2877
|
class Parameter < Struct.new(
|
2814
2878
|
:parameter_key,
|
2815
2879
|
:parameter_value,
|
2816
|
-
:use_previous_value
|
2880
|
+
:use_previous_value,
|
2881
|
+
:resolved_value)
|
2817
2882
|
include Aws::Structure
|
2818
2883
|
end
|
2819
2884
|
|
@@ -3545,6 +3610,11 @@ module Aws::CloudFormation
|
|
3545
3610
|
# The ID of the stack instance.
|
3546
3611
|
# @return [String]
|
3547
3612
|
#
|
3613
|
+
# @!attribute [rw] parameter_overrides
|
3614
|
+
# A list of parameters from the stack set template whose values have
|
3615
|
+
# been overridden in this stack instance.
|
3616
|
+
# @return [Array<Types::Parameter>]
|
3617
|
+
#
|
3548
3618
|
# @!attribute [rw] status
|
3549
3619
|
# The status of the stack instance, in terms of its synchronization
|
3550
3620
|
# with its associated stack set.
|
@@ -3581,6 +3651,7 @@ module Aws::CloudFormation
|
|
3581
3651
|
:region,
|
3582
3652
|
:account,
|
3583
3653
|
:stack_id,
|
3654
|
+
:parameter_overrides,
|
3584
3655
|
:status,
|
3585
3656
|
:status_reason)
|
3586
3657
|
include Aws::Structure
|
@@ -4401,6 +4472,7 @@ module Aws::CloudFormation
|
|
4401
4472
|
# parameter_key: "ParameterKey",
|
4402
4473
|
# parameter_value: "ParameterValue",
|
4403
4474
|
# use_previous_value: false,
|
4475
|
+
# resolved_value: "ParameterValue",
|
4404
4476
|
# },
|
4405
4477
|
# ],
|
4406
4478
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
@@ -4663,6 +4735,140 @@ module Aws::CloudFormation
|
|
4663
4735
|
include Aws::Structure
|
4664
4736
|
end
|
4665
4737
|
|
4738
|
+
# @note When making an API call, you may pass UpdateStackInstancesInput
|
4739
|
+
# data as a hash:
|
4740
|
+
#
|
4741
|
+
# {
|
4742
|
+
# stack_set_name: "StackSetName", # required
|
4743
|
+
# accounts: ["Account"], # required
|
4744
|
+
# regions: ["Region"], # required
|
4745
|
+
# parameter_overrides: [
|
4746
|
+
# {
|
4747
|
+
# parameter_key: "ParameterKey",
|
4748
|
+
# parameter_value: "ParameterValue",
|
4749
|
+
# use_previous_value: false,
|
4750
|
+
# resolved_value: "ParameterValue",
|
4751
|
+
# },
|
4752
|
+
# ],
|
4753
|
+
# operation_preferences: {
|
4754
|
+
# region_order: ["Region"],
|
4755
|
+
# failure_tolerance_count: 1,
|
4756
|
+
# failure_tolerance_percentage: 1,
|
4757
|
+
# max_concurrent_count: 1,
|
4758
|
+
# max_concurrent_percentage: 1,
|
4759
|
+
# },
|
4760
|
+
# operation_id: "ClientRequestToken",
|
4761
|
+
# }
|
4762
|
+
#
|
4763
|
+
# @!attribute [rw] stack_set_name
|
4764
|
+
# The name or unique ID of the stack set associated with the stack
|
4765
|
+
# instances.
|
4766
|
+
# @return [String]
|
4767
|
+
#
|
4768
|
+
# @!attribute [rw] accounts
|
4769
|
+
# The names of one or more AWS accounts for which you want to update
|
4770
|
+
# parameter values for stack instances. The overridden parameter
|
4771
|
+
# values will be applied to all stack instances in the specified
|
4772
|
+
# accounts and regions.
|
4773
|
+
# @return [Array<String>]
|
4774
|
+
#
|
4775
|
+
# @!attribute [rw] regions
|
4776
|
+
# The names of one or more regions in which you want to update
|
4777
|
+
# parameter values for stack instances. The overridden parameter
|
4778
|
+
# values will be applied to all stack instances in the specified
|
4779
|
+
# accounts and regions.
|
4780
|
+
# @return [Array<String>]
|
4781
|
+
#
|
4782
|
+
# @!attribute [rw] parameter_overrides
|
4783
|
+
# A list of input parameters whose values you want to update for the
|
4784
|
+
# specified stack instances.
|
4785
|
+
#
|
4786
|
+
# Any overridden parameter values will be applied to all stack
|
4787
|
+
# instances in the specified accounts and regions. When specifying
|
4788
|
+
# parameters and their values, be aware of how AWS CloudFormation sets
|
4789
|
+
# parameter values during stack instance update operations:
|
4790
|
+
#
|
4791
|
+
# * To override the current value for a parameter, include the
|
4792
|
+
# parameter and specify its value.
|
4793
|
+
#
|
4794
|
+
# * To leave a parameter set to its present value, you can do one of
|
4795
|
+
# the following:
|
4796
|
+
#
|
4797
|
+
# * Do not include the parameter in the list.
|
4798
|
+
#
|
4799
|
+
# * Include the parameter and specify `UsePreviousValue` as `true`.
|
4800
|
+
# (You cannot specify both a value and set `UsePreviousValue` to
|
4801
|
+
# `true`.)
|
4802
|
+
#
|
4803
|
+
# * To set all overridden parameter back to the values specified in
|
4804
|
+
# the stack set, specify a parameter list but do not include any
|
4805
|
+
# parameters.
|
4806
|
+
#
|
4807
|
+
# * To leave all parameters set to their present values, do not
|
4808
|
+
# specify this property at all.
|
4809
|
+
#
|
4810
|
+
# During stack set updates, any parameter values overridden for a
|
4811
|
+
# stack instance are not updated, but retain their overridden value.
|
4812
|
+
#
|
4813
|
+
# You can only override the parameter *values* that are specified in
|
4814
|
+
# the stack set; to add or delete a parameter itself, use
|
4815
|
+
# `UpdateStackSet` to update the stack set template. If you add a
|
4816
|
+
# parameter to a template, before you can override the parameter value
|
4817
|
+
# specified in the stack set you must first use [UpdateStackSet][1] to
|
4818
|
+
# update all stack instances with the updated template and parameter
|
4819
|
+
# value specified in the stack set. Once a stack instance has been
|
4820
|
+
# updated with the new parameter, you can then override the parameter
|
4821
|
+
# value using `UpdateStackInstances`.
|
4822
|
+
#
|
4823
|
+
#
|
4824
|
+
#
|
4825
|
+
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html
|
4826
|
+
# @return [Array<Types::Parameter>]
|
4827
|
+
#
|
4828
|
+
# @!attribute [rw] operation_preferences
|
4829
|
+
# Preferences for how AWS CloudFormation performs this stack set
|
4830
|
+
# operation.
|
4831
|
+
# @return [Types::StackSetOperationPreferences]
|
4832
|
+
#
|
4833
|
+
# @!attribute [rw] operation_id
|
4834
|
+
# The unique identifier for this stack set operation.
|
4835
|
+
#
|
4836
|
+
# The operation ID also functions as an idempotency token, to ensure
|
4837
|
+
# that AWS CloudFormation performs the stack set operation only once,
|
4838
|
+
# even if you retry the request multiple times. You might retry stack
|
4839
|
+
# set operation requests to ensure that AWS CloudFormation
|
4840
|
+
# successfully received them.
|
4841
|
+
#
|
4842
|
+
# If you don't specify an operation ID, the SDK generates one
|
4843
|
+
# automatically.
|
4844
|
+
#
|
4845
|
+
# **A suitable default value is auto-generated.** You should normally
|
4846
|
+
# not need to pass this option.
|
4847
|
+
# @return [String]
|
4848
|
+
#
|
4849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesInput AWS API Documentation
|
4850
|
+
#
|
4851
|
+
class UpdateStackInstancesInput < Struct.new(
|
4852
|
+
:stack_set_name,
|
4853
|
+
:accounts,
|
4854
|
+
:regions,
|
4855
|
+
:parameter_overrides,
|
4856
|
+
:operation_preferences,
|
4857
|
+
:operation_id)
|
4858
|
+
include Aws::Structure
|
4859
|
+
end
|
4860
|
+
|
4861
|
+
# @!attribute [rw] operation_id
|
4862
|
+
# The unique identifier for this stack set operation.
|
4863
|
+
# @return [String]
|
4864
|
+
#
|
4865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesOutput AWS API Documentation
|
4866
|
+
#
|
4867
|
+
class UpdateStackInstancesOutput < Struct.new(
|
4868
|
+
:operation_id)
|
4869
|
+
include Aws::Structure
|
4870
|
+
end
|
4871
|
+
|
4666
4872
|
# The output for an UpdateStack action.
|
4667
4873
|
#
|
4668
4874
|
# @!attribute [rw] stack_id
|
@@ -4690,6 +4896,7 @@ module Aws::CloudFormation
|
|
4690
4896
|
# parameter_key: "ParameterKey",
|
4691
4897
|
# parameter_value: "ParameterValue",
|
4692
4898
|
# use_previous_value: false,
|
4899
|
+
# resolved_value: "ParameterValue",
|
4693
4900
|
# },
|
4694
4901
|
# ],
|
4695
4902
|
# capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM
|
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.3.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: 2017-
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|