DesiredConfiguration
¶
Used by
-
AsyncAutoScalingClient Operationsstart_instance_refresh -
AutoScalingClient Operationsstart_instance_refresh
Source code in docs_src/capo_auto_scaling/types/desired_configuration.py
launch_template
instance-attribute
¶
launch_template: NotRequired[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.
mixed_instances_policy
instance-attribute
¶
mixed_instances_policy: NotRequired[MixedInstancesPolicy]
Use this structure to launch multiple instance types and configure how capacity is distributed across On-Demand, Spot, and supported Capacity Reservation types within a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances, prioritize capacity types, 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.