aws-sdk-autoscaling 1.152.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.
@@ -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
@@ -518,13 +531,20 @@ module Aws::AutoScaling
518
531
  # The instance lifecycle policy for the Auto Scaling group. This policy
519
532
  # controls instance behavior when an instance transitions through its
520
533
  # lifecycle states. Configure retention triggers to specify when
521
- # instances should move to a `Retained` state for manual intervention
522
- # instead of automatic termination.
534
+ # instances should move to a `Retained` state instead of automatic
535
+ # termination.
536
+ #
537
+ # For more information, see [ Control instance retention with instance
538
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
523
539
  #
524
540
  # <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
525
541
  # charges until terminated.
526
542
  #
527
543
  # </note>
544
+ #
545
+ #
546
+ #
547
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
528
548
  # @return [AutoScalingGroup]
529
549
  def create_group(options = {})
530
550
  Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -803,21 +823,55 @@ module Aws::AutoScaling
803
823
  # activity_ids: ["XmlString"],
804
824
  # auto_scaling_group_name: "XmlStringMaxLen255",
805
825
  # include_deleted_groups: false,
826
+ # filters: [
827
+ # {
828
+ # name: "XmlString",
829
+ # values: ["XmlString"],
830
+ # },
831
+ # ],
806
832
  # })
807
833
  # @param [Hash] options ({})
808
834
  # @option options [Array<String>] :activity_ids
809
- # The activity IDs of the desired scaling activities. If you omit this
810
- # property, all activities for the past six weeks are described. If
811
- # unknown activities are requested, they are ignored with no error. If
812
- # you specify an Auto Scaling group, the results are limited to that
813
- # group.
835
+ # The activity IDs of the desired scaling activities. If unknown
836
+ # activity IDs are requested, they are ignored with no error. Only
837
+ # activities started within the last six weeks can be returned
838
+ # regardless of the activity IDs specified. If other filters are
839
+ # specified with the request, only results matching all filter criteria
840
+ # can be returned.
814
841
  #
815
842
  # Array Members: Maximum number of 50 IDs.
816
843
  # @option options [String] :auto_scaling_group_name
817
844
  # The name of the Auto Scaling group.
845
+ #
846
+ # Omitting this property performs an account-wide operation, which can
847
+ # result in slower or timed-out requests.
818
848
  # @option options [Boolean] :include_deleted_groups
819
849
  # Indicates whether to include scaling activity from deleted Auto
820
850
  # Scaling groups.
851
+ # @option options [Array<Types::Filter>] :filters
852
+ # One or more filters to limit the results based on specific criteria.
853
+ # The following filters are supported:
854
+ #
855
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
856
+ # based on the activity start time. Scaling activities with a start
857
+ # time earlier than this value are not included in the results. Only
858
+ # activities started within the last six weeks can be returned
859
+ # regardless of the value specified.
860
+ #
861
+ # * `StartTimeUpperBound` - The latest scaling activities to return
862
+ # based on the activity start time. Scaling activities with a start
863
+ # time later than this value are not included in the results. Only
864
+ # activities started within the last six weeks can be returned
865
+ # regardless of the value specified.
866
+ #
867
+ # * `Status` - The `StatusCode` value of the scaling activity. This
868
+ # filter can only be used in combination with the
869
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values, see
870
+ # [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
871
+ #
872
+ #
873
+ #
874
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
821
875
  # @return [Activity::Collection]
822
876
  def activities(options = {})
823
877
  batches = Enumerator.new do |y|
@@ -357,11 +357,12 @@ module Aws::AutoScaling
357
357
  # @return [String]
358
358
  #
359
359
  # @!attribute [rw] launch_configuration_name
360
- # The name of the associated launch configuration.
360
+ # The name of the associated launch configuration for the Auto Scaling
361
+ # group.
361
362
  # @return [String]
362
363
  #
363
364
  # @!attribute [rw] launch_template
364
- # The launch template for the group.
365
+ # The launch template for the Auto Scaling group.
365
366
  # @return [Types::LaunchTemplateSpecification]
366
367
  #
367
368
  # @!attribute [rw] mixed_instances_policy
@@ -369,15 +370,15 @@ module Aws::AutoScaling
369
370
  # @return [Types::MixedInstancesPolicy]
370
371
  #
371
372
  # @!attribute [rw] min_size
372
- # The minimum size of the group.
373
+ # The minimum size of the Auto Scaling group.
373
374
  # @return [Integer]
374
375
  #
375
376
  # @!attribute [rw] max_size
376
- # The maximum size of the group.
377
+ # The maximum size of the Auto Scaling group.
377
378
  # @return [Integer]
378
379
  #
379
380
  # @!attribute [rw] desired_capacity
380
- # The desired size of the group.
381
+ # The desired size of the Auto Scaling group.
381
382
  # @return [Integer]
382
383
  #
383
384
  # @!attribute [rw] predicted_capacity
@@ -386,11 +387,12 @@ module Aws::AutoScaling
386
387
  # @return [Integer]
387
388
  #
388
389
  # @!attribute [rw] default_cooldown
389
- # The duration of the default cooldown period, in seconds.
390
+ # The duration of the default cooldown period, in seconds, for the
391
+ # Auto Scaling group.
390
392
  # @return [Integer]
391
393
  #
392
394
  # @!attribute [rw] availability_zones
393
- # One or more Availability Zones for the group.
395
+ # One or more Availability Zones for the Auto Scaling group.
394
396
  # @return [Array<String>]
395
397
  #
396
398
  # @!attribute [rw] load_balancer_names
@@ -403,41 +405,43 @@ module Aws::AutoScaling
403
405
  # @return [Array<String>]
404
406
  #
405
407
  # @!attribute [rw] health_check_type
406
- # A comma-separated value string of one or more health check types.
408
+ # One or more comma-separated health check types for the Auto Scaling
409
+ # group.
407
410
  # @return [String]
408
411
  #
409
412
  # @!attribute [rw] health_check_grace_period
410
- # The duration of the health check grace period, in seconds.
413
+ # The duration of the health check grace period, in seconds, for the
414
+ # Auto Scaling group.
411
415
  # @return [Integer]
412
416
  #
413
417
  # @!attribute [rw] instances
414
- # The EC2 instances associated with the group.
418
+ # The EC2 instances associated with the Auto Scaling group.
415
419
  # @return [Array<Types::Instance>]
416
420
  #
417
421
  # @!attribute [rw] created_time
418
- # The date and time the group was created.
422
+ # The date and time the Auto Scaling group was created.
419
423
  # @return [Time]
420
424
  #
421
425
  # @!attribute [rw] suspended_processes
422
- # The suspended processes associated with the group.
426
+ # The suspended processes associated with the Auto Scaling group.
423
427
  # @return [Array<Types::SuspendedProcess>]
424
428
  #
425
429
  # @!attribute [rw] placement_group
426
- # The name of the placement group into which to launch your instances,
427
- # if any.
430
+ # The name of the placement group into which to launch EC2 instances
431
+ # for the Auto Scaling group.
428
432
  # @return [String]
429
433
  #
430
434
  # @!attribute [rw] vpc_zone_identifier
431
- # One or more subnet IDs, if applicable, separated by commas.
435
+ # One or more comma-separated subnet IDs for the Auto Scaling group.
432
436
  # @return [String]
433
437
  #
434
438
  # @!attribute [rw] enabled_metrics
435
- # The metrics enabled for the group.
439
+ # The metrics enabled for the Auto Scaling group.
436
440
  # @return [Array<Types::EnabledMetric>]
437
441
  #
438
442
  # @!attribute [rw] status
439
- # The current state of the group when the [DeleteAutoScalingGroup][1]
440
- # operation is in progress.
443
+ # The current state of the Auto Scaling group when the
444
+ # [DeleteAutoScalingGroup][1] operation is in progress.
441
445
  #
442
446
  #
443
447
  #
@@ -445,19 +449,20 @@ module Aws::AutoScaling
445
449
  # @return [String]
446
450
  #
447
451
  # @!attribute [rw] tags
448
- # The tags for the group.
452
+ # The tags for the Auto Scaling group.
449
453
  # @return [Array<Types::TagDescription>]
450
454
  #
451
455
  # @!attribute [rw] termination_policies
452
- # The termination policies for the group.
456
+ # The termination policies for the Auto Scaling group.
453
457
  # @return [Array<String>]
454
458
  #
455
459
  # @!attribute [rw] new_instances_protected_from_scale_in
456
- # Indicates whether newly launched instances are protected from
457
- # termination by Amazon EC2 Auto Scaling when scaling in. For more
458
- # information about preventing instances from terminating on scale in,
459
- # see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
460
- # Scaling User Guide*.
460
+ # Indicates whether newly launched EC2 instances are protected from
461
+ # termination when scaling in for the Auto Scaling group.
462
+ #
463
+ # For more information about preventing instances from terminating on
464
+ # scale in, see [Use instance scale-in protection][1] in the *Amazon
465
+ # EC2 Auto Scaling User Guide*.
461
466
  #
462
467
  #
463
468
  #
@@ -471,10 +476,8 @@ module Aws::AutoScaling
471
476
  # @return [String]
472
477
  #
473
478
  # @!attribute [rw] max_instance_lifetime
474
- # The maximum amount of time, in seconds, that an instance can be in
475
- # service.
476
- #
477
- # Valid Range: Minimum value of 0.
479
+ # The maximum amount of time, in seconds, that an EC2 instance can be
480
+ # in service for the Auto Scaling group.
478
481
  # @return [Integer]
479
482
  #
480
483
  # @!attribute [rw] capacity_rebalance
@@ -500,7 +503,8 @@ module Aws::AutoScaling
500
503
  # @return [String]
501
504
  #
502
505
  # @!attribute [rw] default_instance_warmup
503
- # The duration of the default instance warmup, in seconds.
506
+ # The duration of the default EC2 instance warmup time, in seconds,
507
+ # for the Auto Scaling group.
504
508
  # @return [Integer]
505
509
  #
506
510
  # @!attribute [rw] traffic_sources
@@ -511,23 +515,25 @@ module Aws::AutoScaling
511
515
  # An instance maintenance policy.
512
516
  # @return [Types::InstanceMaintenancePolicy]
513
517
  #
518
+ # @!attribute [rw] deletion_protection
519
+ # The deletion protection setting for the Auto Scaling group.
520
+ # @return [String]
521
+ #
514
522
  # @!attribute [rw] availability_zone_distribution
515
- # The instance capacity distribution across Availability Zones.
523
+ # The EC2 instance capacity distribution across Availability Zones for
524
+ # the Auto Scaling group.
516
525
  # @return [Types::AvailabilityZoneDistribution]
517
526
  #
518
527
  # @!attribute [rw] availability_zone_impairment_policy
519
- # The Availability Zone impairment policy.
528
+ # The Availability Zone impairment policy for the Auto Scaling group.
520
529
  # @return [Types::AvailabilityZoneImpairmentPolicy]
521
530
  #
522
531
  # @!attribute [rw] capacity_reservation_specification
523
- # The capacity reservation specification.
532
+ # The capacity reservation specification for the Auto Scaling group.
524
533
  # @return [Types::CapacityReservationSpecification]
525
534
  #
526
535
  # @!attribute [rw] instance_lifecycle_policy
527
- # The instance lifecycle policy applied to this Auto Scaling group.
528
- # This policy determines instance behavior when an instance
529
- # transitions through its lifecycle states. It provides additional
530
- # control over graceful instance management processes.
536
+ # The instance lifecycle policy for the Auto Scaling group.
531
537
  # @return [Types::InstanceLifecyclePolicy]
532
538
  #
533
539
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
@@ -568,6 +574,7 @@ module Aws::AutoScaling
568
574
  :default_instance_warmup,
569
575
  :traffic_sources,
570
576
  :instance_maintenance_policy,
577
+ :deletion_protection,
571
578
  :availability_zone_distribution,
572
579
  :availability_zone_impairment_policy,
573
580
  :capacity_reservation_specification,
@@ -662,12 +669,13 @@ module Aws::AutoScaling
662
669
  #
663
670
  # Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
664
671
  # `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait`
665
- # \| `Terminating:Proceed` \| `Terminated` \| `Detaching` \|
666
- # `Detached` \| `EnteringStandby` \| `Standby` \| `Warmed:Pending` \|
667
- # `Warmed:Pending:Wait` \| `Warmed:Pending:Proceed` \|
672
+ # \| `Terminating:Proceed` \| `Terminating:Retained` \| `Terminated`
673
+ # \| `Detaching` \| `Detached` \| `EnteringStandby` \| `Standby` \|
674
+ # `Warmed:Pending` \| `Warmed:Pending:Wait` \|
675
+ # `Warmed:Pending:Proceed` \| `Warmed:Pending:Retained` \|
668
676
  # `Warmed:Terminating` \| `Warmed:Terminating:Wait` \|
669
- # `Warmed:Terminating:Proceed` \| `Warmed:Terminated` \|
670
- # `Warmed:Stopped` \| `Warmed:Running`
677
+ # `Warmed:Terminating:Proceed` \| `Warmed:Terminating:Retained` \|
678
+ # `Warmed:Terminated` \| `Warmed:Stopped` \| `Warmed:Running`
671
679
  #
672
680
  #
673
681
  #
@@ -1396,6 +1404,20 @@ module Aws::AutoScaling
1396
1404
  # instances are launched.
1397
1405
  # @return [Array<Types::LifecycleHookSpecification>]
1398
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
+ #
1399
1421
  # @!attribute [rw] tags
1400
1422
  # One or more tags. You can tag your Auto Scaling group and propagate
1401
1423
  # the tags to the Amazon EC2 instances it launches. Tags are not
@@ -1533,13 +1555,20 @@ module Aws::AutoScaling
1533
1555
  # The instance lifecycle policy for the Auto Scaling group. This
1534
1556
  # policy controls instance behavior when an instance transitions
1535
1557
  # through its lifecycle states. Configure retention triggers to
1536
- # specify when instances should move to a `Retained` state for manual
1537
- # intervention instead of automatic termination.
1558
+ # specify when instances should move to a `Retained` state instead of
1559
+ # automatic termination.
1560
+ #
1561
+ # For more information, see [ Control instance retention with instance
1562
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
1538
1563
  #
1539
1564
  # <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
1540
1565
  # charges until terminated.
1541
1566
  #
1542
1567
  # </note>
1568
+ #
1569
+ #
1570
+ #
1571
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
1543
1572
  # @return [Types::InstanceLifecyclePolicy]
1544
1573
  #
1545
1574
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
@@ -1565,6 +1594,7 @@ module Aws::AutoScaling
1565
1594
  :new_instances_protected_from_scale_in,
1566
1595
  :capacity_rebalance,
1567
1596
  :lifecycle_hook_specification_list,
1597
+ :deletion_protection,
1568
1598
  :tags,
1569
1599
  :service_linked_role_arn,
1570
1600
  :max_instance_lifetime,
@@ -2457,17 +2487,21 @@ module Aws::AutoScaling
2457
2487
  end
2458
2488
 
2459
2489
  # @!attribute [rw] activity_ids
2460
- # The activity IDs of the desired scaling activities. If you omit this
2461
- # property, all activities for the past six weeks are described. If
2462
- # unknown activities are requested, they are ignored with no error. If
2463
- # you specify an Auto Scaling group, the results are limited to that
2464
- # group.
2490
+ # The activity IDs of the desired scaling activities. If unknown
2491
+ # activity IDs are requested, they are ignored with no error. Only
2492
+ # activities started within the last six weeks can be returned
2493
+ # regardless of the activity IDs specified. If other filters are
2494
+ # specified with the request, only results matching all filter
2495
+ # criteria can be returned.
2465
2496
  #
2466
2497
  # Array Members: Maximum number of 50 IDs.
2467
2498
  # @return [Array<String>]
2468
2499
  #
2469
2500
  # @!attribute [rw] auto_scaling_group_name
2470
2501
  # The name of the Auto Scaling group.
2502
+ #
2503
+ # Omitting this property performs an account-wide operation, which can
2504
+ # result in slower or timed-out requests.
2471
2505
  # @return [String]
2472
2506
  #
2473
2507
  # @!attribute [rw] include_deleted_groups
@@ -2485,6 +2519,32 @@ module Aws::AutoScaling
2485
2519
  # token from a previous call.)
2486
2520
  # @return [String]
2487
2521
  #
2522
+ # @!attribute [rw] filters
2523
+ # One or more filters to limit the results based on specific criteria.
2524
+ # The following filters are supported:
2525
+ #
2526
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
2527
+ # based on the activity start time. Scaling activities with a start
2528
+ # time earlier than this value are not included in the results. Only
2529
+ # activities started within the last six weeks can be returned
2530
+ # regardless of the value specified.
2531
+ #
2532
+ # * `StartTimeUpperBound` - The latest scaling activities to return
2533
+ # based on the activity start time. Scaling activities with a start
2534
+ # time later than this value are not included in the results. Only
2535
+ # activities started within the last six weeks can be returned
2536
+ # regardless of the value specified.
2537
+ #
2538
+ # * `Status` - The `StatusCode` value of the scaling activity. This
2539
+ # filter can only be used in combination with the
2540
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values,
2541
+ # see [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
2542
+ #
2543
+ #
2544
+ #
2545
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
2546
+ # @return [Array<Types::Filter>]
2547
+ #
2488
2548
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType AWS API Documentation
2489
2549
  #
2490
2550
  class DescribeScalingActivitiesType < Struct.new(
@@ -2492,7 +2552,8 @@ module Aws::AutoScaling
2492
2552
  :auto_scaling_group_name,
2493
2553
  :include_deleted_groups,
2494
2554
  :max_records,
2495
- :next_token)
2555
+ :next_token,
2556
+ :filters)
2496
2557
  SENSITIVE = []
2497
2558
  include Aws::Structure
2498
2559
  end
@@ -3321,10 +3382,11 @@ module Aws::AutoScaling
3321
3382
  # The name of the filter.
3322
3383
  #
3323
3384
  # The valid values for `Name` depend on which API operation you're
3324
- # using with the filter ([DescribeAutoScalingGroups][1] or
3325
- # [DescribeTags][2]).
3385
+ # using with the filter.
3326
3386
  #
3327
- # **DescribeAutoScalingGroups**
3387
+ # <b> <a
3388
+ # href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a>
3389
+ # </b>
3328
3390
  #
3329
3391
  # Valid values for `Name` include the following:
3330
3392
  #
@@ -3340,7 +3402,9 @@ module Aws::AutoScaling
3340
3402
  # value. The results only include information about the Auto Scaling
3341
3403
  # groups associated with the specified key/value combination.
3342
3404
  #
3343
- # **DescribeTags**
3405
+ # <b> <a
3406
+ # href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html">DescribeTags</a>
3407
+ # </b>
3344
3408
  #
3345
3409
  # Valid values for `Name` include the following:
3346
3410
  #
@@ -3359,10 +3423,32 @@ module Aws::AutoScaling
3359
3423
  # include information about the tags associated with the specified
3360
3424
  # Boolean value.
3361
3425
  #
3426
+ # <b> <a
3427
+ # href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a>
3428
+ # </b>
3362
3429
  #
3430
+ # Valid values for `Name` include the following:
3431
+ #
3432
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
3433
+ # based on the activity start time. Scaling activities with a start
3434
+ # time earlier than this value are not included in the results. Only
3435
+ # activities started within the last six weeks can be returned
3436
+ # regardless of the value specified.
3437
+ #
3438
+ # * `StartTimeUpperBound` - The latest scaling activities to return
3439
+ # based on the activity start time. Scaling activities with a start
3440
+ # time later than this value are not included in the results. Only
3441
+ # activities started within the last six weeks can be returned
3442
+ # regardless of the value specified.
3443
+ #
3444
+ # * `Status` - The `StatusCode` value of the scaling activity. This
3445
+ # filter can only be used in combination with the
3446
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values,
3447
+ # see [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
3363
3448
  #
3364
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html
3365
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html
3449
+ #
3450
+ #
3451
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
3366
3452
  # @return [String]
3367
3453
  #
3368
3454
  # @!attribute [rw] values
@@ -3370,11 +3456,17 @@ module Aws::AutoScaling
3370
3456
  #
3371
3457
  # If you specify multiple values for a filter, the values are
3372
3458
  # automatically logically joined with an `OR`, and the request returns
3373
- # all results that match any of the specified values. For example,
3374
- # specify "tag:environment" for the filter name and
3375
- # "production,development" for the filter values to find Auto
3376
- # Scaling groups with the tag "environment=production" or
3377
- # "environment=development".
3459
+ # all results that match any of the specified values.
3460
+ #
3461
+ # **DescribeAutoScalingGroups example:** Specify "tag:environment"
3462
+ # for the filter name and "production,development" for the filter
3463
+ # values to find Auto Scaling groups with the tag
3464
+ # "environment=production" or "environment=development".
3465
+ #
3466
+ # **DescribeScalingActivities example:** Specify "Status" for the
3467
+ # filter name and "Successful,Failed" for the filter values to find
3468
+ # scaling activities with a status of either "Successful" or
3469
+ # "Failed".
3378
3470
  # @return [Array<String>]
3379
3471
  #
3380
3472
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter AWS API Documentation
@@ -3590,17 +3682,25 @@ module Aws::AutoScaling
3590
3682
  include Aws::Structure
3591
3683
  end
3592
3684
 
3593
- # Defines the lifecycle policy for instances in an Auto Scaling group.
3594
- # This policy controls instance behavior when lifecycles transition and
3595
- # operations fail. Use lifecycle policies to ensure graceful shutdown
3596
- # for stateful workloads or applications requiring extended draining
3597
- # periods.
3685
+ # The instance lifecycle policy for the Auto Scaling group. This policy
3686
+ # controls instance behavior when an instance transitions through its
3687
+ # lifecycle states. Configure retention triggers to specify when
3688
+ # instances should move to a `Retained` state instead of automatic
3689
+ # termination.
3690
+ #
3691
+ # For more information, see [ Control instance retention with instance
3692
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
3693
+ #
3694
+ #
3695
+ #
3696
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
3598
3697
  #
3599
3698
  # @!attribute [rw] retention_triggers
3600
3699
  # Specifies the conditions that trigger instance retention behavior.
3601
- # These triggers determine when instances should move to a Retained
3602
- # state instead of being terminated. This allows you to maintain
3603
- # control over instance management when lifecycle operations fail.
3700
+ # These triggers determine when instances should move to a `Retained`
3701
+ # state instead of automatic termination. This allows you to maintain
3702
+ # control over instance management when lifecycles transition and
3703
+ # operations fail.
3604
3704
  # @return [Types::RetentionTriggers]
3605
3705
  #
3606
3706
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceLifecyclePolicy AWS API Documentation
@@ -7194,8 +7294,8 @@ module Aws::AutoScaling
7194
7294
  # due to failure, timeout, or explicit abandonment (calling
7195
7295
  # CompleteLifecycleAction).
7196
7296
  #
7197
- # Set to `Retain` to move instances to a `Retained` state. Set to
7198
- # `Terminate` for default termination behavior.
7297
+ # Set to `retain` to move instances to a retained state. Set to
7298
+ # `terminate` for default termination behavior.
7199
7299
  #
7200
7300
  # Retained instances don't count toward desired capacity and remain
7201
7301
  # until you call `TerminateInstanceInAutoScalingGroup`.
@@ -7743,8 +7843,8 @@ module Aws::AutoScaling
7743
7843
  # @return [String]
7744
7844
  #
7745
7845
  # @!attribute [rw] strategy
7746
- # The strategy to use for the instance refresh. The only valid value
7747
- # is `Rolling`.
7846
+ # The strategy to use for the instance refresh. The default value is
7847
+ # `Rolling`.
7748
7848
  # @return [String]
7749
7849
  #
7750
7850
  # @!attribute [rw] desired_configuration
@@ -8615,13 +8715,34 @@ module Aws::AutoScaling
8615
8715
  # @return [Types::CapacityReservationSpecification]
8616
8716
  #
8617
8717
  # @!attribute [rw] instance_lifecycle_policy
8618
- # The instance lifecycle policy for the Auto Scaling group. Use this
8619
- # to add, modify, or remove lifecycle policies that control instance
8620
- # behavior when an instance transitions through its lifecycle states.
8621
- # Configure retention triggers to specify when to preserve instances
8622
- # for manual intervention.
8718
+ # The instance lifecycle policy for the Auto Scaling group. This
8719
+ # policy controls instance behavior when an instance transitions
8720
+ # through its lifecycle states. Configure retention triggers to
8721
+ # specify when instances should move to a `Retained` state instead of
8722
+ # automatic termination.
8723
+ #
8724
+ # For more information, see [ Control instance retention with instance
8725
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
8726
+ #
8727
+ #
8728
+ #
8729
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
8623
8730
  # @return [Types::InstanceLifecyclePolicy]
8624
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
+ #
8625
8746
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
8626
8747
  #
8627
8748
  class UpdateAutoScalingGroupType < Struct.new(
@@ -8651,7 +8772,8 @@ module Aws::AutoScaling
8651
8772
  :availability_zone_impairment_policy,
8652
8773
  :skip_zonal_shift_validation,
8653
8774
  :capacity_reservation_specification,
8654
- :instance_lifecycle_policy)
8775
+ :instance_lifecycle_policy,
8776
+ :deletion_protection)
8655
8777
  SENSITIVE = []
8656
8778
  include Aws::Structure
8657
8779
  end
@@ -65,7 +65,7 @@ module Aws::AutoScaling
65
65
  autoload :ScheduledAction, 'aws-sdk-autoscaling/scheduled_action'
66
66
  autoload :Tag, 'aws-sdk-autoscaling/tag'
67
67
 
68
- GEM_VERSION = '1.152.0'
68
+ GEM_VERSION = '1.154.0'
69
69
 
70
70
  end
71
71