Describes the desired configuration for an instance refresh.
If you specify a desired configuration, you must specify either a LaunchTemplate or a MixedInstancesPolicy.
Type: objectProperties: 2
Amazon Web ServicesAuto-ScalingComputeEC2High AvailabilityScaling
DesiredConfiguration is a JSON Structure definition published by Amazon EC2 Auto Scaling, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-auto-scaling/refs/heads/main/json-structure/ec2-auto-scaling-desired-configuration-structure.json",
"name": "DesiredConfiguration",
"description": "<p>Describes the desired configuration for an instance refresh. </p> <p>If you specify a desired configuration, you must specify either a <code>LaunchTemplate</code> or a <code>MixedInstancesPolicy</code>. </p>",
"type": "object",
"properties": {
"LaunchTemplate": {
"allOf": [
{
"$ref": "#/components/schemas/LaunchTemplateSpecification"
},
{
"description": "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 <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html\">Launch templates</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>."
}
]
},
"MixedInstancesPolicy": {
"allOf": [
{
"$ref": "#/components/schemas/MixedInstancesPolicy"
},
{
"description": "<p>Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.</p> <p>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 <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.