aws-sdk-autoscaling 1.153.0 → 1.154.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +19 -0
- data/lib/aws-sdk-autoscaling/client.rb +33 -5
- data/lib/aws-sdk-autoscaling/client_api.rb +4 -0
- data/lib/aws-sdk-autoscaling/resource.rb +13 -0
- data/lib/aws-sdk-autoscaling/types.rb +36 -1
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/auto_scaling_group.rbs +5 -1
- data/sig/client.rbs +3 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32d7359da5afb53b81b1d66b20ad508bde37a8b49715d877d08d7c5deddbb14c
|
|
4
|
+
data.tar.gz: f8938d766c7aec0b55a25b7e8e190d9a11d1b583faf41b53f098a560ee1f9acc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cb86e5de5b7c6032a39f7933a994fff637edcfc934953e8f9518eae6113bf4a10f7f511154e1afcdd41069b5b995c6a8bff09506807697ff0de19b0bfbe883a
|
|
7
|
+
data.tar.gz: 389d13da697fccb340b753bc769c2ea7a377672abe769f24acb2f0a13064001ee7aa84875c9d65776905b630ad9bcf7914d182b0c576fd0f6930c47c215d46db
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.154.0
|
|
@@ -254,6 +254,12 @@ module Aws::AutoScaling
|
|
|
254
254
|
data[:instance_maintenance_policy]
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
+
# The deletion protection setting for the Auto Scaling group.
|
|
258
|
+
# @return [String]
|
|
259
|
+
def deletion_protection
|
|
260
|
+
data[:deletion_protection]
|
|
261
|
+
end
|
|
262
|
+
|
|
257
263
|
# The EC2 instance capacity distribution across Availability Zones for
|
|
258
264
|
# the Auto Scaling group.
|
|
259
265
|
# @return [Types::AvailabilityZoneDistribution]
|
|
@@ -1342,6 +1348,7 @@ module Aws::AutoScaling
|
|
|
1342
1348
|
# terminate_hook_abandon: "retain", # accepts retain, terminate
|
|
1343
1349
|
# },
|
|
1344
1350
|
# },
|
|
1351
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
1345
1352
|
# })
|
|
1346
1353
|
# @param [Hash] options ({})
|
|
1347
1354
|
# @option options [String] :launch_configuration_name
|
|
@@ -1575,6 +1582,18 @@ module Aws::AutoScaling
|
|
|
1575
1582
|
#
|
|
1576
1583
|
#
|
|
1577
1584
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
1585
|
+
# @option options [String] :deletion_protection
|
|
1586
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
1587
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
1588
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
1589
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
1590
|
+
# Scaling group according to the specified protection level until the
|
|
1591
|
+
# setting is changed back to a less restrictive level.
|
|
1592
|
+
#
|
|
1593
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
1594
|
+
# `prevent-all-deletion`.
|
|
1595
|
+
#
|
|
1596
|
+
# Default: `none`
|
|
1578
1597
|
# @return [AutoScalingGroup]
|
|
1579
1598
|
def update(options = {})
|
|
1580
1599
|
options = options.merge(auto_scaling_group_name: @name)
|
|
@@ -616,9 +616,8 @@ module Aws::AutoScaling
|
|
|
616
616
|
req.send_request(options)
|
|
617
617
|
end
|
|
618
618
|
|
|
619
|
-
# <note markdown="1"> This API operation is superseded by
|
|
620
|
-
#
|
|
621
|
-
# which can attach multiple traffic sources types. We recommend using
|
|
619
|
+
# <note markdown="1"> This API operation is superseded by [AttachTrafficSources][1], which
|
|
620
|
+
# can attach multiple traffic sources types. We recommend using
|
|
622
621
|
# `AttachTrafficSources` to simplify how you manage traffic sources.
|
|
623
622
|
# However, we continue to support `AttachLoadBalancers`. You can use
|
|
624
623
|
# both the original `AttachLoadBalancers` API operation and
|
|
@@ -1261,6 +1260,19 @@ module Aws::AutoScaling
|
|
|
1261
1260
|
# One or more lifecycle hooks to add to the Auto Scaling group before
|
|
1262
1261
|
# instances are launched.
|
|
1263
1262
|
#
|
|
1263
|
+
# @option params [String] :deletion_protection
|
|
1264
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
1265
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
1266
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
1267
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
1268
|
+
# Scaling group according to the specified protection level until the
|
|
1269
|
+
# setting is changed back to a less restrictive level.
|
|
1270
|
+
#
|
|
1271
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
1272
|
+
# `prevent-all-deletion`.
|
|
1273
|
+
#
|
|
1274
|
+
# Default: `none`
|
|
1275
|
+
#
|
|
1264
1276
|
# @option params [Array<Types::Tag>] :tags
|
|
1265
1277
|
# One or more tags. You can tag your Auto Scaling group and propagate
|
|
1266
1278
|
# the tags to the Amazon EC2 instances it launches. Tags are not
|
|
@@ -1650,6 +1662,7 @@ module Aws::AutoScaling
|
|
|
1650
1662
|
# role_arn: "XmlStringMaxLen255",
|
|
1651
1663
|
# },
|
|
1652
1664
|
# ],
|
|
1665
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
1653
1666
|
# tags: [
|
|
1654
1667
|
# {
|
|
1655
1668
|
# resource_id: "XmlString",
|
|
@@ -2810,6 +2823,7 @@ module Aws::AutoScaling
|
|
|
2810
2823
|
# resp.auto_scaling_groups[0].traffic_sources[0].type #=> String
|
|
2811
2824
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
|
|
2812
2825
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
|
|
2826
|
+
# resp.auto_scaling_groups[0].deletion_protection #=> String, one of "none", "prevent-force-deletion", "prevent-all-deletion"
|
|
2813
2827
|
# resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
|
|
2814
2828
|
# resp.auto_scaling_groups[0].availability_zone_impairment_policy.zonal_shift_enabled #=> Boolean
|
|
2815
2829
|
# resp.auto_scaling_groups[0].availability_zone_impairment_policy.impaired_zone_health_check_behavior #=> String, one of "ReplaceUnhealthy", "IgnoreUnhealthy"
|
|
@@ -4705,7 +4719,7 @@ module Aws::AutoScaling
|
|
|
4705
4719
|
#
|
|
4706
4720
|
#
|
|
4707
4721
|
#
|
|
4708
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/
|
|
4722
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachTrafficSources.html
|
|
4709
4723
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeLoadBalancerTargetGroups.html
|
|
4710
4724
|
# [3]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachLoadBalancerTargetGroups.html
|
|
4711
4725
|
# [4]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html
|
|
@@ -7483,6 +7497,19 @@ module Aws::AutoScaling
|
|
|
7483
7497
|
#
|
|
7484
7498
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
7485
7499
|
#
|
|
7500
|
+
# @option params [String] :deletion_protection
|
|
7501
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
7502
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
7503
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
7504
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
7505
|
+
# Scaling group according to the specified protection level until the
|
|
7506
|
+
# setting is changed back to a less restrictive level.
|
|
7507
|
+
#
|
|
7508
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
7509
|
+
# `prevent-all-deletion`.
|
|
7510
|
+
#
|
|
7511
|
+
# Default: `none`
|
|
7512
|
+
#
|
|
7486
7513
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
7487
7514
|
#
|
|
7488
7515
|
#
|
|
@@ -7643,6 +7670,7 @@ module Aws::AutoScaling
|
|
|
7643
7670
|
# terminate_hook_abandon: "retain", # accepts retain, terminate
|
|
7644
7671
|
# },
|
|
7645
7672
|
# },
|
|
7673
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
7646
7674
|
# })
|
|
7647
7675
|
#
|
|
7648
7676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
|
@@ -7672,7 +7700,7 @@ module Aws::AutoScaling
|
|
|
7672
7700
|
tracer: tracer
|
|
7673
7701
|
)
|
|
7674
7702
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
|
7675
|
-
context[:gem_version] = '1.
|
|
7703
|
+
context[:gem_version] = '1.154.0'
|
|
7676
7704
|
Seahorse::Client::Request.new(handlers, context)
|
|
7677
7705
|
end
|
|
7678
7706
|
|
|
@@ -120,6 +120,7 @@ module Aws::AutoScaling
|
|
|
120
120
|
DeleteTagsType = Shapes::StructureShape.new(name: 'DeleteTagsType')
|
|
121
121
|
DeleteWarmPoolAnswer = Shapes::StructureShape.new(name: 'DeleteWarmPoolAnswer')
|
|
122
122
|
DeleteWarmPoolType = Shapes::StructureShape.new(name: 'DeleteWarmPoolType')
|
|
123
|
+
DeletionProtection = Shapes::StringShape.new(name: 'DeletionProtection')
|
|
123
124
|
DescribeAccountLimitsAnswer = Shapes::StructureShape.new(name: 'DescribeAccountLimitsAnswer')
|
|
124
125
|
DescribeAdjustmentTypesAnswer = Shapes::StructureShape.new(name: 'DescribeAdjustmentTypesAnswer')
|
|
125
126
|
DescribeAutoScalingInstancesType = Shapes::StructureShape.new(name: 'DescribeAutoScalingInstancesType')
|
|
@@ -555,6 +556,7 @@ module Aws::AutoScaling
|
|
|
555
556
|
AutoScalingGroup.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
|
556
557
|
AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
|
557
558
|
AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
|
559
|
+
AutoScalingGroup.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "DeletionProtection"))
|
|
558
560
|
AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
|
559
561
|
AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
|
|
560
562
|
AutoScalingGroup.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
|
@@ -700,6 +702,7 @@ module Aws::AutoScaling
|
|
|
700
702
|
CreateAutoScalingGroupType.add_member(:new_instances_protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, location_name: "NewInstancesProtectedFromScaleIn"))
|
|
701
703
|
CreateAutoScalingGroupType.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
|
|
702
704
|
CreateAutoScalingGroupType.add_member(:lifecycle_hook_specification_list, Shapes::ShapeRef.new(shape: LifecycleHookSpecifications, location_name: "LifecycleHookSpecificationList"))
|
|
705
|
+
CreateAutoScalingGroupType.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "DeletionProtection"))
|
|
703
706
|
CreateAutoScalingGroupType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
704
707
|
CreateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
|
|
705
708
|
CreateAutoScalingGroupType.add_member(:max_instance_lifetime, Shapes::ShapeRef.new(shape: MaxInstanceLifetime, location_name: "MaxInstanceLifetime"))
|
|
@@ -1696,6 +1699,7 @@ module Aws::AutoScaling
|
|
|
1696
1699
|
UpdateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
|
|
1697
1700
|
UpdateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
|
1698
1701
|
UpdateAutoScalingGroupType.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
|
|
1702
|
+
UpdateAutoScalingGroupType.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "DeletionProtection"))
|
|
1699
1703
|
UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
|
|
1700
1704
|
|
|
1701
1705
|
VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
|
|
@@ -162,6 +162,7 @@ module Aws::AutoScaling
|
|
|
162
162
|
# role_arn: "XmlStringMaxLen255",
|
|
163
163
|
# },
|
|
164
164
|
# ],
|
|
165
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
165
166
|
# tags: [
|
|
166
167
|
# {
|
|
167
168
|
# resource_id: "XmlString",
|
|
@@ -407,6 +408,18 @@ module Aws::AutoScaling
|
|
|
407
408
|
# @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
|
408
409
|
# One or more lifecycle hooks to add to the Auto Scaling group before
|
|
409
410
|
# instances are launched.
|
|
411
|
+
# @option options [String] :deletion_protection
|
|
412
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
413
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
414
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
415
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
416
|
+
# Scaling group according to the specified protection level until the
|
|
417
|
+
# setting is changed back to a less restrictive level.
|
|
418
|
+
#
|
|
419
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
420
|
+
# `prevent-all-deletion`.
|
|
421
|
+
#
|
|
422
|
+
# Default: `none`
|
|
410
423
|
# @option options [Array<Types::Tag>] :tags
|
|
411
424
|
# One or more tags. You can tag your Auto Scaling group and propagate
|
|
412
425
|
# the tags to the Amazon EC2 instances it launches. Tags are not
|
|
@@ -515,6 +515,10 @@ module Aws::AutoScaling
|
|
|
515
515
|
# An instance maintenance policy.
|
|
516
516
|
# @return [Types::InstanceMaintenancePolicy]
|
|
517
517
|
#
|
|
518
|
+
# @!attribute [rw] deletion_protection
|
|
519
|
+
# The deletion protection setting for the Auto Scaling group.
|
|
520
|
+
# @return [String]
|
|
521
|
+
#
|
|
518
522
|
# @!attribute [rw] availability_zone_distribution
|
|
519
523
|
# The EC2 instance capacity distribution across Availability Zones for
|
|
520
524
|
# the Auto Scaling group.
|
|
@@ -570,6 +574,7 @@ module Aws::AutoScaling
|
|
|
570
574
|
:default_instance_warmup,
|
|
571
575
|
:traffic_sources,
|
|
572
576
|
:instance_maintenance_policy,
|
|
577
|
+
:deletion_protection,
|
|
573
578
|
:availability_zone_distribution,
|
|
574
579
|
:availability_zone_impairment_policy,
|
|
575
580
|
:capacity_reservation_specification,
|
|
@@ -1399,6 +1404,20 @@ module Aws::AutoScaling
|
|
|
1399
1404
|
# instances are launched.
|
|
1400
1405
|
# @return [Array<Types::LifecycleHookSpecification>]
|
|
1401
1406
|
#
|
|
1407
|
+
# @!attribute [rw] deletion_protection
|
|
1408
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
1409
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
1410
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is
|
|
1411
|
+
# allowed. When deletion protection is enabled, users cannot delete
|
|
1412
|
+
# the Auto Scaling group according to the specified protection level
|
|
1413
|
+
# until the setting is changed back to a less restrictive level.
|
|
1414
|
+
#
|
|
1415
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
1416
|
+
# `prevent-all-deletion`.
|
|
1417
|
+
#
|
|
1418
|
+
# Default: `none`
|
|
1419
|
+
# @return [String]
|
|
1420
|
+
#
|
|
1402
1421
|
# @!attribute [rw] tags
|
|
1403
1422
|
# One or more tags. You can tag your Auto Scaling group and propagate
|
|
1404
1423
|
# the tags to the Amazon EC2 instances it launches. Tags are not
|
|
@@ -1575,6 +1594,7 @@ module Aws::AutoScaling
|
|
|
1575
1594
|
:new_instances_protected_from_scale_in,
|
|
1576
1595
|
:capacity_rebalance,
|
|
1577
1596
|
:lifecycle_hook_specification_list,
|
|
1597
|
+
:deletion_protection,
|
|
1578
1598
|
:tags,
|
|
1579
1599
|
:service_linked_role_arn,
|
|
1580
1600
|
:max_instance_lifetime,
|
|
@@ -8709,6 +8729,20 @@ module Aws::AutoScaling
|
|
|
8709
8729
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
8710
8730
|
# @return [Types::InstanceLifecyclePolicy]
|
|
8711
8731
|
#
|
|
8732
|
+
# @!attribute [rw] deletion_protection
|
|
8733
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
8734
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
8735
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is
|
|
8736
|
+
# allowed. When deletion protection is enabled, users cannot delete
|
|
8737
|
+
# the Auto Scaling group according to the specified protection level
|
|
8738
|
+
# until the setting is changed back to a less restrictive level.
|
|
8739
|
+
#
|
|
8740
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
8741
|
+
# `prevent-all-deletion`.
|
|
8742
|
+
#
|
|
8743
|
+
# Default: `none`
|
|
8744
|
+
# @return [String]
|
|
8745
|
+
#
|
|
8712
8746
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
|
|
8713
8747
|
#
|
|
8714
8748
|
class UpdateAutoScalingGroupType < Struct.new(
|
|
@@ -8738,7 +8772,8 @@ module Aws::AutoScaling
|
|
|
8738
8772
|
:availability_zone_impairment_policy,
|
|
8739
8773
|
:skip_zonal_shift_validation,
|
|
8740
8774
|
:capacity_reservation_specification,
|
|
8741
|
-
:instance_lifecycle_policy
|
|
8775
|
+
:instance_lifecycle_policy,
|
|
8776
|
+
:deletion_protection)
|
|
8742
8777
|
SENSITIVE = []
|
|
8743
8778
|
include Aws::Structure
|
|
8744
8779
|
end
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
data/sig/auto_scaling_group.rbs
CHANGED
|
@@ -114,6 +114,9 @@ module Aws
|
|
|
114
114
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instance_maintenance_policy-instance_method
|
|
115
115
|
def instance_maintenance_policy: () -> Types::InstanceMaintenancePolicy
|
|
116
116
|
|
|
117
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#deletion_protection-instance_method
|
|
118
|
+
def deletion_protection: () -> ("none" | "prevent-force-deletion" | "prevent-all-deletion")
|
|
119
|
+
|
|
117
120
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_distribution-instance_method
|
|
118
121
|
def availability_zone_distribution: () -> Types::AvailabilityZoneDistribution
|
|
119
122
|
|
|
@@ -520,7 +523,8 @@ module Aws
|
|
|
520
523
|
retention_triggers: {
|
|
521
524
|
terminate_hook_abandon: ("retain" | "terminate")?
|
|
522
525
|
}?
|
|
523
|
-
}
|
|
526
|
+
},
|
|
527
|
+
?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
|
|
524
528
|
) -> AutoScalingGroup
|
|
525
529
|
| (?Hash[Symbol, untyped]) -> AutoScalingGroup
|
|
526
530
|
|
data/sig/client.rbs
CHANGED
|
@@ -304,6 +304,7 @@ module Aws
|
|
|
304
304
|
role_arn: ::String?
|
|
305
305
|
},
|
|
306
306
|
],
|
|
307
|
+
?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion"),
|
|
307
308
|
?tags: Array[
|
|
308
309
|
{
|
|
309
310
|
resource_id: ::String?,
|
|
@@ -1435,7 +1436,8 @@ module Aws
|
|
|
1435
1436
|
retention_triggers: {
|
|
1436
1437
|
terminate_hook_abandon: ("retain" | "terminate")?
|
|
1437
1438
|
}?
|
|
1438
|
-
}
|
|
1439
|
+
},
|
|
1440
|
+
?deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
|
|
1439
1441
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1440
1442
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1441
1443
|
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -143,6 +143,7 @@ module Aws::AutoScaling
|
|
|
143
143
|
attr_accessor default_instance_warmup: ::Integer
|
|
144
144
|
attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
|
|
145
145
|
attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
|
|
146
|
+
attr_accessor deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
|
|
146
147
|
attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
|
|
147
148
|
attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
|
|
148
149
|
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
|
@@ -305,6 +306,7 @@ module Aws::AutoScaling
|
|
|
305
306
|
attr_accessor new_instances_protected_from_scale_in: bool
|
|
306
307
|
attr_accessor capacity_rebalance: bool
|
|
307
308
|
attr_accessor lifecycle_hook_specification_list: ::Array[Types::LifecycleHookSpecification]
|
|
309
|
+
attr_accessor deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
|
|
308
310
|
attr_accessor tags: ::Array[Types::Tag]
|
|
309
311
|
attr_accessor service_linked_role_arn: ::String
|
|
310
312
|
attr_accessor max_instance_lifetime: ::Integer
|
|
@@ -1510,6 +1512,7 @@ module Aws::AutoScaling
|
|
|
1510
1512
|
attr_accessor skip_zonal_shift_validation: bool
|
|
1511
1513
|
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
|
1512
1514
|
attr_accessor instance_lifecycle_policy: Types::InstanceLifecyclePolicy
|
|
1515
|
+
attr_accessor deletion_protection: ("none" | "prevent-force-deletion" | "prevent-all-deletion")
|
|
1513
1516
|
SENSITIVE: []
|
|
1514
1517
|
end
|
|
1515
1518
|
|