aws-sdk-autoscaling 1.49.0 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +8 -3
- data/lib/aws-sdk-autoscaling/client.rb +116 -81
- data/lib/aws-sdk-autoscaling/client_api.rb +49 -48
- data/lib/aws-sdk-autoscaling/instance.rb +12 -1
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +8 -4
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +1 -1
- data/lib/aws-sdk-autoscaling/resource.rb +31 -25
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +2 -2
- data/lib/aws-sdk-autoscaling/scheduled_action.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +180 -112
- metadata +4 -4
@@ -318,18 +318,18 @@ module Aws::AutoScaling
|
|
318
318
|
AlreadyExistsFault.struct_class = Types::AlreadyExistsFault
|
319
319
|
|
320
320
|
AttachInstancesQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
|
321
|
-
AttachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
321
|
+
AttachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
322
322
|
AttachInstancesQuery.struct_class = Types::AttachInstancesQuery
|
323
323
|
|
324
324
|
AttachLoadBalancerTargetGroupsResultType.struct_class = Types::AttachLoadBalancerTargetGroupsResultType
|
325
325
|
|
326
|
-
AttachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
326
|
+
AttachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
327
327
|
AttachLoadBalancerTargetGroupsType.add_member(:target_group_arns, Shapes::ShapeRef.new(shape: TargetGroupARNs, required: true, location_name: "TargetGroupARNs"))
|
328
328
|
AttachLoadBalancerTargetGroupsType.struct_class = Types::AttachLoadBalancerTargetGroupsType
|
329
329
|
|
330
330
|
AttachLoadBalancersResultType.struct_class = Types::AttachLoadBalancersResultType
|
331
331
|
|
332
|
-
AttachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
332
|
+
AttachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
333
333
|
AttachLoadBalancersType.add_member(:load_balancer_names, Shapes::ShapeRef.new(shape: LoadBalancerNames, required: true, location_name: "LoadBalancerNames"))
|
334
334
|
AttachLoadBalancersType.struct_class = Types::AttachLoadBalancersType
|
335
335
|
|
@@ -362,7 +362,7 @@ module Aws::AutoScaling
|
|
362
362
|
AutoScalingGroup.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
|
363
363
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
364
364
|
|
365
|
-
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape:
|
365
|
+
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
366
366
|
|
367
367
|
AutoScalingGroupNamesType.add_member(:auto_scaling_group_names, Shapes::ShapeRef.new(shape: AutoScalingGroupNames, location_name: "AutoScalingGroupNames"))
|
368
368
|
AutoScalingGroupNamesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
@@ -400,14 +400,14 @@ module Aws::AutoScaling
|
|
400
400
|
BatchDeleteScheduledActionAnswer.add_member(:failed_scheduled_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledActions"))
|
401
401
|
BatchDeleteScheduledActionAnswer.struct_class = Types::BatchDeleteScheduledActionAnswer
|
402
402
|
|
403
|
-
BatchDeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
403
|
+
BatchDeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
404
404
|
BatchDeleteScheduledActionType.add_member(:scheduled_action_names, Shapes::ShapeRef.new(shape: ScheduledActionNames, required: true, location_name: "ScheduledActionNames"))
|
405
405
|
BatchDeleteScheduledActionType.struct_class = Types::BatchDeleteScheduledActionType
|
406
406
|
|
407
407
|
BatchPutScheduledUpdateGroupActionAnswer.add_member(:failed_scheduled_update_group_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledUpdateGroupActions"))
|
408
408
|
BatchPutScheduledUpdateGroupActionAnswer.struct_class = Types::BatchPutScheduledUpdateGroupActionAnswer
|
409
409
|
|
410
|
-
BatchPutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
410
|
+
BatchPutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
411
411
|
BatchPutScheduledUpdateGroupActionType.add_member(:scheduled_update_group_actions, Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActionRequests, required: true, location_name: "ScheduledUpdateGroupActions"))
|
412
412
|
BatchPutScheduledUpdateGroupActionType.struct_class = Types::BatchPutScheduledUpdateGroupActionType
|
413
413
|
|
@@ -437,7 +437,7 @@ module Aws::AutoScaling
|
|
437
437
|
CompleteLifecycleActionType.struct_class = Types::CompleteLifecycleActionType
|
438
438
|
|
439
439
|
CreateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
440
|
-
CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape:
|
440
|
+
CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
441
441
|
CreateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
442
442
|
CreateAutoScalingGroupType.add_member(:mixed_instances_policy, Shapes::ShapeRef.new(shape: MixedInstancesPolicy, location_name: "MixedInstancesPolicy"))
|
443
443
|
CreateAutoScalingGroupType.add_member(:instance_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen19, location_name: "InstanceId"))
|
@@ -492,26 +492,26 @@ module Aws::AutoScaling
|
|
492
492
|
CustomizedMetricSpecification.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "Unit"))
|
493
493
|
CustomizedMetricSpecification.struct_class = Types::CustomizedMetricSpecification
|
494
494
|
|
495
|
-
DeleteAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
495
|
+
DeleteAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
496
496
|
DeleteAutoScalingGroupType.add_member(:force_delete, Shapes::ShapeRef.new(shape: ForceDelete, location_name: "ForceDelete"))
|
497
497
|
DeleteAutoScalingGroupType.struct_class = Types::DeleteAutoScalingGroupType
|
498
498
|
|
499
499
|
DeleteLifecycleHookAnswer.struct_class = Types::DeleteLifecycleHookAnswer
|
500
500
|
|
501
501
|
DeleteLifecycleHookType.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "LifecycleHookName"))
|
502
|
-
DeleteLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
502
|
+
DeleteLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
503
503
|
DeleteLifecycleHookType.struct_class = Types::DeleteLifecycleHookType
|
504
504
|
|
505
|
-
DeleteNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
506
|
-
DeleteNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape:
|
505
|
+
DeleteNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
506
|
+
DeleteNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "TopicARN"))
|
507
507
|
DeleteNotificationConfigurationType.struct_class = Types::DeleteNotificationConfigurationType
|
508
508
|
|
509
|
-
DeletePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
509
|
+
DeletePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
510
510
|
DeletePolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
|
511
511
|
DeletePolicyType.struct_class = Types::DeletePolicyType
|
512
512
|
|
513
|
-
DeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
514
|
-
DeleteScheduledActionType.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape:
|
513
|
+
DeleteScheduledActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
514
|
+
DeleteScheduledActionType.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
|
515
515
|
DeleteScheduledActionType.struct_class = Types::DeleteScheduledActionType
|
516
516
|
|
517
517
|
DeleteTagsType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
@@ -550,11 +550,11 @@ module Aws::AutoScaling
|
|
550
550
|
DescribeLifecycleHooksAnswer.add_member(:lifecycle_hooks, Shapes::ShapeRef.new(shape: LifecycleHooks, location_name: "LifecycleHooks"))
|
551
551
|
DescribeLifecycleHooksAnswer.struct_class = Types::DescribeLifecycleHooksAnswer
|
552
552
|
|
553
|
-
DescribeLifecycleHooksType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
553
|
+
DescribeLifecycleHooksType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
554
554
|
DescribeLifecycleHooksType.add_member(:lifecycle_hook_names, Shapes::ShapeRef.new(shape: LifecycleHookNames, location_name: "LifecycleHookNames"))
|
555
555
|
DescribeLifecycleHooksType.struct_class = Types::DescribeLifecycleHooksType
|
556
556
|
|
557
|
-
DescribeLoadBalancerTargetGroupsRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
557
|
+
DescribeLoadBalancerTargetGroupsRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
558
558
|
DescribeLoadBalancerTargetGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
559
559
|
DescribeLoadBalancerTargetGroupsRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
560
560
|
DescribeLoadBalancerTargetGroupsRequest.struct_class = Types::DescribeLoadBalancerTargetGroupsRequest
|
@@ -563,7 +563,7 @@ module Aws::AutoScaling
|
|
563
563
|
DescribeLoadBalancerTargetGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
564
564
|
DescribeLoadBalancerTargetGroupsResponse.struct_class = Types::DescribeLoadBalancerTargetGroupsResponse
|
565
565
|
|
566
|
-
DescribeLoadBalancersRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
566
|
+
DescribeLoadBalancersRequest.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
567
567
|
DescribeLoadBalancersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
568
568
|
DescribeLoadBalancersRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
569
569
|
DescribeLoadBalancersRequest.struct_class = Types::DescribeLoadBalancersRequest
|
@@ -585,7 +585,7 @@ module Aws::AutoScaling
|
|
585
585
|
DescribeNotificationConfigurationsType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
586
586
|
DescribeNotificationConfigurationsType.struct_class = Types::DescribeNotificationConfigurationsType
|
587
587
|
|
588
|
-
DescribePoliciesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
588
|
+
DescribePoliciesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
589
589
|
DescribePoliciesType.add_member(:policy_names, Shapes::ShapeRef.new(shape: PolicyNames, location_name: "PolicyNames"))
|
590
590
|
DescribePoliciesType.add_member(:policy_types, Shapes::ShapeRef.new(shape: PolicyTypes, location_name: "PolicyTypes"))
|
591
591
|
DescribePoliciesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
@@ -593,12 +593,12 @@ module Aws::AutoScaling
|
|
593
593
|
DescribePoliciesType.struct_class = Types::DescribePoliciesType
|
594
594
|
|
595
595
|
DescribeScalingActivitiesType.add_member(:activity_ids, Shapes::ShapeRef.new(shape: ActivityIds, location_name: "ActivityIds"))
|
596
|
-
DescribeScalingActivitiesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
596
|
+
DescribeScalingActivitiesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
597
597
|
DescribeScalingActivitiesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
598
598
|
DescribeScalingActivitiesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
599
599
|
DescribeScalingActivitiesType.struct_class = Types::DescribeScalingActivitiesType
|
600
600
|
|
601
|
-
DescribeScheduledActionsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
601
|
+
DescribeScheduledActionsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
602
602
|
DescribeScheduledActionsType.add_member(:scheduled_action_names, Shapes::ShapeRef.new(shape: ScheduledActionNames, location_name: "ScheduledActionNames"))
|
603
603
|
DescribeScheduledActionsType.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
|
604
604
|
DescribeScheduledActionsType.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "EndTime"))
|
@@ -618,23 +618,23 @@ module Aws::AutoScaling
|
|
618
618
|
DetachInstancesAnswer.struct_class = Types::DetachInstancesAnswer
|
619
619
|
|
620
620
|
DetachInstancesQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
|
621
|
-
DetachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
621
|
+
DetachInstancesQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
622
622
|
DetachInstancesQuery.add_member(:should_decrement_desired_capacity, Shapes::ShapeRef.new(shape: ShouldDecrementDesiredCapacity, required: true, location_name: "ShouldDecrementDesiredCapacity"))
|
623
623
|
DetachInstancesQuery.struct_class = Types::DetachInstancesQuery
|
624
624
|
|
625
625
|
DetachLoadBalancerTargetGroupsResultType.struct_class = Types::DetachLoadBalancerTargetGroupsResultType
|
626
626
|
|
627
|
-
DetachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
627
|
+
DetachLoadBalancerTargetGroupsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
628
628
|
DetachLoadBalancerTargetGroupsType.add_member(:target_group_arns, Shapes::ShapeRef.new(shape: TargetGroupARNs, required: true, location_name: "TargetGroupARNs"))
|
629
629
|
DetachLoadBalancerTargetGroupsType.struct_class = Types::DetachLoadBalancerTargetGroupsType
|
630
630
|
|
631
631
|
DetachLoadBalancersResultType.struct_class = Types::DetachLoadBalancersResultType
|
632
632
|
|
633
|
-
DetachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
633
|
+
DetachLoadBalancersType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
634
634
|
DetachLoadBalancersType.add_member(:load_balancer_names, Shapes::ShapeRef.new(shape: LoadBalancerNames, required: true, location_name: "LoadBalancerNames"))
|
635
635
|
DetachLoadBalancersType.struct_class = Types::DetachLoadBalancersType
|
636
636
|
|
637
|
-
DisableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
637
|
+
DisableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
638
638
|
DisableMetricsCollectionQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
639
639
|
DisableMetricsCollectionQuery.struct_class = Types::DisableMetricsCollectionQuery
|
640
640
|
|
@@ -646,7 +646,7 @@ module Aws::AutoScaling
|
|
646
646
|
Ebs.add_member(:encrypted, Shapes::ShapeRef.new(shape: BlockDeviceEbsEncrypted, location_name: "Encrypted"))
|
647
647
|
Ebs.struct_class = Types::Ebs
|
648
648
|
|
649
|
-
EnableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
649
|
+
EnableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
650
650
|
EnableMetricsCollectionQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
651
651
|
EnableMetricsCollectionQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "Granularity"))
|
652
652
|
EnableMetricsCollectionQuery.struct_class = Types::EnableMetricsCollectionQuery
|
@@ -661,11 +661,11 @@ module Aws::AutoScaling
|
|
661
661
|
EnterStandbyAnswer.struct_class = Types::EnterStandbyAnswer
|
662
662
|
|
663
663
|
EnterStandbyQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
|
664
|
-
EnterStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
664
|
+
EnterStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
665
665
|
EnterStandbyQuery.add_member(:should_decrement_desired_capacity, Shapes::ShapeRef.new(shape: ShouldDecrementDesiredCapacity, required: true, location_name: "ShouldDecrementDesiredCapacity"))
|
666
666
|
EnterStandbyQuery.struct_class = Types::EnterStandbyQuery
|
667
667
|
|
668
|
-
ExecutePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
668
|
+
ExecutePolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
669
669
|
ExecutePolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
|
670
670
|
ExecutePolicyType.add_member(:honor_cooldown, Shapes::ShapeRef.new(shape: HonorCooldown, location_name: "HonorCooldown"))
|
671
671
|
ExecutePolicyType.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricScale, location_name: "MetricValue"))
|
@@ -676,7 +676,7 @@ module Aws::AutoScaling
|
|
676
676
|
ExitStandbyAnswer.struct_class = Types::ExitStandbyAnswer
|
677
677
|
|
678
678
|
ExitStandbyQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, location_name: "InstanceIds"))
|
679
|
-
ExitStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
679
|
+
ExitStandbyQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
680
680
|
ExitStandbyQuery.struct_class = Types::ExitStandbyQuery
|
681
681
|
|
682
682
|
FailedScheduledUpdateGroupActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
|
@@ -765,10 +765,10 @@ module Aws::AutoScaling
|
|
765
765
|
LaunchConfiguration.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "MetadataOptions"))
|
766
766
|
LaunchConfiguration.struct_class = Types::LaunchConfiguration
|
767
767
|
|
768
|
-
LaunchConfigurationNameType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape:
|
768
|
+
LaunchConfigurationNameType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
769
769
|
LaunchConfigurationNameType.struct_class = Types::LaunchConfigurationNameType
|
770
770
|
|
771
|
-
LaunchConfigurationNames.member = Shapes::ShapeRef.new(shape:
|
771
|
+
LaunchConfigurationNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
772
772
|
|
773
773
|
LaunchConfigurationNamesType.add_member(:launch_configuration_names, Shapes::ShapeRef.new(shape: LaunchConfigurationNames, location_name: "LaunchConfigurationNames"))
|
774
774
|
LaunchConfigurationNamesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
@@ -787,6 +787,7 @@ module Aws::AutoScaling
|
|
787
787
|
|
788
788
|
LaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceType"))
|
789
789
|
LaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: XmlStringMaxLen32, location_name: "WeightedCapacity"))
|
790
|
+
LaunchTemplateOverrides.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplateSpecification"))
|
790
791
|
LaunchTemplateOverrides.struct_class = Types::LaunchTemplateOverrides
|
791
792
|
|
792
793
|
LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchTemplateId"))
|
@@ -795,10 +796,10 @@ module Aws::AutoScaling
|
|
795
796
|
LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
|
796
797
|
|
797
798
|
LifecycleHook.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, location_name: "LifecycleHookName"))
|
798
|
-
LifecycleHook.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
799
|
+
LifecycleHook.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
799
800
|
LifecycleHook.add_member(:lifecycle_transition, Shapes::ShapeRef.new(shape: LifecycleTransition, location_name: "LifecycleTransition"))
|
800
|
-
LifecycleHook.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape:
|
801
|
-
LifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
801
|
+
LifecycleHook.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
|
802
|
+
LifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "RoleARN"))
|
802
803
|
LifecycleHook.add_member(:notification_metadata, Shapes::ShapeRef.new(shape: XmlStringMaxLen1023, location_name: "NotificationMetadata"))
|
803
804
|
LifecycleHook.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
|
804
805
|
LifecycleHook.add_member(:global_timeout, Shapes::ShapeRef.new(shape: GlobalTimeout, location_name: "GlobalTimeout"))
|
@@ -813,7 +814,7 @@ module Aws::AutoScaling
|
|
813
814
|
LifecycleHookSpecification.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
|
814
815
|
LifecycleHookSpecification.add_member(:default_result, Shapes::ShapeRef.new(shape: LifecycleActionResult, location_name: "DefaultResult"))
|
815
816
|
LifecycleHookSpecification.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
|
816
|
-
LifecycleHookSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
817
|
+
LifecycleHookSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "RoleARN"))
|
817
818
|
LifecycleHookSpecification.struct_class = Types::LifecycleHookSpecification
|
818
819
|
|
819
820
|
LifecycleHookSpecifications.member = Shapes::ShapeRef.new(shape: LifecycleHookSpecification)
|
@@ -859,8 +860,8 @@ module Aws::AutoScaling
|
|
859
860
|
MixedInstancesPolicy.add_member(:instances_distribution, Shapes::ShapeRef.new(shape: InstancesDistribution, location_name: "InstancesDistribution"))
|
860
861
|
MixedInstancesPolicy.struct_class = Types::MixedInstancesPolicy
|
861
862
|
|
862
|
-
NotificationConfiguration.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
863
|
-
NotificationConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape:
|
863
|
+
NotificationConfiguration.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
864
|
+
NotificationConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TopicARN"))
|
864
865
|
NotificationConfiguration.add_member(:notification_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "NotificationType"))
|
865
866
|
NotificationConfiguration.struct_class = Types::NotificationConfiguration
|
866
867
|
|
@@ -897,21 +898,21 @@ module Aws::AutoScaling
|
|
897
898
|
PutLifecycleHookAnswer.struct_class = Types::PutLifecycleHookAnswer
|
898
899
|
|
899
900
|
PutLifecycleHookType.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "LifecycleHookName"))
|
900
|
-
PutLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
901
|
+
PutLifecycleHookType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
901
902
|
PutLifecycleHookType.add_member(:lifecycle_transition, Shapes::ShapeRef.new(shape: LifecycleTransition, location_name: "LifecycleTransition"))
|
902
|
-
PutLifecycleHookType.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
903
|
+
PutLifecycleHookType.add_member(:role_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "RoleARN"))
|
903
904
|
PutLifecycleHookType.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
|
904
905
|
PutLifecycleHookType.add_member(:notification_metadata, Shapes::ShapeRef.new(shape: XmlStringMaxLen1023, location_name: "NotificationMetadata"))
|
905
906
|
PutLifecycleHookType.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
|
906
907
|
PutLifecycleHookType.add_member(:default_result, Shapes::ShapeRef.new(shape: LifecycleActionResult, location_name: "DefaultResult"))
|
907
908
|
PutLifecycleHookType.struct_class = Types::PutLifecycleHookType
|
908
909
|
|
909
|
-
PutNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
910
|
-
PutNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape:
|
910
|
+
PutNotificationConfigurationType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
911
|
+
PutNotificationConfigurationType.add_member(:topic_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "TopicARN"))
|
911
912
|
PutNotificationConfigurationType.add_member(:notification_types, Shapes::ShapeRef.new(shape: AutoScalingNotificationTypes, required: true, location_name: "NotificationTypes"))
|
912
913
|
PutNotificationConfigurationType.struct_class = Types::PutNotificationConfigurationType
|
913
914
|
|
914
|
-
PutScalingPolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
915
|
+
PutScalingPolicyType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
915
916
|
PutScalingPolicyType.add_member(:policy_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "PolicyName"))
|
916
917
|
PutScalingPolicyType.add_member(:policy_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "PolicyType"))
|
917
918
|
PutScalingPolicyType.add_member(:adjustment_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AdjustmentType"))
|
@@ -926,7 +927,7 @@ module Aws::AutoScaling
|
|
926
927
|
PutScalingPolicyType.add_member(:enabled, Shapes::ShapeRef.new(shape: ScalingPolicyEnabled, location_name: "Enabled"))
|
927
928
|
PutScalingPolicyType.struct_class = Types::PutScalingPolicyType
|
928
929
|
|
929
|
-
PutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
930
|
+
PutScheduledUpdateGroupActionType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
930
931
|
PutScheduledUpdateGroupActionType.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
|
931
932
|
PutScheduledUpdateGroupActionType.add_member(:time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "Time"))
|
932
933
|
PutScheduledUpdateGroupActionType.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
|
@@ -977,11 +978,11 @@ module Aws::AutoScaling
|
|
977
978
|
ScalingPolicy.add_member(:enabled, Shapes::ShapeRef.new(shape: ScalingPolicyEnabled, location_name: "Enabled"))
|
978
979
|
ScalingPolicy.struct_class = Types::ScalingPolicy
|
979
980
|
|
980
|
-
ScalingProcessQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
981
|
+
ScalingProcessQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
981
982
|
ScalingProcessQuery.add_member(:scaling_processes, Shapes::ShapeRef.new(shape: ProcessNames, location_name: "ScalingProcesses"))
|
982
983
|
ScalingProcessQuery.struct_class = Types::ScalingProcessQuery
|
983
984
|
|
984
|
-
ScheduledActionNames.member = Shapes::ShapeRef.new(shape:
|
985
|
+
ScheduledActionNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
985
986
|
|
986
987
|
ScheduledActionsType.add_member(:scheduled_update_group_actions, Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActions, location_name: "ScheduledUpdateGroupActions"))
|
987
988
|
ScheduledActionsType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
@@ -1017,7 +1018,7 @@ module Aws::AutoScaling
|
|
1017
1018
|
ServiceLinkedRoleFailure.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
1018
1019
|
ServiceLinkedRoleFailure.struct_class = Types::ServiceLinkedRoleFailure
|
1019
1020
|
|
1020
|
-
SetDesiredCapacityType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
1021
|
+
SetDesiredCapacityType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
1021
1022
|
SetDesiredCapacityType.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, required: true, location_name: "DesiredCapacity"))
|
1022
1023
|
SetDesiredCapacityType.add_member(:honor_cooldown, Shapes::ShapeRef.new(shape: HonorCooldown, location_name: "HonorCooldown"))
|
1023
1024
|
SetDesiredCapacityType.struct_class = Types::SetDesiredCapacityType
|
@@ -1030,7 +1031,7 @@ module Aws::AutoScaling
|
|
1030
1031
|
SetInstanceProtectionAnswer.struct_class = Types::SetInstanceProtectionAnswer
|
1031
1032
|
|
1032
1033
|
SetInstanceProtectionQuery.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIds, required: true, location_name: "InstanceIds"))
|
1033
|
-
SetInstanceProtectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
1034
|
+
SetInstanceProtectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
1034
1035
|
SetInstanceProtectionQuery.add_member(:protected_from_scale_in, Shapes::ShapeRef.new(shape: ProtectedFromScaleIn, required: true, location_name: "ProtectedFromScaleIn"))
|
1035
1036
|
SetInstanceProtectionQuery.struct_class = Types::SetInstanceProtectionQuery
|
1036
1037
|
|
@@ -1091,8 +1092,8 @@ module Aws::AutoScaling
|
|
1091
1092
|
|
1092
1093
|
TerminationPolicies.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen1600)
|
1093
1094
|
|
1094
|
-
UpdateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape:
|
1095
|
-
UpdateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape:
|
1095
|
+
UpdateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
1096
|
+
UpdateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
1096
1097
|
UpdateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
1097
1098
|
UpdateAutoScalingGroupType.add_member(:mixed_instances_policy, Shapes::ShapeRef.new(shape: MixedInstancesPolicy, location_name: "MixedInstancesPolicy"))
|
1098
1099
|
UpdateAutoScalingGroupType.add_member(:min_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMinSize, location_name: "MinSize"))
|
@@ -56,7 +56,18 @@ module Aws::AutoScaling
|
|
56
56
|
data[:availability_zone]
|
57
57
|
end
|
58
58
|
|
59
|
-
# The lifecycle state for the instance.
|
59
|
+
# The lifecycle state for the instance. The `Quarantined` state is not
|
60
|
+
# used. For information about lifecycle states, see [Instance
|
61
|
+
# lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
62
|
+
#
|
63
|
+
# Valid Values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
|
64
|
+
# `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait` \|
|
65
|
+
# `Terminating:Proceed` \| `Terminated` \| `Detaching` \| `Detached` \|
|
66
|
+
# `EnteringStandby` \| `Standby`
|
67
|
+
#
|
68
|
+
#
|
69
|
+
#
|
70
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
60
71
|
# @return [String]
|
61
72
|
def lifecycle_state
|
62
73
|
data[:lifecycle_state]
|
@@ -108,13 +108,17 @@ module Aws::AutoScaling
|
|
108
108
|
data[:classic_link_vpc_security_groups]
|
109
109
|
end
|
110
110
|
|
111
|
-
# The
|
112
|
-
#
|
113
|
-
# data][
|
111
|
+
# The user data to make available to the launched EC2 instances. For
|
112
|
+
# more information, see [Instance metadata and user data][1] (Linux) and
|
113
|
+
# [Instance metadata and user data][2] (Windows). If you are using a
|
114
|
+
# command line tool, base64-encoding is performed for you, and you can
|
115
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
116
|
+
# text. User data is limited to 16 KB.
|
114
117
|
#
|
115
118
|
#
|
116
119
|
#
|
117
120
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
121
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
118
122
|
# @return [String]
|
119
123
|
def user_data
|
120
124
|
data[:user_data]
|
@@ -123,7 +127,7 @@ module Aws::AutoScaling
|
|
123
127
|
# The instance type for the instances.
|
124
128
|
#
|
125
129
|
# For information about available instance types, see [Available
|
126
|
-
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances
|
130
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
127
131
|
#
|
128
132
|
#
|
129
133
|
#
|
@@ -286,7 +286,7 @@ module Aws::AutoScaling
|
|
286
286
|
#
|
287
287
|
# lifecycle_hook.put({
|
288
288
|
# lifecycle_transition: "LifecycleTransition",
|
289
|
-
# role_arn: "
|
289
|
+
# role_arn: "XmlStringMaxLen255",
|
290
290
|
# notification_target_arn: "NotificationTargetResourceName",
|
291
291
|
# notification_metadata: "XmlStringMaxLen1023",
|
292
292
|
# heartbeat_timeout: 1,
|
@@ -39,7 +39,7 @@ module Aws::AutoScaling
|
|
39
39
|
#
|
40
40
|
# autoscalinggroup = auto_scaling.create_group({
|
41
41
|
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
42
|
-
# launch_configuration_name: "
|
42
|
+
# launch_configuration_name: "XmlStringMaxLen255",
|
43
43
|
# launch_template: {
|
44
44
|
# launch_template_id: "XmlStringMaxLen255",
|
45
45
|
# launch_template_name: "LaunchTemplateName",
|
@@ -56,6 +56,11 @@ module Aws::AutoScaling
|
|
56
56
|
# {
|
57
57
|
# instance_type: "XmlStringMaxLen255",
|
58
58
|
# weighted_capacity: "XmlStringMaxLen32",
|
59
|
+
# launch_template_specification: {
|
60
|
+
# launch_template_id: "XmlStringMaxLen255",
|
61
|
+
# launch_template_name: "LaunchTemplateName",
|
62
|
+
# version: "XmlStringMaxLen255",
|
63
|
+
# },
|
59
64
|
# },
|
60
65
|
# ],
|
61
66
|
# },
|
@@ -91,7 +96,7 @@ module Aws::AutoScaling
|
|
91
96
|
# heartbeat_timeout: 1,
|
92
97
|
# default_result: "LifecycleActionResult",
|
93
98
|
# notification_target_arn: "NotificationTargetResourceName",
|
94
|
-
# role_arn: "
|
99
|
+
# role_arn: "XmlStringMaxLen255",
|
95
100
|
# },
|
96
101
|
# ],
|
97
102
|
# tags: [
|
@@ -117,8 +122,8 @@ module Aws::AutoScaling
|
|
117
122
|
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
|
118
123
|
# (`LaunchConfigurationName` or `InstanceId`).
|
119
124
|
# @option options [Types::LaunchTemplateSpecification] :launch_template
|
120
|
-
# Parameters used to specify the
|
121
|
-
#
|
125
|
+
# Parameters used to specify the launch template and version to use to
|
126
|
+
# launch instances.
|
122
127
|
#
|
123
128
|
# Conditional: You must specify either a launch template
|
124
129
|
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
|
@@ -126,15 +131,14 @@ module Aws::AutoScaling
|
|
126
131
|
#
|
127
132
|
# <note markdown="1"> The launch template that is specified must be configured for use with
|
128
133
|
# an Auto Scaling group. For more information, see [Creating a launch
|
129
|
-
# template for an Auto Scaling group][
|
134
|
+
# template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
130
135
|
# User Guide*.
|
131
136
|
#
|
132
137
|
# </note>
|
133
138
|
#
|
134
139
|
#
|
135
140
|
#
|
136
|
-
# [1]: https://docs.aws.amazon.com/
|
137
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
141
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
138
142
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
139
143
|
# An embedded object that specifies a mixed instances policy. The
|
140
144
|
# required parameters must be specified. If optional parameters are
|
@@ -146,14 +150,11 @@ module Aws::AutoScaling
|
|
146
150
|
# types to fulfill On-Demand and Spot capacities, but also the
|
147
151
|
# parameters that specify the instance configuration information—the
|
148
152
|
# launch template and instance types. The policy can also include a
|
149
|
-
# weight for each instance type
|
153
|
+
# weight for each instance type and different launch templates for
|
154
|
+
# individual instance types. For more information, see [Auto Scaling
|
150
155
|
# groups with multiple instance types and purchase options][1] in the
|
151
156
|
# *Amazon EC2 Auto Scaling User Guide*.
|
152
157
|
#
|
153
|
-
# Conditional: You must specify either a launch template
|
154
|
-
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
|
155
|
-
# (`LaunchConfigurationName` or `InstanceId`).
|
156
|
-
#
|
157
158
|
#
|
158
159
|
#
|
159
160
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
|
@@ -210,8 +211,9 @@ module Aws::AutoScaling
|
|
210
211
|
# parameter is required to launch instances into EC2-Classic.
|
211
212
|
# @option options [Array<String>] :load_balancer_names
|
212
213
|
# A list of Classic Load Balancers associated with this Auto Scaling
|
213
|
-
# group. For Application Load Balancers
|
214
|
-
# specify `TargetGroupARNs`
|
214
|
+
# group. For Application Load Balancers, Network Load Balancers, and
|
215
|
+
# Gateway Load Balancers, specify the `TargetGroupARNs` property
|
216
|
+
# instead.
|
215
217
|
# @option options [Array<String>] :target_group_arns
|
216
218
|
# The Amazon Resource Names (ARN) of the target groups to associate with
|
217
219
|
# the Auto Scaling group. Instances are registered as targets in a
|
@@ -453,13 +455,17 @@ module Aws::AutoScaling
|
|
453
455
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
454
456
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
455
457
|
# @option options [String] :user_data
|
456
|
-
# The
|
457
|
-
#
|
458
|
-
# data][
|
458
|
+
# The user data to make available to the launched EC2 instances. For
|
459
|
+
# more information, see [Instance metadata and user data][1] (Linux) and
|
460
|
+
# [Instance metadata and user data][2] (Windows). If you are using a
|
461
|
+
# command line tool, base64-encoding is performed for you, and you can
|
462
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
463
|
+
# text. User data is limited to 16 KB.
|
459
464
|
#
|
460
465
|
#
|
461
466
|
#
|
462
467
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
468
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
463
469
|
# @option options [String] :instance_id
|
464
470
|
# The ID of the instance to use to create the launch configuration. The
|
465
471
|
# new launch configuration derives attributes from the instance, except
|
@@ -482,7 +488,7 @@ module Aws::AutoScaling
|
|
482
488
|
# Specifies the instance type of the EC2 instance.
|
483
489
|
#
|
484
490
|
# For information about available instance types, see [Available
|
485
|
-
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances
|
491
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
486
492
|
#
|
487
493
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
488
494
|
#
|
@@ -602,7 +608,7 @@ module Aws::AutoScaling
|
|
602
608
|
#
|
603
609
|
#
|
604
610
|
#
|
605
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
611
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
|
606
612
|
# @option options [Types::InstanceMetadataOptions] :metadata_options
|
607
613
|
# The metadata options for the instances. For more information, see
|
608
614
|
# [Configuring the Instance Metadata Options][1] in the *Amazon EC2 Auto
|
@@ -626,7 +632,7 @@ module Aws::AutoScaling
|
|
626
632
|
#
|
627
633
|
# activities = auto_scaling.activities({
|
628
634
|
# activity_ids: ["XmlString"],
|
629
|
-
# auto_scaling_group_name: "
|
635
|
+
# auto_scaling_group_name: "XmlStringMaxLen255",
|
630
636
|
# })
|
631
637
|
# @param [Hash] options ({})
|
632
638
|
# @option options [Array<String>] :activity_ids
|
@@ -677,7 +683,7 @@ module Aws::AutoScaling
|
|
677
683
|
# @example Request syntax with placeholder values
|
678
684
|
#
|
679
685
|
# groups = auto_scaling.groups({
|
680
|
-
# auto_scaling_group_names: ["
|
686
|
+
# auto_scaling_group_names: ["XmlStringMaxLen255"],
|
681
687
|
# })
|
682
688
|
# @param [Hash] options ({})
|
683
689
|
# @option options [Array<String>] :auto_scaling_group_names
|
@@ -747,7 +753,7 @@ module Aws::AutoScaling
|
|
747
753
|
# @example Request syntax with placeholder values
|
748
754
|
#
|
749
755
|
# launch_configurations = auto_scaling.launch_configurations({
|
750
|
-
# launch_configuration_names: ["
|
756
|
+
# launch_configuration_names: ["XmlStringMaxLen255"],
|
751
757
|
# })
|
752
758
|
# @param [Hash] options ({})
|
753
759
|
# @option options [Array<String>] :launch_configuration_names
|
@@ -775,7 +781,7 @@ module Aws::AutoScaling
|
|
775
781
|
# @example Request syntax with placeholder values
|
776
782
|
#
|
777
783
|
# policies = auto_scaling.policies({
|
778
|
-
# auto_scaling_group_name: "
|
784
|
+
# auto_scaling_group_name: "XmlStringMaxLen255",
|
779
785
|
# policy_names: ["ResourceName"],
|
780
786
|
# policy_types: ["XmlStringMaxLen64"],
|
781
787
|
# })
|
@@ -830,8 +836,8 @@ module Aws::AutoScaling
|
|
830
836
|
# @example Request syntax with placeholder values
|
831
837
|
#
|
832
838
|
# scheduled_actions = auto_scaling.scheduled_actions({
|
833
|
-
# auto_scaling_group_name: "
|
834
|
-
# scheduled_action_names: ["
|
839
|
+
# auto_scaling_group_name: "XmlStringMaxLen255",
|
840
|
+
# scheduled_action_names: ["XmlStringMaxLen255"],
|
835
841
|
# start_time: Time.now,
|
836
842
|
# end_time: Time.now,
|
837
843
|
# })
|