aws-sdk-cloudformation 1.144.0 → 1.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +187 -17
- data/lib/aws-sdk-cloudformation/client_api.rb +125 -0
- data/lib/aws-sdk-cloudformation/event.rb +7 -0
- data/lib/aws-sdk-cloudformation/stack.rb +6 -0
- data/lib/aws-sdk-cloudformation/types.rb +460 -15
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +30 -5
- data/sig/event.rbs +3 -0
- data/sig/stack.rbs +3 -0
- data/sig/types.rbs +96 -10
- metadata +3 -3
|
@@ -309,11 +309,19 @@ module Aws::CloudFormation
|
|
|
309
309
|
# resources are deleted. Specify only if `Enabled` is set to `True`.
|
|
310
310
|
# @return [Boolean]
|
|
311
311
|
#
|
|
312
|
+
# @!attribute [rw] depends_on
|
|
313
|
+
# A list of StackSet ARNs that this StackSet depends on for
|
|
314
|
+
# auto-deployment operations. When auto-deployment is triggered,
|
|
315
|
+
# operations will be sequenced to ensure all dependencies complete
|
|
316
|
+
# successfully before this StackSet's operation begins.
|
|
317
|
+
# @return [Array<String>]
|
|
318
|
+
#
|
|
312
319
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AutoDeployment AWS API Documentation
|
|
313
320
|
#
|
|
314
321
|
class AutoDeployment < Struct.new(
|
|
315
322
|
:enabled,
|
|
316
|
-
:retain_stacks_on_account_removal
|
|
323
|
+
:retain_stacks_on_account_removal,
|
|
324
|
+
:depends_on)
|
|
317
325
|
SENSITIVE = []
|
|
318
326
|
include Aws::Structure
|
|
319
327
|
end
|
|
@@ -1071,6 +1079,25 @@ module Aws::CloudFormation
|
|
|
1071
1079
|
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html
|
|
1072
1080
|
# @return [Boolean]
|
|
1073
1081
|
#
|
|
1082
|
+
# @!attribute [rw] deployment_mode
|
|
1083
|
+
# Determines how CloudFormation handles configuration drift during
|
|
1084
|
+
# deployment.
|
|
1085
|
+
#
|
|
1086
|
+
# * `REVERT_DRIFT` – Creates a drift-aware change set that brings
|
|
1087
|
+
# actual resource states in line with template definitions. Provides
|
|
1088
|
+
# a three-way comparison between actual state, previous deployment
|
|
1089
|
+
# state, and desired state.
|
|
1090
|
+
#
|
|
1091
|
+
# ^
|
|
1092
|
+
#
|
|
1093
|
+
# For more information, see [Using drift-aware change sets][1] in the
|
|
1094
|
+
# *CloudFormation User Guide*.
|
|
1095
|
+
#
|
|
1096
|
+
#
|
|
1097
|
+
#
|
|
1098
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/drift-aware-change-sets.html
|
|
1099
|
+
# @return [String]
|
|
1100
|
+
#
|
|
1074
1101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput AWS API Documentation
|
|
1075
1102
|
#
|
|
1076
1103
|
class CreateChangeSetInput < Struct.new(
|
|
@@ -1092,7 +1119,8 @@ module Aws::CloudFormation
|
|
|
1092
1119
|
:resources_to_import,
|
|
1093
1120
|
:include_nested_stacks,
|
|
1094
1121
|
:on_stack_failure,
|
|
1095
|
-
:import_existing_resources
|
|
1122
|
+
:import_existing_resources,
|
|
1123
|
+
:deployment_mode)
|
|
1096
1124
|
SENSITIVE = []
|
|
1097
1125
|
include Aws::Structure
|
|
1098
1126
|
end
|
|
@@ -1618,10 +1646,16 @@ module Aws::CloudFormation
|
|
|
1618
1646
|
# Unique identifier of the stack.
|
|
1619
1647
|
# @return [String]
|
|
1620
1648
|
#
|
|
1649
|
+
# @!attribute [rw] operation_id
|
|
1650
|
+
# A unique identifier for this stack operation that can be used to
|
|
1651
|
+
# track the operation's progress and events.
|
|
1652
|
+
# @return [String]
|
|
1653
|
+
#
|
|
1621
1654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput AWS API Documentation
|
|
1622
1655
|
#
|
|
1623
1656
|
class CreateStackOutput < Struct.new(
|
|
1624
|
-
:stack_id
|
|
1657
|
+
:stack_id,
|
|
1658
|
+
:operation_id)
|
|
1625
1659
|
SENSITIVE = []
|
|
1626
1660
|
include Aws::Structure
|
|
1627
1661
|
end
|
|
@@ -2581,6 +2615,22 @@ module Aws::CloudFormation
|
|
|
2581
2615
|
# error message.
|
|
2582
2616
|
# @return [String]
|
|
2583
2617
|
#
|
|
2618
|
+
# @!attribute [rw] stack_drift_status
|
|
2619
|
+
# The drift status of the stack when the change set was created. Valid
|
|
2620
|
+
# values:
|
|
2621
|
+
#
|
|
2622
|
+
# * `DRIFTED` – The stack has drifted from its last deployment.
|
|
2623
|
+
#
|
|
2624
|
+
# * `IN_SYNC` – The stack is in sync with its last deployment.
|
|
2625
|
+
#
|
|
2626
|
+
# * `NOT_CHECKED` – CloudFormation doesn’t currently return this
|
|
2627
|
+
# value.
|
|
2628
|
+
#
|
|
2629
|
+
# * `UNKNOWN` – The drift status could not be determined.
|
|
2630
|
+
#
|
|
2631
|
+
# Only present for drift-aware change sets.
|
|
2632
|
+
# @return [String]
|
|
2633
|
+
#
|
|
2584
2634
|
# @!attribute [rw] notification_arns
|
|
2585
2635
|
# The ARNs of the Amazon SNS topics that will be associated with the
|
|
2586
2636
|
# stack if you execute the change set.
|
|
@@ -2665,6 +2715,11 @@ module Aws::CloudFormation
|
|
|
2665
2715
|
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html
|
|
2666
2716
|
# @return [Boolean]
|
|
2667
2717
|
#
|
|
2718
|
+
# @!attribute [rw] deployment_mode
|
|
2719
|
+
# The deployment mode specified when the change set was created. Valid
|
|
2720
|
+
# value is `REVERT_DRIFT`. Only present for drift-aware change sets.
|
|
2721
|
+
# @return [String]
|
|
2722
|
+
#
|
|
2668
2723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput AWS API Documentation
|
|
2669
2724
|
#
|
|
2670
2725
|
class DescribeChangeSetOutput < Struct.new(
|
|
@@ -2678,6 +2733,7 @@ module Aws::CloudFormation
|
|
|
2678
2733
|
:execution_status,
|
|
2679
2734
|
:status,
|
|
2680
2735
|
:status_reason,
|
|
2736
|
+
:stack_drift_status,
|
|
2681
2737
|
:notification_arns,
|
|
2682
2738
|
:rollback_configuration,
|
|
2683
2739
|
:capabilities,
|
|
@@ -2688,7 +2744,64 @@ module Aws::CloudFormation
|
|
|
2688
2744
|
:parent_change_set_id,
|
|
2689
2745
|
:root_change_set_id,
|
|
2690
2746
|
:on_stack_failure,
|
|
2691
|
-
:import_existing_resources
|
|
2747
|
+
:import_existing_resources,
|
|
2748
|
+
:deployment_mode)
|
|
2749
|
+
SENSITIVE = []
|
|
2750
|
+
include Aws::Structure
|
|
2751
|
+
end
|
|
2752
|
+
|
|
2753
|
+
# @!attribute [rw] stack_name
|
|
2754
|
+
# The name or unique stack ID for which you want to retrieve events.
|
|
2755
|
+
# @return [String]
|
|
2756
|
+
#
|
|
2757
|
+
# @!attribute [rw] change_set_name
|
|
2758
|
+
# The name or Amazon Resource Name (ARN) of the change set for which
|
|
2759
|
+
# you want to retrieve events.
|
|
2760
|
+
# @return [String]
|
|
2761
|
+
#
|
|
2762
|
+
# @!attribute [rw] operation_id
|
|
2763
|
+
# The unique identifier of the operation for which you want to
|
|
2764
|
+
# retrieve events.
|
|
2765
|
+
# @return [String]
|
|
2766
|
+
#
|
|
2767
|
+
# @!attribute [rw] filters
|
|
2768
|
+
# Filters to apply when retrieving events.
|
|
2769
|
+
# @return [Types::EventFilter]
|
|
2770
|
+
#
|
|
2771
|
+
# @!attribute [rw] next_token
|
|
2772
|
+
# The token for the next set of items to return. (You received this
|
|
2773
|
+
# token from a previous call.)
|
|
2774
|
+
# @return [String]
|
|
2775
|
+
#
|
|
2776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeEventsInput AWS API Documentation
|
|
2777
|
+
#
|
|
2778
|
+
class DescribeEventsInput < Struct.new(
|
|
2779
|
+
:stack_name,
|
|
2780
|
+
:change_set_name,
|
|
2781
|
+
:operation_id,
|
|
2782
|
+
:filters,
|
|
2783
|
+
:next_token)
|
|
2784
|
+
SENSITIVE = []
|
|
2785
|
+
include Aws::Structure
|
|
2786
|
+
end
|
|
2787
|
+
|
|
2788
|
+
# @!attribute [rw] operation_events
|
|
2789
|
+
# A list of operation events that match the specified criteria.
|
|
2790
|
+
# @return [Array<Types::OperationEvent>]
|
|
2791
|
+
#
|
|
2792
|
+
# @!attribute [rw] next_token
|
|
2793
|
+
# If the request doesn't return all the remaining results,
|
|
2794
|
+
# `NextToken` is set to a token. To retrieve the next set of results,
|
|
2795
|
+
# call `DescribeEvents` again and assign that token to the request
|
|
2796
|
+
# object's `NextToken` parameter. If the request returns all results,
|
|
2797
|
+
# `NextToken` is set to `null`.
|
|
2798
|
+
# @return [String]
|
|
2799
|
+
#
|
|
2800
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeEventsOutput AWS API Documentation
|
|
2801
|
+
#
|
|
2802
|
+
class DescribeEventsOutput < Struct.new(
|
|
2803
|
+
:operation_events,
|
|
2804
|
+
:next_token)
|
|
2692
2805
|
SENSITIVE = []
|
|
2693
2806
|
include Aws::Structure
|
|
2694
2807
|
end
|
|
@@ -4219,6 +4332,21 @@ module Aws::CloudFormation
|
|
|
4219
4332
|
include Aws::Structure
|
|
4220
4333
|
end
|
|
4221
4334
|
|
|
4335
|
+
# Event filter allows you to focus on specific events in an operation.
|
|
4336
|
+
#
|
|
4337
|
+
# @!attribute [rw] failed_events
|
|
4338
|
+
# When set to true, only returns failed events within the operation.
|
|
4339
|
+
# This helps quickly identify root causes for a failed operation.
|
|
4340
|
+
# @return [Boolean]
|
|
4341
|
+
#
|
|
4342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EventFilter AWS API Documentation
|
|
4343
|
+
#
|
|
4344
|
+
class EventFilter < Struct.new(
|
|
4345
|
+
:failed_events)
|
|
4346
|
+
SENSITIVE = []
|
|
4347
|
+
include Aws::Structure
|
|
4348
|
+
end
|
|
4349
|
+
|
|
4222
4350
|
# The input for the ExecuteChangeSet action.
|
|
4223
4351
|
#
|
|
4224
4352
|
# @!attribute [rw] change_set_name
|
|
@@ -6429,6 +6557,31 @@ module Aws::CloudFormation
|
|
|
6429
6557
|
include Aws::Structure
|
|
6430
6558
|
end
|
|
6431
6559
|
|
|
6560
|
+
# Contains drift information for a resource property, including actual
|
|
6561
|
+
# value, previous deployment value, and drift detection timestamp.
|
|
6562
|
+
#
|
|
6563
|
+
# @!attribute [rw] previous_value
|
|
6564
|
+
# The configuration value from the previous CloudFormation deployment.
|
|
6565
|
+
# @return [String]
|
|
6566
|
+
#
|
|
6567
|
+
# @!attribute [rw] actual_value
|
|
6568
|
+
# The current live configuration value of the resource property.
|
|
6569
|
+
# @return [String]
|
|
6570
|
+
#
|
|
6571
|
+
# @!attribute [rw] drift_detection_timestamp
|
|
6572
|
+
# The timestamp when drift was detected for this resource property.
|
|
6573
|
+
# @return [Time]
|
|
6574
|
+
#
|
|
6575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/LiveResourceDrift AWS API Documentation
|
|
6576
|
+
#
|
|
6577
|
+
class LiveResourceDrift < Struct.new(
|
|
6578
|
+
:previous_value,
|
|
6579
|
+
:actual_value,
|
|
6580
|
+
:drift_detection_timestamp)
|
|
6581
|
+
SENSITIVE = []
|
|
6582
|
+
include Aws::Structure
|
|
6583
|
+
end
|
|
6584
|
+
|
|
6432
6585
|
# Contains logging configuration information for an extension.
|
|
6433
6586
|
#
|
|
6434
6587
|
# @!attribute [rw] log_role_arn
|
|
@@ -6536,6 +6689,171 @@ module Aws::CloudFormation
|
|
|
6536
6689
|
#
|
|
6537
6690
|
class NameAlreadyExistsException < Aws::EmptyStructure; end
|
|
6538
6691
|
|
|
6692
|
+
# Contains information about a CloudFormation operation.
|
|
6693
|
+
#
|
|
6694
|
+
# @!attribute [rw] operation_type
|
|
6695
|
+
# The type of operation.
|
|
6696
|
+
# @return [String]
|
|
6697
|
+
#
|
|
6698
|
+
# @!attribute [rw] operation_id
|
|
6699
|
+
# The unique identifier for the operation.
|
|
6700
|
+
# @return [String]
|
|
6701
|
+
#
|
|
6702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationEntry AWS API Documentation
|
|
6703
|
+
#
|
|
6704
|
+
class OperationEntry < Struct.new(
|
|
6705
|
+
:operation_type,
|
|
6706
|
+
:operation_id)
|
|
6707
|
+
SENSITIVE = []
|
|
6708
|
+
include Aws::Structure
|
|
6709
|
+
end
|
|
6710
|
+
|
|
6711
|
+
# Contains detailed information about an event that occurred during a
|
|
6712
|
+
# CloudFormation operation.
|
|
6713
|
+
#
|
|
6714
|
+
# @!attribute [rw] event_id
|
|
6715
|
+
# A unique identifier for this event.
|
|
6716
|
+
# @return [String]
|
|
6717
|
+
#
|
|
6718
|
+
# @!attribute [rw] stack_id
|
|
6719
|
+
# The unique ID name of the instance of the stack.
|
|
6720
|
+
# @return [String]
|
|
6721
|
+
#
|
|
6722
|
+
# @!attribute [rw] operation_id
|
|
6723
|
+
# The unique identifier of the operation this event belongs to.
|
|
6724
|
+
# @return [String]
|
|
6725
|
+
#
|
|
6726
|
+
# @!attribute [rw] operation_type
|
|
6727
|
+
# The type of operation.
|
|
6728
|
+
# @return [String]
|
|
6729
|
+
#
|
|
6730
|
+
# @!attribute [rw] operation_status
|
|
6731
|
+
# The current status of the operation.
|
|
6732
|
+
# @return [String]
|
|
6733
|
+
#
|
|
6734
|
+
# @!attribute [rw] event_type
|
|
6735
|
+
# The type of event.
|
|
6736
|
+
# @return [String]
|
|
6737
|
+
#
|
|
6738
|
+
# @!attribute [rw] logical_resource_id
|
|
6739
|
+
# The logical name of the resource as specified in the template.
|
|
6740
|
+
# @return [String]
|
|
6741
|
+
#
|
|
6742
|
+
# @!attribute [rw] physical_resource_id
|
|
6743
|
+
# The name or unique identifier that corresponds to a physical
|
|
6744
|
+
# instance ID of a resource.
|
|
6745
|
+
# @return [String]
|
|
6746
|
+
#
|
|
6747
|
+
# @!attribute [rw] resource_type
|
|
6748
|
+
# Type of resource.
|
|
6749
|
+
# @return [String]
|
|
6750
|
+
#
|
|
6751
|
+
# @!attribute [rw] timestamp
|
|
6752
|
+
# Time the status was updated.
|
|
6753
|
+
# @return [Time]
|
|
6754
|
+
#
|
|
6755
|
+
# @!attribute [rw] start_time
|
|
6756
|
+
# The time when the event started.
|
|
6757
|
+
# @return [Time]
|
|
6758
|
+
#
|
|
6759
|
+
# @!attribute [rw] end_time
|
|
6760
|
+
# The time when the event ended.
|
|
6761
|
+
# @return [Time]
|
|
6762
|
+
#
|
|
6763
|
+
# @!attribute [rw] resource_status
|
|
6764
|
+
# Current status of the resource.
|
|
6765
|
+
# @return [String]
|
|
6766
|
+
#
|
|
6767
|
+
# @!attribute [rw] resource_status_reason
|
|
6768
|
+
# Success or failure message associated with the resource.
|
|
6769
|
+
# @return [String]
|
|
6770
|
+
#
|
|
6771
|
+
# @!attribute [rw] resource_properties
|
|
6772
|
+
# The properties used to create the resource.
|
|
6773
|
+
# @return [String]
|
|
6774
|
+
#
|
|
6775
|
+
# @!attribute [rw] client_request_token
|
|
6776
|
+
# A unique identifier for the request that initiated this operation.
|
|
6777
|
+
# @return [String]
|
|
6778
|
+
#
|
|
6779
|
+
# @!attribute [rw] hook_type
|
|
6780
|
+
# The type name of the Hook that was invoked.
|
|
6781
|
+
# @return [String]
|
|
6782
|
+
#
|
|
6783
|
+
# @!attribute [rw] hook_status
|
|
6784
|
+
# The status of the Hook invocation.
|
|
6785
|
+
# @return [String]
|
|
6786
|
+
#
|
|
6787
|
+
# @!attribute [rw] hook_status_reason
|
|
6788
|
+
# Additional information about the Hook status.
|
|
6789
|
+
# @return [String]
|
|
6790
|
+
#
|
|
6791
|
+
# @!attribute [rw] hook_invocation_point
|
|
6792
|
+
# The point in the operation lifecycle when the Hook was invoked.
|
|
6793
|
+
# @return [String]
|
|
6794
|
+
#
|
|
6795
|
+
# @!attribute [rw] hook_failure_mode
|
|
6796
|
+
# Specifies how Hook failures are handled.
|
|
6797
|
+
# @return [String]
|
|
6798
|
+
#
|
|
6799
|
+
# @!attribute [rw] detailed_status
|
|
6800
|
+
# Additional status information about the operation.
|
|
6801
|
+
# @return [String]
|
|
6802
|
+
#
|
|
6803
|
+
# @!attribute [rw] validation_failure_mode
|
|
6804
|
+
# Specifies how validation failures are handled.
|
|
6805
|
+
# @return [String]
|
|
6806
|
+
#
|
|
6807
|
+
# @!attribute [rw] validation_name
|
|
6808
|
+
# The name of the validation that was performed.
|
|
6809
|
+
# @return [String]
|
|
6810
|
+
#
|
|
6811
|
+
# @!attribute [rw] validation_status
|
|
6812
|
+
# The status of the validation.
|
|
6813
|
+
# @return [String]
|
|
6814
|
+
#
|
|
6815
|
+
# @!attribute [rw] validation_status_reason
|
|
6816
|
+
# Additional information about the validation status.
|
|
6817
|
+
# @return [String]
|
|
6818
|
+
#
|
|
6819
|
+
# @!attribute [rw] validation_path
|
|
6820
|
+
# The path within the resource where the validation was applied.
|
|
6821
|
+
# @return [String]
|
|
6822
|
+
#
|
|
6823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationEvent AWS API Documentation
|
|
6824
|
+
#
|
|
6825
|
+
class OperationEvent < Struct.new(
|
|
6826
|
+
:event_id,
|
|
6827
|
+
:stack_id,
|
|
6828
|
+
:operation_id,
|
|
6829
|
+
:operation_type,
|
|
6830
|
+
:operation_status,
|
|
6831
|
+
:event_type,
|
|
6832
|
+
:logical_resource_id,
|
|
6833
|
+
:physical_resource_id,
|
|
6834
|
+
:resource_type,
|
|
6835
|
+
:timestamp,
|
|
6836
|
+
:start_time,
|
|
6837
|
+
:end_time,
|
|
6838
|
+
:resource_status,
|
|
6839
|
+
:resource_status_reason,
|
|
6840
|
+
:resource_properties,
|
|
6841
|
+
:client_request_token,
|
|
6842
|
+
:hook_type,
|
|
6843
|
+
:hook_status,
|
|
6844
|
+
:hook_status_reason,
|
|
6845
|
+
:hook_invocation_point,
|
|
6846
|
+
:hook_failure_mode,
|
|
6847
|
+
:detailed_status,
|
|
6848
|
+
:validation_failure_mode,
|
|
6849
|
+
:validation_name,
|
|
6850
|
+
:validation_status,
|
|
6851
|
+
:validation_status_reason,
|
|
6852
|
+
:validation_path)
|
|
6853
|
+
SENSITIVE = []
|
|
6854
|
+
include Aws::Structure
|
|
6855
|
+
end
|
|
6856
|
+
|
|
6539
6857
|
# The specified operation ID already exists.
|
|
6540
6858
|
#
|
|
6541
6859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationIdAlreadyExistsException AWS API Documentation
|
|
@@ -7172,8 +7490,10 @@ module Aws::CloudFormation
|
|
|
7172
7490
|
# @!attribute [rw] action
|
|
7173
7491
|
# The action that CloudFormation takes on the resource, such as `Add`
|
|
7174
7492
|
# (adds a new resource), `Modify` (changes a resource), `Remove`
|
|
7175
|
-
# (deletes a resource), `Import` (imports a resource),
|
|
7176
|
-
# (exact action for the resource can't be determined)
|
|
7493
|
+
# (deletes a resource), `Import` (imports a resource), `Dynamic`
|
|
7494
|
+
# (exact action for the resource can't be determined), or
|
|
7495
|
+
# `SyncWithActual` (resource will not be changed, only CloudFormation
|
|
7496
|
+
# metadata will change).
|
|
7177
7497
|
# @return [String]
|
|
7178
7498
|
#
|
|
7179
7499
|
# @!attribute [rw] logical_resource_id
|
|
@@ -7212,6 +7532,31 @@ module Aws::CloudFormation
|
|
|
7212
7532
|
# attribute's `Metadata`, `Properties`, or `Tags`.
|
|
7213
7533
|
# @return [Array<String>]
|
|
7214
7534
|
#
|
|
7535
|
+
# @!attribute [rw] resource_drift_status
|
|
7536
|
+
# The drift status of the resource. Valid values:
|
|
7537
|
+
#
|
|
7538
|
+
# * `IN_SYNC` – The resource matches its template definition.
|
|
7539
|
+
#
|
|
7540
|
+
# * `MODIFIED` – Resource properties were modified outside
|
|
7541
|
+
# CloudFormation.
|
|
7542
|
+
#
|
|
7543
|
+
# * `DELETED` – The resource was deleted outside CloudFormation.
|
|
7544
|
+
#
|
|
7545
|
+
# * `NOT_CHECKED` – CloudFormation doesn’t currently return this
|
|
7546
|
+
# value.
|
|
7547
|
+
#
|
|
7548
|
+
# * `UNKNOWN` – Drift status could not be determined.
|
|
7549
|
+
#
|
|
7550
|
+
# * `UNSUPPORTED` – Resource type does not support actual state
|
|
7551
|
+
# comparison.
|
|
7552
|
+
#
|
|
7553
|
+
# Only present for drift-aware change sets.
|
|
7554
|
+
# @return [String]
|
|
7555
|
+
#
|
|
7556
|
+
# @!attribute [rw] resource_drift_ignored_attributes
|
|
7557
|
+
# List of resource attributes for which drift was ignored.
|
|
7558
|
+
# @return [Array<Types::ResourceDriftIgnoredAttribute>]
|
|
7559
|
+
#
|
|
7215
7560
|
# @!attribute [rw] details
|
|
7216
7561
|
# For the `Modify` action, a list of `ResourceChangeDetail` structures
|
|
7217
7562
|
# that describes the changes that CloudFormation will make to the
|
|
@@ -7238,6 +7583,11 @@ module Aws::CloudFormation
|
|
|
7238
7583
|
# after the change is executed.
|
|
7239
7584
|
# @return [String]
|
|
7240
7585
|
#
|
|
7586
|
+
# @!attribute [rw] previous_deployment_context
|
|
7587
|
+
# Information about the resource's state from the previous
|
|
7588
|
+
# CloudFormation deployment.
|
|
7589
|
+
# @return [String]
|
|
7590
|
+
#
|
|
7241
7591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange AWS API Documentation
|
|
7242
7592
|
#
|
|
7243
7593
|
class ResourceChange < Struct.new(
|
|
@@ -7248,11 +7598,14 @@ module Aws::CloudFormation
|
|
|
7248
7598
|
:resource_type,
|
|
7249
7599
|
:replacement,
|
|
7250
7600
|
:scope,
|
|
7601
|
+
:resource_drift_status,
|
|
7602
|
+
:resource_drift_ignored_attributes,
|
|
7251
7603
|
:details,
|
|
7252
7604
|
:change_set_id,
|
|
7253
7605
|
:module_info,
|
|
7254
7606
|
:before_context,
|
|
7255
|
-
:after_context
|
|
7607
|
+
:after_context,
|
|
7608
|
+
:previous_deployment_context)
|
|
7256
7609
|
SENSITIVE = []
|
|
7257
7610
|
include Aws::Structure
|
|
7258
7611
|
end
|
|
@@ -7314,6 +7667,9 @@ module Aws::CloudFormation
|
|
|
7314
7667
|
# nested stack's template might have changed. Changes to a nested
|
|
7315
7668
|
# stack's template aren't visible to CloudFormation until you run
|
|
7316
7669
|
# an update on the parent stack.
|
|
7670
|
+
#
|
|
7671
|
+
# * `NoModification` entities are changes made to the template that
|
|
7672
|
+
# matches the actual state of the resource.
|
|
7317
7673
|
# @return [String]
|
|
7318
7674
|
#
|
|
7319
7675
|
# @!attribute [rw] causing_entity
|
|
@@ -7456,6 +7812,32 @@ module Aws::CloudFormation
|
|
|
7456
7812
|
include Aws::Structure
|
|
7457
7813
|
end
|
|
7458
7814
|
|
|
7815
|
+
# The `ResourceDriftIgnoredAttribute` data type.
|
|
7816
|
+
#
|
|
7817
|
+
# @!attribute [rw] path
|
|
7818
|
+
# Path of the resource attribute for which drift was ignored.
|
|
7819
|
+
# @return [String]
|
|
7820
|
+
#
|
|
7821
|
+
# @!attribute [rw] reason
|
|
7822
|
+
# Reason why drift was ignored for the attribute, can have 2 possible
|
|
7823
|
+
# values:
|
|
7824
|
+
#
|
|
7825
|
+
# * `WRITE_ONLY_PROPERTY` - Property is not included in read response
|
|
7826
|
+
# for the resource’s live state.
|
|
7827
|
+
#
|
|
7828
|
+
# * `MANAGED_BY_AWS` - Property is managed by an Amazon Web Services
|
|
7829
|
+
# service and is expected to be dynamically modified.
|
|
7830
|
+
# @return [String]
|
|
7831
|
+
#
|
|
7832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceDriftIgnoredAttribute AWS API Documentation
|
|
7833
|
+
#
|
|
7834
|
+
class ResourceDriftIgnoredAttribute < Struct.new(
|
|
7835
|
+
:path,
|
|
7836
|
+
:reason)
|
|
7837
|
+
SENSITIVE = []
|
|
7838
|
+
include Aws::Structure
|
|
7839
|
+
end
|
|
7840
|
+
|
|
7459
7841
|
# Describes the target resources of a specific type in your import
|
|
7460
7842
|
# template (for example, all `AWS::S3::Bucket` resources) and the
|
|
7461
7843
|
# properties you can provide during the import to identify resources of
|
|
@@ -7659,6 +8041,33 @@ module Aws::CloudFormation
|
|
|
7659
8041
|
# can be truncated.
|
|
7660
8042
|
# @return [String]
|
|
7661
8043
|
#
|
|
8044
|
+
# @!attribute [rw] before_value_from
|
|
8045
|
+
# Indicates the source of the before value. Valid values:
|
|
8046
|
+
#
|
|
8047
|
+
# * `ACTUAL_STATE` – The before value represents current actual state.
|
|
8048
|
+
#
|
|
8049
|
+
# * `PREVIOUS_DEPLOYMENT_STATE` – The before value represents the
|
|
8050
|
+
# previous CloudFormation deployment state.
|
|
8051
|
+
#
|
|
8052
|
+
# Only present for drift-aware change sets.
|
|
8053
|
+
# @return [String]
|
|
8054
|
+
#
|
|
8055
|
+
# @!attribute [rw] after_value_from
|
|
8056
|
+
# Indicates the source of the after value. Valid value:
|
|
8057
|
+
#
|
|
8058
|
+
# * `TEMPLATE` – The after value comes from the new template.
|
|
8059
|
+
#
|
|
8060
|
+
# ^
|
|
8061
|
+
#
|
|
8062
|
+
# Only present for drift-aware change sets.
|
|
8063
|
+
# @return [String]
|
|
8064
|
+
#
|
|
8065
|
+
# @!attribute [rw] drift
|
|
8066
|
+
# Detailed drift information for the resource property, including
|
|
8067
|
+
# actual values, previous deployment values, and drift detection
|
|
8068
|
+
# timestamps.
|
|
8069
|
+
# @return [Types::LiveResourceDrift]
|
|
8070
|
+
#
|
|
7662
8071
|
# @!attribute [rw] attribute_change_type
|
|
7663
8072
|
# The type of change to be made to the property if the change is
|
|
7664
8073
|
# executed.
|
|
@@ -7668,6 +8077,9 @@ module Aws::CloudFormation
|
|
|
7668
8077
|
# * `Remove` The item will be removed.
|
|
7669
8078
|
#
|
|
7670
8079
|
# * `Modify` The item will be modified.
|
|
8080
|
+
#
|
|
8081
|
+
# * `SyncWithActual` The drift status of this item will be reset but
|
|
8082
|
+
# the item will not be modified.
|
|
7671
8083
|
# @return [String]
|
|
7672
8084
|
#
|
|
7673
8085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition AWS API Documentation
|
|
@@ -7679,6 +8091,9 @@ module Aws::CloudFormation
|
|
|
7679
8091
|
:path,
|
|
7680
8092
|
:before_value,
|
|
7681
8093
|
:after_value,
|
|
8094
|
+
:before_value_from,
|
|
8095
|
+
:after_value_from,
|
|
8096
|
+
:drift,
|
|
7682
8097
|
:attribute_change_type)
|
|
7683
8098
|
SENSITIVE = []
|
|
7684
8099
|
include Aws::Structure
|
|
@@ -7827,10 +8242,16 @@ module Aws::CloudFormation
|
|
|
7827
8242
|
# Unique identifier of the stack.
|
|
7828
8243
|
# @return [String]
|
|
7829
8244
|
#
|
|
8245
|
+
# @!attribute [rw] operation_id
|
|
8246
|
+
# A unique identifier for this rollback operation that can be used to
|
|
8247
|
+
# track the operation's progress and events.
|
|
8248
|
+
# @return [String]
|
|
8249
|
+
#
|
|
7830
8250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStackOutput AWS API Documentation
|
|
7831
8251
|
#
|
|
7832
8252
|
class RollbackStackOutput < Struct.new(
|
|
7833
|
-
:stack_id
|
|
8253
|
+
:stack_id,
|
|
8254
|
+
:operation_id)
|
|
7834
8255
|
SENSITIVE = []
|
|
7835
8256
|
include Aws::Structure
|
|
7836
8257
|
end
|
|
@@ -8152,10 +8573,10 @@ module Aws::CloudFormation
|
|
|
8152
8573
|
#
|
|
8153
8574
|
# @!attribute [rw] unique_id
|
|
8154
8575
|
# A unique ID of the signal. When you signal Amazon EC2 instances or
|
|
8155
|
-
# Auto Scaling groups, specify the instance ID that you are
|
|
8156
|
-
# as the unique ID. If you send multiple signals to a single
|
|
8157
|
-
# (such as signaling a wait condition), each signal requires
|
|
8158
|
-
# different unique ID.
|
|
8576
|
+
# Amazon EC2 Auto Scaling groups, specify the instance ID that you are
|
|
8577
|
+
# signaling as the unique ID. If you send multiple signals to a single
|
|
8578
|
+
# resource (such as signaling a wait condition), each signal requires
|
|
8579
|
+
# a different unique ID.
|
|
8159
8580
|
# @return [String]
|
|
8160
8581
|
#
|
|
8161
8582
|
# @!attribute [rw] status
|
|
@@ -8342,6 +8763,11 @@ module Aws::CloudFormation
|
|
|
8342
8763
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html
|
|
8343
8764
|
# @return [String]
|
|
8344
8765
|
#
|
|
8766
|
+
# @!attribute [rw] last_operations
|
|
8767
|
+
# Information about the most recent operations performed on this
|
|
8768
|
+
# stack.
|
|
8769
|
+
# @return [Array<Types::OperationEntry>]
|
|
8770
|
+
#
|
|
8345
8771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack AWS API Documentation
|
|
8346
8772
|
#
|
|
8347
8773
|
class Stack < Struct.new(
|
|
@@ -8369,7 +8795,8 @@ module Aws::CloudFormation
|
|
|
8369
8795
|
:drift_information,
|
|
8370
8796
|
:retain_except_on_create,
|
|
8371
8797
|
:deletion_mode,
|
|
8372
|
-
:detailed_status
|
|
8798
|
+
:detailed_status,
|
|
8799
|
+
:last_operations)
|
|
8373
8800
|
SENSITIVE = []
|
|
8374
8801
|
include Aws::Structure
|
|
8375
8802
|
end
|
|
@@ -8490,6 +8917,11 @@ module Aws::CloudFormation
|
|
|
8490
8917
|
# The name associated with a stack.
|
|
8491
8918
|
# @return [String]
|
|
8492
8919
|
#
|
|
8920
|
+
# @!attribute [rw] operation_id
|
|
8921
|
+
# The unique identifier of the operation that generated this stack
|
|
8922
|
+
# event.
|
|
8923
|
+
# @return [String]
|
|
8924
|
+
#
|
|
8493
8925
|
# @!attribute [rw] logical_resource_id
|
|
8494
8926
|
# The logical name of the resource specified in the template.
|
|
8495
8927
|
# @return [String]
|
|
@@ -8602,6 +9034,7 @@ module Aws::CloudFormation
|
|
|
8602
9034
|
:stack_id,
|
|
8603
9035
|
:event_id,
|
|
8604
9036
|
:stack_name,
|
|
9037
|
+
:operation_id,
|
|
8605
9038
|
:logical_resource_id,
|
|
8606
9039
|
:physical_resource_id,
|
|
8607
9040
|
:resource_type,
|
|
@@ -10527,6 +10960,11 @@ module Aws::CloudFormation
|
|
|
10527
10960
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
|
|
10528
10961
|
# @return [Types::StackDriftInformationSummary]
|
|
10529
10962
|
#
|
|
10963
|
+
# @!attribute [rw] last_operations
|
|
10964
|
+
# Information about the most recent operations performed on this
|
|
10965
|
+
# stack.
|
|
10966
|
+
# @return [Array<Types::OperationEntry>]
|
|
10967
|
+
#
|
|
10530
10968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary AWS API Documentation
|
|
10531
10969
|
#
|
|
10532
10970
|
class StackSummary < Struct.new(
|
|
@@ -10540,7 +10978,8 @@ module Aws::CloudFormation
|
|
|
10540
10978
|
:stack_status_reason,
|
|
10541
10979
|
:parent_id,
|
|
10542
10980
|
:root_id,
|
|
10543
|
-
:drift_information
|
|
10981
|
+
:drift_information,
|
|
10982
|
+
:last_operations)
|
|
10544
10983
|
SENSITIVE = []
|
|
10545
10984
|
include Aws::Structure
|
|
10546
10985
|
end
|
|
@@ -11867,10 +12306,16 @@ module Aws::CloudFormation
|
|
|
11867
12306
|
# Unique identifier of the stack.
|
|
11868
12307
|
# @return [String]
|
|
11869
12308
|
#
|
|
12309
|
+
# @!attribute [rw] operation_id
|
|
12310
|
+
# A unique identifier for this update operation that can be used to
|
|
12311
|
+
# track the operation's progress and events.
|
|
12312
|
+
# @return [String]
|
|
12313
|
+
#
|
|
11870
12314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput AWS API Documentation
|
|
11871
12315
|
#
|
|
11872
12316
|
class UpdateStackOutput < Struct.new(
|
|
11873
|
-
:stack_id
|
|
12317
|
+
:stack_id,
|
|
12318
|
+
:operation_id)
|
|
11874
12319
|
SENSITIVE = []
|
|
11875
12320
|
include Aws::Structure
|
|
11876
12321
|
end
|