Class: Aws::AutoScaling::Types::DesiredConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::DesiredConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Describes the desired configuration for an instance refresh.
If you specify a desired configuration, you must specify either a ‘LaunchTemplate` or a `MixedInstancesPolicy`.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#launch_template ⇒ Types::LaunchTemplateSpecification
Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances.
-
#mixed_instances_policy ⇒ Types::MixedInstancesPolicy
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
Instance Attribute Details
#launch_template ⇒ Types::LaunchTemplateSpecification
Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see [Launch templates] in the *Amazon EC2 Auto Scaling User Guide*.
[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html
2417 2418 2419 2420 2421 2422 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2417 class DesiredConfiguration < Struct.new( :launch_template, :mixed_instances_policy) SENSITIVE = [] include Aws::Structure end |
#mixed_instances_policy ⇒ Types::MixedInstancesPolicy
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see [Auto Scaling groups with multiple instance types and purchase options] in the *Amazon EC2 Auto Scaling User Guide*.
[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
2417 2418 2419 2420 2421 2422 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2417 class DesiredConfiguration < Struct.new( :launch_template, :mixed_instances_policy) SENSITIVE = [] include Aws::Structure end |