azure-native.awsconnector.AutoScalingAutoScalingGroup
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
AutoScalingAutoScalingGroups_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var autoScalingAutoScalingGroup = new AzureNative.AwsConnector.AutoScalingAutoScalingGroup("autoScalingAutoScalingGroup", new()
{
Location = "vfitxfllzgknmbaqgpsv",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.AutoScalingAutoScalingGroupPropertiesArgs
{
Arn = "gsso",
AwsAccountId = "eogdcteuaaazi",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsAutoScalingAutoScalingGroupPropertiesArgs
{
AutoScalingGroupName = "zvp",
AvailabilityZones = new[]
{
"bvcnltgekeqrzklsnfieubhugr",
},
CapacityRebalance = true,
Context = "dnmovg",
Cooldown = "r",
DefaultInstanceWarmup = 24,
DesiredCapacity = "xtu",
DesiredCapacityType = "wncmimbdveox",
HealthCheckGracePeriod = 9,
HealthCheckType = "ustkoarefpvnhxrtqua",
InstanceId = "noghdbfliygsadtjosovasxq",
InstanceMaintenancePolicy = new AzureNative.AwsConnector.Inputs.InstanceMaintenancePolicyArgs
{
MaxHealthyPercentage = 23,
MinHealthyPercentage = 6,
},
LaunchConfigurationName = "rgadwyrtzaxbfkbsbjaygujtc",
LaunchTemplate = new AzureNative.AwsConnector.Inputs.LaunchTemplateSpecificationArgs
{
Version = "kdlpart",
},
LifecycleHookSpecificationList = new[]
{
new AzureNative.AwsConnector.Inputs.LifecycleHookSpecificationArgs
{
DefaultResult = "qbeojpqbpnhst",
HeartbeatTimeout = 14,
LifecycleHookName = "xeqfmdmthyzrdxjbmdkyy",
LifecycleTransition = "xsufodhykhlutvc",
NotificationMetadata = "bknbkafxdozjlnprrlkrqstgwchxl",
NotificationTargetARN = "dkeqhlwuifyfamkufdryfiybxnle",
RoleARN = "bhenujqtabiiryjgl",
},
},
LoadBalancerNames = new[]
{
"qsgaefmtltksmmwswpdfmnlwvovi",
},
MaxInstanceLifetime = 25,
MaxSize = "vqxfpkdyusfijwc",
MetricsCollection = new[]
{
new AzureNative.AwsConnector.Inputs.MetricsCollectionArgs
{
Granularity = "ygxetadl",
Metrics = new[]
{
"hwukwnkctznjelut",
},
},
},
MinSize = "rfdwflldttnzph",
MixedInstancesPolicy = new AzureNative.AwsConnector.Inputs.MixedInstancesPolicyArgs
{
InstancesDistribution = new AzureNative.AwsConnector.Inputs.InstancesDistributionArgs
{
OnDemandAllocationStrategy = "s",
OnDemandBaseCapacity = 11,
OnDemandPercentageAboveBaseCapacity = 13,
SpotAllocationStrategy = "mdqoylvmdfgnktujkkgcargpzgejts",
SpotInstancePools = 21,
SpotMaxPrice = "civdjpljorkrvqganofneu",
},
LaunchTemplate = new AzureNative.AwsConnector.Inputs.LaunchTemplateArgs
{
LaunchTemplateSpecification = new AzureNative.AwsConnector.Inputs.LaunchTemplateSpecificationArgs
{
Version = "kdlpart",
},
Overrides = new[]
{
new AzureNative.AwsConnector.Inputs.LaunchTemplateOverridesArgs
{
InstanceRequirements = new AzureNative.AwsConnector.Inputs.InstanceRequirementsArgs
{
AcceleratorCount = new AzureNative.AwsConnector.Inputs.AcceleratorCountRequestArgs
{
Max = 22,
Min = 12,
},
AcceleratorManufacturers = new[]
{
"yrnnynorjjxvzppzrgpahymhm",
},
AcceleratorNames = new[]
{
"iqmentbrnypcxv",
},
AcceleratorTotalMemoryMiB = new AzureNative.AwsConnector.Inputs.AcceleratorTotalMemoryMiBRequestArgs
{
Max = 7,
Min = 29,
},
AcceleratorTypes = new[]
{
"kmvwibkxxklqitqxqqlpvfifvo",
},
AllowedInstanceTypes = new[]
{
"tzrxlaofwygbqglbwdxnqjy",
},
BareMetal = "kugjpzsjreywlvvzkebv",
BaselineEbsBandwidthMbps = new AzureNative.AwsConnector.Inputs.BaselineEbsBandwidthMbpsRequestArgs
{
Max = 2,
Min = 19,
},
BurstablePerformance = "jpwudasuoonf",
CpuManufacturers = new[]
{
"scbxthzijnmur",
},
ExcludedInstanceTypes = new[]
{
"edadlo",
},
InstanceGenerations = new[]
{
"f",
},
LocalStorage = "wglfmvquwice",
LocalStorageTypes = new[]
{
"talnjrldmventgtzlwpaxfcenp",
},
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice = 15,
MemoryGiBPerVCpu = new AzureNative.AwsConnector.Inputs.MemoryGiBPerVCpuRequestArgs
{
Max = 23,
Min = 29,
},
MemoryMiB = new AzureNative.AwsConnector.Inputs.MemoryMiBRequestArgs
{
Max = 27,
Min = 27,
},
NetworkBandwidthGbps = new AzureNative.AwsConnector.Inputs.NetworkBandwidthGbpsRequestArgs
{
Max = 18,
Min = 29,
},
NetworkInterfaceCount = new AzureNative.AwsConnector.Inputs.NetworkInterfaceCountRequestArgs
{
Max = 14,
Min = 26,
},
OnDemandMaxPricePercentageOverLowestPrice = 8,
RequireHibernateSupport = true,
SpotMaxPricePercentageOverLowestPrice = 9,
TotalLocalStorageGB = new AzureNative.AwsConnector.Inputs.TotalLocalStorageGBRequestArgs
{
Max = 19,
Min = 7,
},
VCpuCount = new AzureNative.AwsConnector.Inputs.VCpuCountRequestArgs
{
Max = 9,
Min = 26,
},
},
InstanceType = "phudgcnbis",
LaunchTemplateSpecification = new AzureNative.AwsConnector.Inputs.LaunchTemplateSpecificationArgs
{
Version = "kdlpart",
},
WeightedCapacity = "iqa",
},
},
},
},
NewInstancesProtectedFromScaleIn = true,
NotificationConfiguration = new AzureNative.AwsConnector.Inputs.AutoScalingGroupNotificationConfigurationArgs
{
NotificationTypes = new[]
{
"jzepnjbwtsw",
},
TopicARN = "hndjrwrlqssgciezop",
},
NotificationConfigurations = new[]
{
new AzureNative.AwsConnector.Inputs.AutoScalingGroupNotificationConfigurationArgs
{
NotificationTypes = new[]
{
"jzepnjbwtsw",
},
TopicARN = "hndjrwrlqssgciezop",
},
},
PlacementGroup = "pmanetwktlujhykhxtcekv",
ServiceLinkedRoleARN = "ffqtfkdv",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagPropertyArgs
{
Key = "vtmmpdwnenzwsmxgf",
PropagateAtLaunch = true,
Value = "xoncdkvjanxdfklvixodkyg",
},
},
TargetGroupARNs = new[]
{
"ttxjwgboopxrdiqxyqjdujw",
},
TerminationPolicies = new[]
{
"jvwpdujegrgjbdrxbvcjgs",
},
VpcZoneIdentifier = new[]
{
"fmqvstmohqtmjslrnsiuodevi",
},
},
AwsRegion = "cfqguizvjpckdsvetalwo",
AwsSourceSchema = "koleijkwf",
AwsTags =
{
{ "key6990", "lmywyo" },
},
PublicCloudConnectorsResourceId = "q",
PublicCloudResourceName = "blomfowfltqwzdghycehvvdnr",
},
ResourceGroupName = "rgautoScalingAutoScalingGroup",
Tags =
{
{ "key2337", "scybnvsqelp" },
},
});
});
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewAutoScalingAutoScalingGroup(ctx, "autoScalingAutoScalingGroup", &awsconnector.AutoScalingAutoScalingGroupArgs{
Location: pulumi.String("vfitxfllzgknmbaqgpsv"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.AutoScalingAutoScalingGroupPropertiesArgs{
Arn: pulumi.String("gsso"),
AwsAccountId: pulumi.String("eogdcteuaaazi"),
AwsProperties: &awsconnector.AwsAutoScalingAutoScalingGroupPropertiesArgs{
AutoScalingGroupName: pulumi.String("zvp"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("bvcnltgekeqrzklsnfieubhugr"),
},
CapacityRebalance: pulumi.Bool(true),
Context: pulumi.String("dnmovg"),
Cooldown: pulumi.String("r"),
DefaultInstanceWarmup: pulumi.Int(24),
DesiredCapacity: pulumi.String("xtu"),
DesiredCapacityType: pulumi.String("wncmimbdveox"),
HealthCheckGracePeriod: pulumi.Int(9),
HealthCheckType: pulumi.String("ustkoarefpvnhxrtqua"),
InstanceId: pulumi.String("noghdbfliygsadtjosovasxq"),
InstanceMaintenancePolicy: &awsconnector.InstanceMaintenancePolicyArgs{
MaxHealthyPercentage: pulumi.Int(23),
MinHealthyPercentage: pulumi.Int(6),
},
LaunchConfigurationName: pulumi.String("rgadwyrtzaxbfkbsbjaygujtc"),
LaunchTemplate: &awsconnector.LaunchTemplateSpecificationArgs{
Version: pulumi.String("kdlpart"),
},
LifecycleHookSpecificationList: awsconnector.LifecycleHookSpecificationArray{
&awsconnector.LifecycleHookSpecificationArgs{
DefaultResult: pulumi.String("qbeojpqbpnhst"),
HeartbeatTimeout: pulumi.Int(14),
LifecycleHookName: pulumi.String("xeqfmdmthyzrdxjbmdkyy"),
LifecycleTransition: pulumi.String("xsufodhykhlutvc"),
NotificationMetadata: pulumi.String("bknbkafxdozjlnprrlkrqstgwchxl"),
NotificationTargetARN: pulumi.String("dkeqhlwuifyfamkufdryfiybxnle"),
RoleARN: pulumi.String("bhenujqtabiiryjgl"),
},
},
LoadBalancerNames: pulumi.StringArray{
pulumi.String("qsgaefmtltksmmwswpdfmnlwvovi"),
},
MaxInstanceLifetime: pulumi.Int(25),
MaxSize: pulumi.String("vqxfpkdyusfijwc"),
MetricsCollection: awsconnector.MetricsCollectionArray{
&awsconnector.MetricsCollectionArgs{
Granularity: pulumi.String("ygxetadl"),
Metrics: pulumi.StringArray{
pulumi.String("hwukwnkctznjelut"),
},
},
},
MinSize: pulumi.String("rfdwflldttnzph"),
MixedInstancesPolicy: &awsconnector.MixedInstancesPolicyArgs{
InstancesDistribution: &awsconnector.InstancesDistributionArgs{
OnDemandAllocationStrategy: pulumi.String("s"),
OnDemandBaseCapacity: pulumi.Int(11),
OnDemandPercentageAboveBaseCapacity: pulumi.Int(13),
SpotAllocationStrategy: pulumi.String("mdqoylvmdfgnktujkkgcargpzgejts"),
SpotInstancePools: pulumi.Int(21),
SpotMaxPrice: pulumi.String("civdjpljorkrvqganofneu"),
},
LaunchTemplate: &awsconnector.LaunchTemplateArgs{
LaunchTemplateSpecification: &awsconnector.LaunchTemplateSpecificationArgs{
Version: pulumi.String("kdlpart"),
},
Overrides: awsconnector.LaunchTemplateOverridesArray{
&awsconnector.LaunchTemplateOverridesArgs{
InstanceRequirements: &awsconnector.InstanceRequirementsArgs{
AcceleratorCount: &awsconnector.AcceleratorCountRequestArgs{
Max: pulumi.Int(22),
Min: pulumi.Int(12),
},
AcceleratorManufacturers: pulumi.StringArray{
pulumi.String("yrnnynorjjxvzppzrgpahymhm"),
},
AcceleratorNames: pulumi.StringArray{
pulumi.String("iqmentbrnypcxv"),
},
AcceleratorTotalMemoryMiB: &awsconnector.AcceleratorTotalMemoryMiBRequestArgs{
Max: pulumi.Int(7),
Min: pulumi.Int(29),
},
AcceleratorTypes: pulumi.StringArray{
pulumi.String("kmvwibkxxklqitqxqqlpvfifvo"),
},
AllowedInstanceTypes: pulumi.StringArray{
pulumi.String("tzrxlaofwygbqglbwdxnqjy"),
},
BareMetal: pulumi.String("kugjpzsjreywlvvzkebv"),
BaselineEbsBandwidthMbps: &awsconnector.BaselineEbsBandwidthMbpsRequestArgs{
Max: pulumi.Int(2),
Min: pulumi.Int(19),
},
BurstablePerformance: pulumi.String("jpwudasuoonf"),
CpuManufacturers: pulumi.StringArray{
pulumi.String("scbxthzijnmur"),
},
ExcludedInstanceTypes: pulumi.StringArray{
pulumi.String("edadlo"),
},
InstanceGenerations: pulumi.StringArray{
pulumi.String("f"),
},
LocalStorage: pulumi.String("wglfmvquwice"),
LocalStorageTypes: pulumi.StringArray{
pulumi.String("talnjrldmventgtzlwpaxfcenp"),
},
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: pulumi.Int(15),
MemoryGiBPerVCpu: &awsconnector.MemoryGiBPerVCpuRequestArgs{
Max: pulumi.Int(23),
Min: pulumi.Int(29),
},
MemoryMiB: &awsconnector.MemoryMiBRequestArgs{
Max: pulumi.Int(27),
Min: pulumi.Int(27),
},
NetworkBandwidthGbps: &awsconnector.NetworkBandwidthGbpsRequestArgs{
Max: pulumi.Int(18),
Min: pulumi.Int(29),
},
NetworkInterfaceCount: &awsconnector.NetworkInterfaceCountRequestArgs{
Max: pulumi.Int(14),
Min: pulumi.Int(26),
},
OnDemandMaxPricePercentageOverLowestPrice: pulumi.Int(8),
RequireHibernateSupport: pulumi.Bool(true),
SpotMaxPricePercentageOverLowestPrice: pulumi.Int(9),
TotalLocalStorageGB: &awsconnector.TotalLocalStorageGBRequestArgs{
Max: pulumi.Int(19),
Min: pulumi.Int(7),
},
VCpuCount: &awsconnector.VCpuCountRequestArgs{
Max: pulumi.Int(9),
Min: pulumi.Int(26),
},
},
InstanceType: pulumi.String("phudgcnbis"),
LaunchTemplateSpecification: &awsconnector.LaunchTemplateSpecificationArgs{
Version: pulumi.String("kdlpart"),
},
WeightedCapacity: pulumi.String("iqa"),
},
},
},
},
NewInstancesProtectedFromScaleIn: pulumi.Bool(true),
NotificationConfiguration: &awsconnector.AutoScalingGroupNotificationConfigurationArgs{
NotificationTypes: pulumi.StringArray{
pulumi.String("jzepnjbwtsw"),
},
TopicARN: pulumi.String("hndjrwrlqssgciezop"),
},
NotificationConfigurations: awsconnector.AutoScalingGroupNotificationConfigurationArray{
&awsconnector.AutoScalingGroupNotificationConfigurationArgs{
NotificationTypes: pulumi.StringArray{
pulumi.String("jzepnjbwtsw"),
},
TopicARN: pulumi.String("hndjrwrlqssgciezop"),
},
},
PlacementGroup: pulumi.String("pmanetwktlujhykhxtcekv"),
ServiceLinkedRoleARN: pulumi.String("ffqtfkdv"),
Tags: awsconnector.TagPropertyArray{
&awsconnector.TagPropertyArgs{
Key: pulumi.String("vtmmpdwnenzwsmxgf"),
PropagateAtLaunch: pulumi.Bool(true),
Value: pulumi.String("xoncdkvjanxdfklvixodkyg"),
},
},
TargetGroupARNs: pulumi.StringArray{
pulumi.String("ttxjwgboopxrdiqxyqjdujw"),
},
TerminationPolicies: pulumi.StringArray{
pulumi.String("jvwpdujegrgjbdrxbvcjgs"),
},
VpcZoneIdentifier: pulumi.StringArray{
pulumi.String("fmqvstmohqtmjslrnsiuodevi"),
},
},
AwsRegion: pulumi.String("cfqguizvjpckdsvetalwo"),
AwsSourceSchema: pulumi.String("koleijkwf"),
AwsTags: pulumi.StringMap{
"key6990": pulumi.String("lmywyo"),
},
PublicCloudConnectorsResourceId: pulumi.String("q"),
PublicCloudResourceName: pulumi.String("blomfowfltqwzdghycehvvdnr"),
},
ResourceGroupName: pulumi.String("rgautoScalingAutoScalingGroup"),
Tags: pulumi.StringMap{
"key2337": pulumi.String("scybnvsqelp"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.AutoScalingAutoScalingGroup;
import com.pulumi.azurenative.awsconnector.AutoScalingAutoScalingGroupArgs;
import com.pulumi.azurenative.awsconnector.inputs.AutoScalingAutoScalingGroupPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsAutoScalingAutoScalingGroupPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.InstanceMaintenancePolicyArgs;
import com.pulumi.azurenative.awsconnector.inputs.LaunchTemplateSpecificationArgs;
import com.pulumi.azurenative.awsconnector.inputs.MixedInstancesPolicyArgs;
import com.pulumi.azurenative.awsconnector.inputs.InstancesDistributionArgs;
import com.pulumi.azurenative.awsconnector.inputs.LaunchTemplateArgs;
import com.pulumi.azurenative.awsconnector.inputs.AutoScalingGroupNotificationConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var autoScalingAutoScalingGroup = new AutoScalingAutoScalingGroup("autoScalingAutoScalingGroup", AutoScalingAutoScalingGroupArgs.builder()
.location("vfitxfllzgknmbaqgpsv")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(AutoScalingAutoScalingGroupPropertiesArgs.builder()
.arn("gsso")
.awsAccountId("eogdcteuaaazi")
.awsProperties(AwsAutoScalingAutoScalingGroupPropertiesArgs.builder()
.autoScalingGroupName("zvp")
.availabilityZones("bvcnltgekeqrzklsnfieubhugr")
.capacityRebalance(true)
.context("dnmovg")
.cooldown("r")
.defaultInstanceWarmup(24)
.desiredCapacity("xtu")
.desiredCapacityType("wncmimbdveox")
.healthCheckGracePeriod(9)
.healthCheckType("ustkoarefpvnhxrtqua")
.instanceId("noghdbfliygsadtjosovasxq")
.instanceMaintenancePolicy(InstanceMaintenancePolicyArgs.builder()
.maxHealthyPercentage(23)
.minHealthyPercentage(6)
.build())
.launchConfigurationName("rgadwyrtzaxbfkbsbjaygujtc")
.launchTemplate(LaunchTemplateSpecificationArgs.builder()
.version("kdlpart")
.build())
.lifecycleHookSpecificationList(LifecycleHookSpecificationArgs.builder()
.defaultResult("qbeojpqbpnhst")
.heartbeatTimeout(14)
.lifecycleHookName("xeqfmdmthyzrdxjbmdkyy")
.lifecycleTransition("xsufodhykhlutvc")
.notificationMetadata("bknbkafxdozjlnprrlkrqstgwchxl")
.notificationTargetARN("dkeqhlwuifyfamkufdryfiybxnle")
.roleARN("bhenujqtabiiryjgl")
.build())
.loadBalancerNames("qsgaefmtltksmmwswpdfmnlwvovi")
.maxInstanceLifetime(25)
.maxSize("vqxfpkdyusfijwc")
.metricsCollection(MetricsCollectionArgs.builder()
.granularity("ygxetadl")
.metrics("hwukwnkctznjelut")
.build())
.minSize("rfdwflldttnzph")
.mixedInstancesPolicy(MixedInstancesPolicyArgs.builder()
.instancesDistribution(InstancesDistributionArgs.builder()
.onDemandAllocationStrategy("s")
.onDemandBaseCapacity(11)
.onDemandPercentageAboveBaseCapacity(13)
.spotAllocationStrategy("mdqoylvmdfgnktujkkgcargpzgejts")
.spotInstancePools(21)
.spotMaxPrice("civdjpljorkrvqganofneu")
.build())
.launchTemplate(LaunchTemplateArgs.builder()
.launchTemplateSpecification(LaunchTemplateSpecificationArgs.builder()
.version("kdlpart")
.build())
.overrides(LaunchTemplateOverridesArgs.builder()
.instanceRequirements(InstanceRequirementsArgs.builder()
.acceleratorCount(AcceleratorCountRequestArgs.builder()
.max(22)
.min(12)
.build())
.acceleratorManufacturers("yrnnynorjjxvzppzrgpahymhm")
.acceleratorNames("iqmentbrnypcxv")
.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequestArgs.builder()
.max(7)
.min(29)
.build())
.acceleratorTypes("kmvwibkxxklqitqxqqlpvfifvo")
.allowedInstanceTypes("tzrxlaofwygbqglbwdxnqjy")
.bareMetal("kugjpzsjreywlvvzkebv")
.baselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequestArgs.builder()
.max(2)
.min(19)
.build())
.burstablePerformance("jpwudasuoonf")
.cpuManufacturers("scbxthzijnmur")
.excludedInstanceTypes("edadlo")
.instanceGenerations("f")
.localStorage("wglfmvquwice")
.localStorageTypes("talnjrldmventgtzlwpaxfcenp")
.maxSpotPriceAsPercentageOfOptimalOnDemandPrice(15)
.memoryGiBPerVCpu(MemoryGiBPerVCpuRequestArgs.builder()
.max(23)
.min(29)
.build())
.memoryMiB(MemoryMiBRequestArgs.builder()
.max(27)
.min(27)
.build())
.networkBandwidthGbps(NetworkBandwidthGbpsRequestArgs.builder()
.max(18)
.min(29)
.build())
.networkInterfaceCount(NetworkInterfaceCountRequestArgs.builder()
.max(14)
.min(26)
.build())
.onDemandMaxPricePercentageOverLowestPrice(8)
.requireHibernateSupport(true)
.spotMaxPricePercentageOverLowestPrice(9)
.totalLocalStorageGB(TotalLocalStorageGBRequestArgs.builder()
.max(19)
.min(7)
.build())
.vCpuCount(VCpuCountRequestArgs.builder()
.max(9)
.min(26)
.build())
.build())
.instanceType("phudgcnbis")
.launchTemplateSpecification(LaunchTemplateSpecificationArgs.builder()
.version("kdlpart")
.build())
.weightedCapacity("iqa")
.build())
.build())
.build())
.newInstancesProtectedFromScaleIn(true)
.notificationConfiguration(AutoScalingGroupNotificationConfigurationArgs.builder()
.notificationTypes("jzepnjbwtsw")
.topicARN("hndjrwrlqssgciezop")
.build())
.notificationConfigurations(AutoScalingGroupNotificationConfigurationArgs.builder()
.notificationTypes("jzepnjbwtsw")
.topicARN("hndjrwrlqssgciezop")
.build())
.placementGroup("pmanetwktlujhykhxtcekv")
.serviceLinkedRoleARN("ffqtfkdv")
.tags(TagPropertyArgs.builder()
.key("vtmmpdwnenzwsmxgf")
.propagateAtLaunch(true)
.value("xoncdkvjanxdfklvixodkyg")
.build())
.targetGroupARNs("ttxjwgboopxrdiqxyqjdujw")
.terminationPolicies("jvwpdujegrgjbdrxbvcjgs")
.vpcZoneIdentifier("fmqvstmohqtmjslrnsiuodevi")
.build())
.awsRegion("cfqguizvjpckdsvetalwo")
.awsSourceSchema("koleijkwf")
.awsTags(Map.of("key6990", "lmywyo"))
.publicCloudConnectorsResourceId("q")
.publicCloudResourceName("blomfowfltqwzdghycehvvdnr")
.build())
.resourceGroupName("rgautoScalingAutoScalingGroup")
.tags(Map.of("key2337", "scybnvsqelp"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
auto_scaling_auto_scaling_group = azure_native.awsconnector.AutoScalingAutoScalingGroup("autoScalingAutoScalingGroup",
location="vfitxfllzgknmbaqgpsv",
name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties={
"arn": "gsso",
"aws_account_id": "eogdcteuaaazi",
"aws_properties": {
"auto_scaling_group_name": "zvp",
"availability_zones": ["bvcnltgekeqrzklsnfieubhugr"],
"capacity_rebalance": True,
"context": "dnmovg",
"cooldown": "r",
"default_instance_warmup": 24,
"desired_capacity": "xtu",
"desired_capacity_type": "wncmimbdveox",
"health_check_grace_period": 9,
"health_check_type": "ustkoarefpvnhxrtqua",
"instance_id": "noghdbfliygsadtjosovasxq",
"instance_maintenance_policy": {
"max_healthy_percentage": 23,
"min_healthy_percentage": 6,
},
"launch_configuration_name": "rgadwyrtzaxbfkbsbjaygujtc",
"launch_template": {
"version": "kdlpart",
},
"lifecycle_hook_specification_list": [{
"default_result": "qbeojpqbpnhst",
"heartbeat_timeout": 14,
"lifecycle_hook_name": "xeqfmdmthyzrdxjbmdkyy",
"lifecycle_transition": "xsufodhykhlutvc",
"notification_metadata": "bknbkafxdozjlnprrlkrqstgwchxl",
"notification_target_arn": "dkeqhlwuifyfamkufdryfiybxnle",
"role_arn": "bhenujqtabiiryjgl",
}],
"load_balancer_names": ["qsgaefmtltksmmwswpdfmnlwvovi"],
"max_instance_lifetime": 25,
"max_size": "vqxfpkdyusfijwc",
"metrics_collection": [{
"granularity": "ygxetadl",
"metrics": ["hwukwnkctznjelut"],
}],
"min_size": "rfdwflldttnzph",
"mixed_instances_policy": {
"instances_distribution": {
"on_demand_allocation_strategy": "s",
"on_demand_base_capacity": 11,
"on_demand_percentage_above_base_capacity": 13,
"spot_allocation_strategy": "mdqoylvmdfgnktujkkgcargpzgejts",
"spot_instance_pools": 21,
"spot_max_price": "civdjpljorkrvqganofneu",
},
"launch_template": {
"launch_template_specification": {
"version": "kdlpart",
},
"overrides": [{
"instance_requirements": {
"accelerator_count": {
"max": 22,
"min": 12,
},
"accelerator_manufacturers": ["yrnnynorjjxvzppzrgpahymhm"],
"accelerator_names": ["iqmentbrnypcxv"],
"accelerator_total_memory_mi_b": {
"max": 7,
"min": 29,
},
"accelerator_types": ["kmvwibkxxklqitqxqqlpvfifvo"],
"allowed_instance_types": ["tzrxlaofwygbqglbwdxnqjy"],
"bare_metal": "kugjpzsjreywlvvzkebv",
"baseline_ebs_bandwidth_mbps": {
"max": 2,
"min": 19,
},
"burstable_performance": "jpwudasuoonf",
"cpu_manufacturers": ["scbxthzijnmur"],
"excluded_instance_types": ["edadlo"],
"instance_generations": ["f"],
"local_storage": "wglfmvquwice",
"local_storage_types": ["talnjrldmventgtzlwpaxfcenp"],
"max_spot_price_as_percentage_of_optimal_on_demand_price": 15,
"memory_gi_b_per_v_cpu": {
"max": 23,
"min": 29,
},
"memory_mi_b": {
"max": 27,
"min": 27,
},
"network_bandwidth_gbps": {
"max": 18,
"min": 29,
},
"network_interface_count": {
"max": 14,
"min": 26,
},
"on_demand_max_price_percentage_over_lowest_price": 8,
"require_hibernate_support": True,
"spot_max_price_percentage_over_lowest_price": 9,
"total_local_storage_gb": {
"max": 19,
"min": 7,
},
"v_cpu_count": {
"max": 9,
"min": 26,
},
},
"instance_type": "phudgcnbis",
"launch_template_specification": {
"version": "kdlpart",
},
"weighted_capacity": "iqa",
}],
},
},
"new_instances_protected_from_scale_in": True,
"notification_configuration": {
"notification_types": ["jzepnjbwtsw"],
"topic_arn": "hndjrwrlqssgciezop",
},
"notification_configurations": [{
"notification_types": ["jzepnjbwtsw"],
"topic_arn": "hndjrwrlqssgciezop",
}],
"placement_group": "pmanetwktlujhykhxtcekv",
"service_linked_role_arn": "ffqtfkdv",
"tags": [{
"key": "vtmmpdwnenzwsmxgf",
"propagate_at_launch": True,
"value": "xoncdkvjanxdfklvixodkyg",
}],
"target_group_arns": ["ttxjwgboopxrdiqxyqjdujw"],
"termination_policies": ["jvwpdujegrgjbdrxbvcjgs"],
"vpc_zone_identifier": ["fmqvstmohqtmjslrnsiuodevi"],
},
"aws_region": "cfqguizvjpckdsvetalwo",
"aws_source_schema": "koleijkwf",
"aws_tags": {
"key6990": "lmywyo",
},
"public_cloud_connectors_resource_id": "q",
"public_cloud_resource_name": "blomfowfltqwzdghycehvvdnr",
},
resource_group_name="rgautoScalingAutoScalingGroup",
tags={
"key2337": "scybnvsqelp",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const autoScalingAutoScalingGroup = new azure_native.awsconnector.AutoScalingAutoScalingGroup("autoScalingAutoScalingGroup", {
location: "vfitxfllzgknmbaqgpsv",
name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties: {
arn: "gsso",
awsAccountId: "eogdcteuaaazi",
awsProperties: {
autoScalingGroupName: "zvp",
availabilityZones: ["bvcnltgekeqrzklsnfieubhugr"],
capacityRebalance: true,
context: "dnmovg",
cooldown: "r",
defaultInstanceWarmup: 24,
desiredCapacity: "xtu",
desiredCapacityType: "wncmimbdveox",
healthCheckGracePeriod: 9,
healthCheckType: "ustkoarefpvnhxrtqua",
instanceId: "noghdbfliygsadtjosovasxq",
instanceMaintenancePolicy: {
maxHealthyPercentage: 23,
minHealthyPercentage: 6,
},
launchConfigurationName: "rgadwyrtzaxbfkbsbjaygujtc",
launchTemplate: {
version: "kdlpart",
},
lifecycleHookSpecificationList: [{
defaultResult: "qbeojpqbpnhst",
heartbeatTimeout: 14,
lifecycleHookName: "xeqfmdmthyzrdxjbmdkyy",
lifecycleTransition: "xsufodhykhlutvc",
notificationMetadata: "bknbkafxdozjlnprrlkrqstgwchxl",
notificationTargetARN: "dkeqhlwuifyfamkufdryfiybxnle",
roleARN: "bhenujqtabiiryjgl",
}],
loadBalancerNames: ["qsgaefmtltksmmwswpdfmnlwvovi"],
maxInstanceLifetime: 25,
maxSize: "vqxfpkdyusfijwc",
metricsCollection: [{
granularity: "ygxetadl",
metrics: ["hwukwnkctznjelut"],
}],
minSize: "rfdwflldttnzph",
mixedInstancesPolicy: {
instancesDistribution: {
onDemandAllocationStrategy: "s",
onDemandBaseCapacity: 11,
onDemandPercentageAboveBaseCapacity: 13,
spotAllocationStrategy: "mdqoylvmdfgnktujkkgcargpzgejts",
spotInstancePools: 21,
spotMaxPrice: "civdjpljorkrvqganofneu",
},
launchTemplate: {
launchTemplateSpecification: {
version: "kdlpart",
},
overrides: [{
instanceRequirements: {
acceleratorCount: {
max: 22,
min: 12,
},
acceleratorManufacturers: ["yrnnynorjjxvzppzrgpahymhm"],
acceleratorNames: ["iqmentbrnypcxv"],
acceleratorTotalMemoryMiB: {
max: 7,
min: 29,
},
acceleratorTypes: ["kmvwibkxxklqitqxqqlpvfifvo"],
allowedInstanceTypes: ["tzrxlaofwygbqglbwdxnqjy"],
bareMetal: "kugjpzsjreywlvvzkebv",
baselineEbsBandwidthMbps: {
max: 2,
min: 19,
},
burstablePerformance: "jpwudasuoonf",
cpuManufacturers: ["scbxthzijnmur"],
excludedInstanceTypes: ["edadlo"],
instanceGenerations: ["f"],
localStorage: "wglfmvquwice",
localStorageTypes: ["talnjrldmventgtzlwpaxfcenp"],
maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 15,
memoryGiBPerVCpu: {
max: 23,
min: 29,
},
memoryMiB: {
max: 27,
min: 27,
},
networkBandwidthGbps: {
max: 18,
min: 29,
},
networkInterfaceCount: {
max: 14,
min: 26,
},
onDemandMaxPricePercentageOverLowestPrice: 8,
requireHibernateSupport: true,
spotMaxPricePercentageOverLowestPrice: 9,
totalLocalStorageGB: {
max: 19,
min: 7,
},
vCpuCount: {
max: 9,
min: 26,
},
},
instanceType: "phudgcnbis",
launchTemplateSpecification: {
version: "kdlpart",
},
weightedCapacity: "iqa",
}],
},
},
newInstancesProtectedFromScaleIn: true,
notificationConfiguration: {
notificationTypes: ["jzepnjbwtsw"],
topicARN: "hndjrwrlqssgciezop",
},
notificationConfigurations: [{
notificationTypes: ["jzepnjbwtsw"],
topicARN: "hndjrwrlqssgciezop",
}],
placementGroup: "pmanetwktlujhykhxtcekv",
serviceLinkedRoleARN: "ffqtfkdv",
tags: [{
key: "vtmmpdwnenzwsmxgf",
propagateAtLaunch: true,
value: "xoncdkvjanxdfklvixodkyg",
}],
targetGroupARNs: ["ttxjwgboopxrdiqxyqjdujw"],
terminationPolicies: ["jvwpdujegrgjbdrxbvcjgs"],
vpcZoneIdentifier: ["fmqvstmohqtmjslrnsiuodevi"],
},
awsRegion: "cfqguizvjpckdsvetalwo",
awsSourceSchema: "koleijkwf",
awsTags: {
key6990: "lmywyo",
},
publicCloudConnectorsResourceId: "q",
publicCloudResourceName: "blomfowfltqwzdghycehvvdnr",
},
resourceGroupName: "rgautoScalingAutoScalingGroup",
tags: {
key2337: "scybnvsqelp",
},
});
resources:
autoScalingAutoScalingGroup:
type: azure-native:awsconnector:AutoScalingAutoScalingGroup
properties:
location: vfitxfllzgknmbaqgpsv
name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
properties:
arn: gsso
awsAccountId: eogdcteuaaazi
awsProperties:
autoScalingGroupName: zvp
availabilityZones:
- bvcnltgekeqrzklsnfieubhugr
capacityRebalance: true
context: dnmovg
cooldown: r
defaultInstanceWarmup: 24
desiredCapacity: xtu
desiredCapacityType: wncmimbdveox
healthCheckGracePeriod: 9
healthCheckType: ustkoarefpvnhxrtqua
instanceId: noghdbfliygsadtjosovasxq
instanceMaintenancePolicy:
maxHealthyPercentage: 23
minHealthyPercentage: 6
launchConfigurationName: rgadwyrtzaxbfkbsbjaygujtc
launchTemplate:
version: kdlpart
lifecycleHookSpecificationList:
- defaultResult: qbeojpqbpnhst
heartbeatTimeout: 14
lifecycleHookName: xeqfmdmthyzrdxjbmdkyy
lifecycleTransition: xsufodhykhlutvc
notificationMetadata: bknbkafxdozjlnprrlkrqstgwchxl
notificationTargetARN: dkeqhlwuifyfamkufdryfiybxnle
roleARN: bhenujqtabiiryjgl
loadBalancerNames:
- qsgaefmtltksmmwswpdfmnlwvovi
maxInstanceLifetime: 25
maxSize: vqxfpkdyusfijwc
metricsCollection:
- granularity: ygxetadl
metrics:
- hwukwnkctznjelut
minSize: rfdwflldttnzph
mixedInstancesPolicy:
instancesDistribution:
onDemandAllocationStrategy: s
onDemandBaseCapacity: 11
onDemandPercentageAboveBaseCapacity: 13
spotAllocationStrategy: mdqoylvmdfgnktujkkgcargpzgejts
spotInstancePools: 21
spotMaxPrice: civdjpljorkrvqganofneu
launchTemplate:
launchTemplateSpecification:
version: kdlpart
overrides:
- instanceRequirements:
acceleratorCount:
max: 22
min: 12
acceleratorManufacturers:
- yrnnynorjjxvzppzrgpahymhm
acceleratorNames:
- iqmentbrnypcxv
acceleratorTotalMemoryMiB:
max: 7
min: 29
acceleratorTypes:
- kmvwibkxxklqitqxqqlpvfifvo
allowedInstanceTypes:
- tzrxlaofwygbqglbwdxnqjy
bareMetal: kugjpzsjreywlvvzkebv
baselineEbsBandwidthMbps:
max: 2
min: 19
burstablePerformance: jpwudasuoonf
cpuManufacturers:
- scbxthzijnmur
excludedInstanceTypes:
- edadlo
instanceGenerations:
- f
localStorage: wglfmvquwice
localStorageTypes:
- talnjrldmventgtzlwpaxfcenp
maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 15
memoryGiBPerVCpu:
max: 23
min: 29
memoryMiB:
max: 27
min: 27
networkBandwidthGbps:
max: 18
min: 29
networkInterfaceCount:
max: 14
min: 26
onDemandMaxPricePercentageOverLowestPrice: 8
requireHibernateSupport: true
spotMaxPricePercentageOverLowestPrice: 9
totalLocalStorageGB:
max: 19
min: 7
vCpuCount:
max: 9
min: 26
instanceType: phudgcnbis
launchTemplateSpecification:
version: kdlpart
weightedCapacity: iqa
newInstancesProtectedFromScaleIn: true
notificationConfiguration:
notificationTypes:
- jzepnjbwtsw
topicARN: hndjrwrlqssgciezop
notificationConfigurations:
- notificationTypes:
- jzepnjbwtsw
topicARN: hndjrwrlqssgciezop
placementGroup: pmanetwktlujhykhxtcekv
serviceLinkedRoleARN: ffqtfkdv
tags:
- key: vtmmpdwnenzwsmxgf
propagateAtLaunch: true
value: xoncdkvjanxdfklvixodkyg
targetGroupARNs:
- ttxjwgboopxrdiqxyqjdujw
terminationPolicies:
- jvwpdujegrgjbdrxbvcjgs
vpcZoneIdentifier:
- fmqvstmohqtmjslrnsiuodevi
awsRegion: cfqguizvjpckdsvetalwo
awsSourceSchema: koleijkwf
awsTags:
key6990: lmywyo
publicCloudConnectorsResourceId: q
publicCloudResourceName: blomfowfltqwzdghycehvvdnr
resourceGroupName: rgautoScalingAutoScalingGroup
tags:
key2337: scybnvsqelp
Create AutoScalingAutoScalingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoScalingAutoScalingGroup(name: string, args: AutoScalingAutoScalingGroupArgs, opts?: CustomResourceOptions);
@overload
def AutoScalingAutoScalingGroup(resource_name: str,
args: AutoScalingAutoScalingGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AutoScalingAutoScalingGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[AutoScalingAutoScalingGroupPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAutoScalingAutoScalingGroup(ctx *Context, name string, args AutoScalingAutoScalingGroupArgs, opts ...ResourceOption) (*AutoScalingAutoScalingGroup, error)
public AutoScalingAutoScalingGroup(string name, AutoScalingAutoScalingGroupArgs args, CustomResourceOptions? opts = null)
public AutoScalingAutoScalingGroup(String name, AutoScalingAutoScalingGroupArgs args)
public AutoScalingAutoScalingGroup(String name, AutoScalingAutoScalingGroupArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:AutoScalingAutoScalingGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutoScalingAutoScalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutoScalingAutoScalingGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutoScalingAutoScalingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoScalingAutoScalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoScalingAutoScalingGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var autoScalingAutoScalingGroupResource = new AzureNative.AwsConnector.AutoScalingAutoScalingGroup("autoScalingAutoScalingGroupResource", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Properties = new AzureNative.AwsConnector.Inputs.AutoScalingAutoScalingGroupPropertiesArgs
{
Arn = "string",
AwsAccountId = "string",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsAutoScalingAutoScalingGroupPropertiesArgs
{
AutoScalingGroupName = "string",
AvailabilityZones = new[]
{
"string",
},
CapacityRebalance = false,
Context = "string",
Cooldown = "string",
DefaultInstanceWarmup = 0,
DesiredCapacity = "string",
DesiredCapacityType = "string",
HealthCheckGracePeriod = 0,
HealthCheckType = "string",
InstanceId = "string",
InstanceMaintenancePolicy = new AzureNative.AwsConnector.Inputs.InstanceMaintenancePolicyArgs
{
MaxHealthyPercentage = 0,
MinHealthyPercentage = 0,
},
LaunchConfigurationName = "string",
LaunchTemplate = new AzureNative.AwsConnector.Inputs.LaunchTemplateSpecificationArgs
{
Id = "string",
LaunchTemplateId = "string",
LaunchTemplateName = "string",
Name = "string",
Version = "string",
},
LifecycleHookSpecificationList = new[]
{
new AzureNative.AwsConnector.Inputs.LifecycleHookSpecificationArgs
{
DefaultResult = "string",
HeartbeatTimeout = 0,
LifecycleHookName = "string",
LifecycleTransition = "string",
NotificationMetadata = "string",
NotificationTargetARN = "string",
RoleARN = "string",
},
},
LoadBalancerNames = new[]
{
"string",
},
MaxInstanceLifetime = 0,
MaxSize = "string",
MetricsCollection = new[]
{
new AzureNative.AwsConnector.Inputs.MetricsCollectionArgs
{
Granularity = "string",
Metrics = new[]
{
"string",
},
},
},
MinSize = "string",
MixedInstancesPolicy = new AzureNative.AwsConnector.Inputs.MixedInstancesPolicyArgs
{
InstancesDistribution = new AzureNative.AwsConnector.Inputs.InstancesDistributionArgs
{
OnDemandAllocationStrategy = "string",
OnDemandBaseCapacity = 0,
OnDemandPercentageAboveBaseCapacity = 0,
SpotAllocationStrategy = "string",
SpotInstancePools = 0,
SpotMaxPrice = "string",
},
LaunchTemplate = new AzureNative.AwsConnector.Inputs.LaunchTemplateArgs
{
LaunchTemplateSpecification = new AzureNative.AwsConnector.Inputs.LaunchTemplateSpecificationArgs
{
Id = "string",
LaunchTemplateId = "string",
LaunchTemplateName = "string",
Name = "string",
Version = "string",
},
Overrides = new[]
{
new AzureNative.AwsConnector.Inputs.LaunchTemplateOverridesArgs
{
InstanceRequirements = new AzureNative.AwsConnector.Inputs.InstanceRequirementsArgs
{
AcceleratorCount = new AzureNative.AwsConnector.Inputs.AcceleratorCountRequestArgs
{
Max = 0,
Min = 0,
},
AcceleratorManufacturers = new[]
{
"string",
},
AcceleratorNames = new[]
{
"string",
},
AcceleratorTotalMemoryMiB = new AzureNative.AwsConnector.Inputs.AcceleratorTotalMemoryMiBRequestArgs
{
Max = 0,
Min = 0,
},
AcceleratorTypes = new[]
{
"string",
},
AllowedInstanceTypes = new[]
{
"string",
},
BareMetal = "string",
BaselineEbsBandwidthMbps = new AzureNative.AwsConnector.Inputs.BaselineEbsBandwidthMbpsRequestArgs
{
Max = 0,
Min = 0,
},
BurstablePerformance = "string",
CpuManufacturers = new[]
{
"string",
},
ExcludedInstanceTypes = new[]
{
"string",
},
InstanceGenerations = new[]
{
"string",
},
LocalStorage = "string",
LocalStorageTypes = new[]
{
"string",
},
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice = 0,
MemoryGiBPerVCpu = new AzureNative.AwsConnector.Inputs.MemoryGiBPerVCpuRequestArgs
{
Max = 0,
Min = 0,
},
MemoryMiB = new AzureNative.AwsConnector.Inputs.MemoryMiBRequestArgs
{
Max = 0,
Min = 0,
},
NetworkBandwidthGbps = new AzureNative.AwsConnector.Inputs.NetworkBandwidthGbpsRequestArgs
{
Max = 0,
Min = 0,
},
NetworkInterfaceCount = new AzureNative.AwsConnector.Inputs.NetworkInterfaceCountRequestArgs
{
Max = 0,
Min = 0,
},
OnDemandMaxPricePercentageOverLowestPrice = 0,
RequireHibernateSupport = false,
SpotMaxPricePercentageOverLowestPrice = 0,
TotalLocalStorageGB = new AzureNative.AwsConnector.Inputs.TotalLocalStorageGBRequestArgs
{
Max = 0,
Min = 0,
},
VCpuCount = new AzureNative.AwsConnector.Inputs.VCpuCountRequestArgs
{
Max = 0,
Min = 0,
},
},
InstanceType = "string",
LaunchTemplateSpecification = new AzureNative.AwsConnector.Inputs.LaunchTemplateSpecificationArgs
{
Id = "string",
LaunchTemplateId = "string",
LaunchTemplateName = "string",
Name = "string",
Version = "string",
},
WeightedCapacity = "string",
},
},
},
},
NewInstancesProtectedFromScaleIn = false,
NotificationConfiguration = new AzureNative.AwsConnector.Inputs.AutoScalingGroupNotificationConfigurationArgs
{
NotificationTypes = new[]
{
"string",
},
TopicARN = "string",
},
NotificationConfigurations = new[]
{
new AzureNative.AwsConnector.Inputs.AutoScalingGroupNotificationConfigurationArgs
{
NotificationTypes = new[]
{
"string",
},
TopicARN = "string",
},
},
PlacementGroup = "string",
ServiceLinkedRoleARN = "string",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagPropertyArgs
{
Key = "string",
PropagateAtLaunch = false,
Value = "string",
},
},
TargetGroupARNs = new[]
{
"string",
},
TerminationPolicies = new[]
{
"string",
},
VpcZoneIdentifier = new[]
{
"string",
},
},
AwsRegion = "string",
AwsSourceSchema = "string",
AwsTags =
{
{ "string", "string" },
},
PublicCloudConnectorsResourceId = "string",
PublicCloudResourceName = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := awsconnector.NewAutoScalingAutoScalingGroup(ctx, "autoScalingAutoScalingGroupResource", &awsconnector.AutoScalingAutoScalingGroupArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Properties: &awsconnector.AutoScalingAutoScalingGroupPropertiesArgs{
Arn: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
AwsProperties: &awsconnector.AwsAutoScalingAutoScalingGroupPropertiesArgs{
AutoScalingGroupName: pulumi.String("string"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
CapacityRebalance: pulumi.Bool(false),
Context: pulumi.String("string"),
Cooldown: pulumi.String("string"),
DefaultInstanceWarmup: pulumi.Int(0),
DesiredCapacity: pulumi.String("string"),
DesiredCapacityType: pulumi.String("string"),
HealthCheckGracePeriod: pulumi.Int(0),
HealthCheckType: pulumi.String("string"),
InstanceId: pulumi.String("string"),
InstanceMaintenancePolicy: &awsconnector.InstanceMaintenancePolicyArgs{
MaxHealthyPercentage: pulumi.Int(0),
MinHealthyPercentage: pulumi.Int(0),
},
LaunchConfigurationName: pulumi.String("string"),
LaunchTemplate: &awsconnector.LaunchTemplateSpecificationArgs{
Id: pulumi.String("string"),
LaunchTemplateId: pulumi.String("string"),
LaunchTemplateName: pulumi.String("string"),
Name: pulumi.String("string"),
Version: pulumi.String("string"),
},
LifecycleHookSpecificationList: awsconnector.LifecycleHookSpecificationArray{
&awsconnector.LifecycleHookSpecificationArgs{
DefaultResult: pulumi.String("string"),
HeartbeatTimeout: pulumi.Int(0),
LifecycleHookName: pulumi.String("string"),
LifecycleTransition: pulumi.String("string"),
NotificationMetadata: pulumi.String("string"),
NotificationTargetARN: pulumi.String("string"),
RoleARN: pulumi.String("string"),
},
},
LoadBalancerNames: pulumi.StringArray{
pulumi.String("string"),
},
MaxInstanceLifetime: pulumi.Int(0),
MaxSize: pulumi.String("string"),
MetricsCollection: awsconnector.MetricsCollectionArray{
&awsconnector.MetricsCollectionArgs{
Granularity: pulumi.String("string"),
Metrics: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MinSize: pulumi.String("string"),
MixedInstancesPolicy: &awsconnector.MixedInstancesPolicyArgs{
InstancesDistribution: &awsconnector.InstancesDistributionArgs{
OnDemandAllocationStrategy: pulumi.String("string"),
OnDemandBaseCapacity: pulumi.Int(0),
OnDemandPercentageAboveBaseCapacity: pulumi.Int(0),
SpotAllocationStrategy: pulumi.String("string"),
SpotInstancePools: pulumi.Int(0),
SpotMaxPrice: pulumi.String("string"),
},
LaunchTemplate: &awsconnector.LaunchTemplateArgs{
LaunchTemplateSpecification: &awsconnector.LaunchTemplateSpecificationArgs{
Id: pulumi.String("string"),
LaunchTemplateId: pulumi.String("string"),
LaunchTemplateName: pulumi.String("string"),
Name: pulumi.String("string"),
Version: pulumi.String("string"),
},
Overrides: awsconnector.LaunchTemplateOverridesArray{
&awsconnector.LaunchTemplateOverridesArgs{
InstanceRequirements: &awsconnector.InstanceRequirementsArgs{
AcceleratorCount: &awsconnector.AcceleratorCountRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
AcceleratorManufacturers: pulumi.StringArray{
pulumi.String("string"),
},
AcceleratorNames: pulumi.StringArray{
pulumi.String("string"),
},
AcceleratorTotalMemoryMiB: &awsconnector.AcceleratorTotalMemoryMiBRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
AcceleratorTypes: pulumi.StringArray{
pulumi.String("string"),
},
AllowedInstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
BareMetal: pulumi.String("string"),
BaselineEbsBandwidthMbps: &awsconnector.BaselineEbsBandwidthMbpsRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
BurstablePerformance: pulumi.String("string"),
CpuManufacturers: pulumi.StringArray{
pulumi.String("string"),
},
ExcludedInstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
InstanceGenerations: pulumi.StringArray{
pulumi.String("string"),
},
LocalStorage: pulumi.String("string"),
LocalStorageTypes: pulumi.StringArray{
pulumi.String("string"),
},
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: pulumi.Int(0),
MemoryGiBPerVCpu: &awsconnector.MemoryGiBPerVCpuRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
MemoryMiB: &awsconnector.MemoryMiBRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
NetworkBandwidthGbps: &awsconnector.NetworkBandwidthGbpsRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
NetworkInterfaceCount: &awsconnector.NetworkInterfaceCountRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
OnDemandMaxPricePercentageOverLowestPrice: pulumi.Int(0),
RequireHibernateSupport: pulumi.Bool(false),
SpotMaxPricePercentageOverLowestPrice: pulumi.Int(0),
TotalLocalStorageGB: &awsconnector.TotalLocalStorageGBRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
VCpuCount: &awsconnector.VCpuCountRequestArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
},
InstanceType: pulumi.String("string"),
LaunchTemplateSpecification: &awsconnector.LaunchTemplateSpecificationArgs{
Id: pulumi.String("string"),
LaunchTemplateId: pulumi.String("string"),
LaunchTemplateName: pulumi.String("string"),
Name: pulumi.String("string"),
Version: pulumi.String("string"),
},
WeightedCapacity: pulumi.String("string"),
},
},
},
},
NewInstancesProtectedFromScaleIn: pulumi.Bool(false),
NotificationConfiguration: &awsconnector.AutoScalingGroupNotificationConfigurationArgs{
NotificationTypes: pulumi.StringArray{
pulumi.String("string"),
},
TopicARN: pulumi.String("string"),
},
NotificationConfigurations: awsconnector.AutoScalingGroupNotificationConfigurationArray{
&awsconnector.AutoScalingGroupNotificationConfigurationArgs{
NotificationTypes: pulumi.StringArray{
pulumi.String("string"),
},
TopicARN: pulumi.String("string"),
},
},
PlacementGroup: pulumi.String("string"),
ServiceLinkedRoleARN: pulumi.String("string"),
Tags: awsconnector.TagPropertyArray{
&awsconnector.TagPropertyArgs{
Key: pulumi.String("string"),
PropagateAtLaunch: pulumi.Bool(false),
Value: pulumi.String("string"),
},
},
TargetGroupARNs: pulumi.StringArray{
pulumi.String("string"),
},
TerminationPolicies: pulumi.StringArray{
pulumi.String("string"),
},
VpcZoneIdentifier: pulumi.StringArray{
pulumi.String("string"),
},
},
AwsRegion: pulumi.String("string"),
AwsSourceSchema: pulumi.String("string"),
AwsTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PublicCloudConnectorsResourceId: pulumi.String("string"),
PublicCloudResourceName: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var autoScalingAutoScalingGroupResource = new AutoScalingAutoScalingGroup("autoScalingAutoScalingGroupResource", AutoScalingAutoScalingGroupArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(AutoScalingAutoScalingGroupPropertiesArgs.builder()
.arn("string")
.awsAccountId("string")
.awsProperties(AwsAutoScalingAutoScalingGroupPropertiesArgs.builder()
.autoScalingGroupName("string")
.availabilityZones("string")
.capacityRebalance(false)
.context("string")
.cooldown("string")
.defaultInstanceWarmup(0)
.desiredCapacity("string")
.desiredCapacityType("string")
.healthCheckGracePeriod(0)
.healthCheckType("string")
.instanceId("string")
.instanceMaintenancePolicy(InstanceMaintenancePolicyArgs.builder()
.maxHealthyPercentage(0)
.minHealthyPercentage(0)
.build())
.launchConfigurationName("string")
.launchTemplate(LaunchTemplateSpecificationArgs.builder()
.id("string")
.launchTemplateId("string")
.launchTemplateName("string")
.name("string")
.version("string")
.build())
.lifecycleHookSpecificationList(LifecycleHookSpecificationArgs.builder()
.defaultResult("string")
.heartbeatTimeout(0)
.lifecycleHookName("string")
.lifecycleTransition("string")
.notificationMetadata("string")
.notificationTargetARN("string")
.roleARN("string")
.build())
.loadBalancerNames("string")
.maxInstanceLifetime(0)
.maxSize("string")
.metricsCollection(MetricsCollectionArgs.builder()
.granularity("string")
.metrics("string")
.build())
.minSize("string")
.mixedInstancesPolicy(MixedInstancesPolicyArgs.builder()
.instancesDistribution(InstancesDistributionArgs.builder()
.onDemandAllocationStrategy("string")
.onDemandBaseCapacity(0)
.onDemandPercentageAboveBaseCapacity(0)
.spotAllocationStrategy("string")
.spotInstancePools(0)
.spotMaxPrice("string")
.build())
.launchTemplate(LaunchTemplateArgs.builder()
.launchTemplateSpecification(LaunchTemplateSpecificationArgs.builder()
.id("string")
.launchTemplateId("string")
.launchTemplateName("string")
.name("string")
.version("string")
.build())
.overrides(LaunchTemplateOverridesArgs.builder()
.instanceRequirements(InstanceRequirementsArgs.builder()
.acceleratorCount(AcceleratorCountRequestArgs.builder()
.max(0)
.min(0)
.build())
.acceleratorManufacturers("string")
.acceleratorNames("string")
.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequestArgs.builder()
.max(0)
.min(0)
.build())
.acceleratorTypes("string")
.allowedInstanceTypes("string")
.bareMetal("string")
.baselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequestArgs.builder()
.max(0)
.min(0)
.build())
.burstablePerformance("string")
.cpuManufacturers("string")
.excludedInstanceTypes("string")
.instanceGenerations("string")
.localStorage("string")
.localStorageTypes("string")
.maxSpotPriceAsPercentageOfOptimalOnDemandPrice(0)
.memoryGiBPerVCpu(MemoryGiBPerVCpuRequestArgs.builder()
.max(0)
.min(0)
.build())
.memoryMiB(MemoryMiBRequestArgs.builder()
.max(0)
.min(0)
.build())
.networkBandwidthGbps(NetworkBandwidthGbpsRequestArgs.builder()
.max(0)
.min(0)
.build())
.networkInterfaceCount(NetworkInterfaceCountRequestArgs.builder()
.max(0)
.min(0)
.build())
.onDemandMaxPricePercentageOverLowestPrice(0)
.requireHibernateSupport(false)
.spotMaxPricePercentageOverLowestPrice(0)
.totalLocalStorageGB(TotalLocalStorageGBRequestArgs.builder()
.max(0)
.min(0)
.build())
.vCpuCount(VCpuCountRequestArgs.builder()
.max(0)
.min(0)
.build())
.build())
.instanceType("string")
.launchTemplateSpecification(LaunchTemplateSpecificationArgs.builder()
.id("string")
.launchTemplateId("string")
.launchTemplateName("string")
.name("string")
.version("string")
.build())
.weightedCapacity("string")
.build())
.build())
.build())
.newInstancesProtectedFromScaleIn(false)
.notificationConfiguration(AutoScalingGroupNotificationConfigurationArgs.builder()
.notificationTypes("string")
.topicARN("string")
.build())
.notificationConfigurations(AutoScalingGroupNotificationConfigurationArgs.builder()
.notificationTypes("string")
.topicARN("string")
.build())
.placementGroup("string")
.serviceLinkedRoleARN("string")
.tags(TagPropertyArgs.builder()
.key("string")
.propagateAtLaunch(false)
.value("string")
.build())
.targetGroupARNs("string")
.terminationPolicies("string")
.vpcZoneIdentifier("string")
.build())
.awsRegion("string")
.awsSourceSchema("string")
.awsTags(Map.of("string", "string"))
.publicCloudConnectorsResourceId("string")
.publicCloudResourceName("string")
.build())
.tags(Map.of("string", "string"))
.build());
auto_scaling_auto_scaling_group_resource = azure_native.awsconnector.AutoScalingAutoScalingGroup("autoScalingAutoScalingGroupResource",
resource_group_name="string",
location="string",
name="string",
properties={
"arn": "string",
"aws_account_id": "string",
"aws_properties": {
"auto_scaling_group_name": "string",
"availability_zones": ["string"],
"capacity_rebalance": False,
"context": "string",
"cooldown": "string",
"default_instance_warmup": 0,
"desired_capacity": "string",
"desired_capacity_type": "string",
"health_check_grace_period": 0,
"health_check_type": "string",
"instance_id": "string",
"instance_maintenance_policy": {
"max_healthy_percentage": 0,
"min_healthy_percentage": 0,
},
"launch_configuration_name": "string",
"launch_template": {
"id": "string",
"launch_template_id": "string",
"launch_template_name": "string",
"name": "string",
"version": "string",
},
"lifecycle_hook_specification_list": [{
"default_result": "string",
"heartbeat_timeout": 0,
"lifecycle_hook_name": "string",
"lifecycle_transition": "string",
"notification_metadata": "string",
"notification_target_arn": "string",
"role_arn": "string",
}],
"load_balancer_names": ["string"],
"max_instance_lifetime": 0,
"max_size": "string",
"metrics_collection": [{
"granularity": "string",
"metrics": ["string"],
}],
"min_size": "string",
"mixed_instances_policy": {
"instances_distribution": {
"on_demand_allocation_strategy": "string",
"on_demand_base_capacity": 0,
"on_demand_percentage_above_base_capacity": 0,
"spot_allocation_strategy": "string",
"spot_instance_pools": 0,
"spot_max_price": "string",
},
"launch_template": {
"launch_template_specification": {
"id": "string",
"launch_template_id": "string",
"launch_template_name": "string",
"name": "string",
"version": "string",
},
"overrides": [{
"instance_requirements": {
"accelerator_count": {
"max": 0,
"min": 0,
},
"accelerator_manufacturers": ["string"],
"accelerator_names": ["string"],
"accelerator_total_memory_mi_b": {
"max": 0,
"min": 0,
},
"accelerator_types": ["string"],
"allowed_instance_types": ["string"],
"bare_metal": "string",
"baseline_ebs_bandwidth_mbps": {
"max": 0,
"min": 0,
},
"burstable_performance": "string",
"cpu_manufacturers": ["string"],
"excluded_instance_types": ["string"],
"instance_generations": ["string"],
"local_storage": "string",
"local_storage_types": ["string"],
"max_spot_price_as_percentage_of_optimal_on_demand_price": 0,
"memory_gi_b_per_v_cpu": {
"max": 0,
"min": 0,
},
"memory_mi_b": {
"max": 0,
"min": 0,
},
"network_bandwidth_gbps": {
"max": 0,
"min": 0,
},
"network_interface_count": {
"max": 0,
"min": 0,
},
"on_demand_max_price_percentage_over_lowest_price": 0,
"require_hibernate_support": False,
"spot_max_price_percentage_over_lowest_price": 0,
"total_local_storage_gb": {
"max": 0,
"min": 0,
},
"v_cpu_count": {
"max": 0,
"min": 0,
},
},
"instance_type": "string",
"launch_template_specification": {
"id": "string",
"launch_template_id": "string",
"launch_template_name": "string",
"name": "string",
"version": "string",
},
"weighted_capacity": "string",
}],
},
},
"new_instances_protected_from_scale_in": False,
"notification_configuration": {
"notification_types": ["string"],
"topic_arn": "string",
},
"notification_configurations": [{
"notification_types": ["string"],
"topic_arn": "string",
}],
"placement_group": "string",
"service_linked_role_arn": "string",
"tags": [{
"key": "string",
"propagate_at_launch": False,
"value": "string",
}],
"target_group_arns": ["string"],
"termination_policies": ["string"],
"vpc_zone_identifier": ["string"],
},
"aws_region": "string",
"aws_source_schema": "string",
"aws_tags": {
"string": "string",
},
"public_cloud_connectors_resource_id": "string",
"public_cloud_resource_name": "string",
},
tags={
"string": "string",
})
const autoScalingAutoScalingGroupResource = new azure_native.awsconnector.AutoScalingAutoScalingGroup("autoScalingAutoScalingGroupResource", {
resourceGroupName: "string",
location: "string",
name: "string",
properties: {
arn: "string",
awsAccountId: "string",
awsProperties: {
autoScalingGroupName: "string",
availabilityZones: ["string"],
capacityRebalance: false,
context: "string",
cooldown: "string",
defaultInstanceWarmup: 0,
desiredCapacity: "string",
desiredCapacityType: "string",
healthCheckGracePeriod: 0,
healthCheckType: "string",
instanceId: "string",
instanceMaintenancePolicy: {
maxHealthyPercentage: 0,
minHealthyPercentage: 0,
},
launchConfigurationName: "string",
launchTemplate: {
id: "string",
launchTemplateId: "string",
launchTemplateName: "string",
name: "string",
version: "string",
},
lifecycleHookSpecificationList: [{
defaultResult: "string",
heartbeatTimeout: 0,
lifecycleHookName: "string",
lifecycleTransition: "string",
notificationMetadata: "string",
notificationTargetARN: "string",
roleARN: "string",
}],
loadBalancerNames: ["string"],
maxInstanceLifetime: 0,
maxSize: "string",
metricsCollection: [{
granularity: "string",
metrics: ["string"],
}],
minSize: "string",
mixedInstancesPolicy: {
instancesDistribution: {
onDemandAllocationStrategy: "string",
onDemandBaseCapacity: 0,
onDemandPercentageAboveBaseCapacity: 0,
spotAllocationStrategy: "string",
spotInstancePools: 0,
spotMaxPrice: "string",
},
launchTemplate: {
launchTemplateSpecification: {
id: "string",
launchTemplateId: "string",
launchTemplateName: "string",
name: "string",
version: "string",
},
overrides: [{
instanceRequirements: {
acceleratorCount: {
max: 0,
min: 0,
},
acceleratorManufacturers: ["string"],
acceleratorNames: ["string"],
acceleratorTotalMemoryMiB: {
max: 0,
min: 0,
},
acceleratorTypes: ["string"],
allowedInstanceTypes: ["string"],
bareMetal: "string",
baselineEbsBandwidthMbps: {
max: 0,
min: 0,
},
burstablePerformance: "string",
cpuManufacturers: ["string"],
excludedInstanceTypes: ["string"],
instanceGenerations: ["string"],
localStorage: "string",
localStorageTypes: ["string"],
maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 0,
memoryGiBPerVCpu: {
max: 0,
min: 0,
},
memoryMiB: {
max: 0,
min: 0,
},
networkBandwidthGbps: {
max: 0,
min: 0,
},
networkInterfaceCount: {
max: 0,
min: 0,
},
onDemandMaxPricePercentageOverLowestPrice: 0,
requireHibernateSupport: false,
spotMaxPricePercentageOverLowestPrice: 0,
totalLocalStorageGB: {
max: 0,
min: 0,
},
vCpuCount: {
max: 0,
min: 0,
},
},
instanceType: "string",
launchTemplateSpecification: {
id: "string",
launchTemplateId: "string",
launchTemplateName: "string",
name: "string",
version: "string",
},
weightedCapacity: "string",
}],
},
},
newInstancesProtectedFromScaleIn: false,
notificationConfiguration: {
notificationTypes: ["string"],
topicARN: "string",
},
notificationConfigurations: [{
notificationTypes: ["string"],
topicARN: "string",
}],
placementGroup: "string",
serviceLinkedRoleARN: "string",
tags: [{
key: "string",
propagateAtLaunch: false,
value: "string",
}],
targetGroupARNs: ["string"],
terminationPolicies: ["string"],
vpcZoneIdentifier: ["string"],
},
awsRegion: "string",
awsSourceSchema: "string",
awsTags: {
string: "string",
},
publicCloudConnectorsResourceId: "string",
publicCloudResourceName: "string",
},
tags: {
string: "string",
},
});
type: azure-native:awsconnector:AutoScalingAutoScalingGroup
properties:
location: string
name: string
properties:
arn: string
awsAccountId: string
awsProperties:
autoScalingGroupName: string
availabilityZones:
- string
capacityRebalance: false
context: string
cooldown: string
defaultInstanceWarmup: 0
desiredCapacity: string
desiredCapacityType: string
healthCheckGracePeriod: 0
healthCheckType: string
instanceId: string
instanceMaintenancePolicy:
maxHealthyPercentage: 0
minHealthyPercentage: 0
launchConfigurationName: string
launchTemplate:
id: string
launchTemplateId: string
launchTemplateName: string
name: string
version: string
lifecycleHookSpecificationList:
- defaultResult: string
heartbeatTimeout: 0
lifecycleHookName: string
lifecycleTransition: string
notificationMetadata: string
notificationTargetARN: string
roleARN: string
loadBalancerNames:
- string
maxInstanceLifetime: 0
maxSize: string
metricsCollection:
- granularity: string
metrics:
- string
minSize: string
mixedInstancesPolicy:
instancesDistribution:
onDemandAllocationStrategy: string
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
spotAllocationStrategy: string
spotInstancePools: 0
spotMaxPrice: string
launchTemplate:
launchTemplateSpecification:
id: string
launchTemplateId: string
launchTemplateName: string
name: string
version: string
overrides:
- instanceRequirements:
acceleratorCount:
max: 0
min: 0
acceleratorManufacturers:
- string
acceleratorNames:
- string
acceleratorTotalMemoryMiB:
max: 0
min: 0
acceleratorTypes:
- string
allowedInstanceTypes:
- string
bareMetal: string
baselineEbsBandwidthMbps:
max: 0
min: 0
burstablePerformance: string
cpuManufacturers:
- string
excludedInstanceTypes:
- string
instanceGenerations:
- string
localStorage: string
localStorageTypes:
- string
maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 0
memoryGiBPerVCpu:
max: 0
min: 0
memoryMiB:
max: 0
min: 0
networkBandwidthGbps:
max: 0
min: 0
networkInterfaceCount:
max: 0
min: 0
onDemandMaxPricePercentageOverLowestPrice: 0
requireHibernateSupport: false
spotMaxPricePercentageOverLowestPrice: 0
totalLocalStorageGB:
max: 0
min: 0
vCpuCount:
max: 0
min: 0
instanceType: string
launchTemplateSpecification:
id: string
launchTemplateId: string
launchTemplateName: string
name: string
version: string
weightedCapacity: string
newInstancesProtectedFromScaleIn: false
notificationConfiguration:
notificationTypes:
- string
topicARN: string
notificationConfigurations:
- notificationTypes:
- string
topicARN: string
placementGroup: string
serviceLinkedRoleARN: string
tags:
- key: string
propagateAtLaunch: false
value: string
targetGroupARNs:
- string
terminationPolicies:
- string
vpcZoneIdentifier:
- string
awsRegion: string
awsSourceSchema: string
awsTags:
string: string
publicCloudConnectorsResourceId: string
publicCloudResourceName: string
resourceGroupName: string
tags:
string: string
AutoScalingAutoScalingGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutoScalingAutoScalingGroup resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of AutoScalingAutoScalingGroup
- Properties
Pulumi.
Azure Native. Aws Connector. Inputs. Auto Scaling Auto Scaling Group Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of AutoScalingAutoScalingGroup
- Properties
Auto
Scaling Auto Scaling Group Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of AutoScalingAutoScalingGroup
- properties
Auto
Scaling Auto Scaling Group Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- name string
- Name of AutoScalingAutoScalingGroup
- properties
Auto
Scaling Auto Scaling Group Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- name str
- Name of AutoScalingAutoScalingGroup
- properties
Auto
Scaling Auto Scaling Group Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of AutoScalingAutoScalingGroup
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoScalingAutoScalingGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AcceleratorCountRequest, AcceleratorCountRequestArgs
AcceleratorCountRequestResponse, AcceleratorCountRequestResponseArgs
AcceleratorTotalMemoryMiBRequest, AcceleratorTotalMemoryMiBRequestArgs
AcceleratorTotalMemoryMiBRequestResponse, AcceleratorTotalMemoryMiBRequestResponseArgs
AutoScalingAutoScalingGroupProperties, AutoScalingAutoScalingGroupPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Auto Scaling Auto Scaling Group Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsAuto Scaling Auto Scaling Group Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsAuto Scaling Auto Scaling Group Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsAuto Scaling Auto Scaling Group Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsAuto Scaling Auto Scaling Group Properties - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
AutoScalingAutoScalingGroupPropertiesResponse, AutoScalingAutoScalingGroupPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Auto Scaling Auto Scaling Group Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsAuto Scaling Auto Scaling Group Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsAuto Scaling Auto Scaling Group Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsAuto Scaling Auto Scaling Group Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsAuto Scaling Auto Scaling Group Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
AutoScalingGroupNotificationConfiguration, AutoScalingGroupNotificationConfigurationArgs
- Notification
Types List<string> - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- Topic
ARN string - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- Notification
Types []string - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- Topic
ARN string - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification
Types List<String> - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic
ARN String - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification
Types string[] - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic
ARN string - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification_
types Sequence[str] - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic_
arn str - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification
Types List<String> - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic
ARN String - The Amazon Resource Name (ARN) of the Amazon SNS topic.
AutoScalingGroupNotificationConfigurationResponse, AutoScalingGroupNotificationConfigurationResponseArgs
- Notification
Types List<string> - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- Topic
ARN string - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- Notification
Types []string - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- Topic
ARN string - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification
Types List<String> - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic
ARN String - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification
Types string[] - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic
ARN string - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification_
types Sequence[str] - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic_
arn str - The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notification
Types List<String> - A list of event types that send a notification. Event types can include any of the following types. Allowed values: +
autoscaling:EC2_INSTANCE_LAUNCH
+autoscaling:EC2_INSTANCE_LAUNCH_ERROR
+autoscaling:EC2_INSTANCE_TERMINATE
+autoscaling:EC2_INSTANCE_TERMINATE_ERROR
+autoscaling:TEST_NOTIFICATION
- topic
ARN String - The Amazon Resource Name (ARN) of the Amazon SNS topic.
AwsAutoScalingAutoScalingGroupProperties, AwsAutoScalingAutoScalingGroupPropertiesArgs
- Auto
Scaling stringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- Availability
Zones List<string> - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - Capacity
Rebalance bool - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- Context string
- Reserved.
- Cooldown string
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - Default
Instance intWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - Desired
Capacity string - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- Desired
Capacity stringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- Health
Check intGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - Health
Check stringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - Instance
Id string - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - Instance
Maintenance Pulumi.Policy Azure Native. Aws Connector. Inputs. Instance Maintenance Policy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - Launch
Configuration stringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - Launch
Template Pulumi.Azure Native. Aws Connector. Inputs. Launch Template Specification - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Lifecycle
Hook List<Pulumi.Specification List Azure Native. Aws Connector. Inputs. Lifecycle Hook Specification> - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- Load
Balancer List<string>Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - Max
Instance intLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- Max
Size string - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - Metrics
Collection List<Pulumi.Azure Native. Aws Connector. Inputs. Metrics Collection> - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- Min
Size string - The minimum size of the group.
- Mixed
Instances Pulumi.Policy Azure Native. Aws Connector. Inputs. Mixed Instances Policy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - New
Instances boolProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- Notification
Configuration Pulumi.Azure Native. Aws Connector. Inputs. Auto Scaling Group Notification Configuration - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - Notification
Configurations List<Pulumi.Azure Native. Aws Connector. Inputs. Auto Scaling Group Notification Configuration> - Configures an Auto Scaling group to send notifications when specified events take place.
- Placement
Group string - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- Service
Linked stringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag Property> - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- Target
Group List<string>ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- Termination
Policies List<string> - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- Vpc
Zone List<string>Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- Auto
Scaling stringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- Availability
Zones []string - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - Capacity
Rebalance bool - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- Context string
- Reserved.
- Cooldown string
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - Default
Instance intWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - Desired
Capacity string - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- Desired
Capacity stringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- Health
Check intGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - Health
Check stringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - Instance
Id string - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - Instance
Maintenance InstancePolicy Maintenance Policy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - Launch
Configuration stringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - Launch
Template LaunchTemplate Specification - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Lifecycle
Hook []LifecycleSpecification List Hook Specification - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- Load
Balancer []stringNames - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - Max
Instance intLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- Max
Size string - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - Metrics
Collection []MetricsCollection - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- Min
Size string - The minimum size of the group.
- Mixed
Instances MixedPolicy Instances Policy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - New
Instances boolProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- Notification
Configuration AutoScaling Group Notification Configuration - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - Notification
Configurations []AutoScaling Group Notification Configuration - Configures an Auto Scaling group to send notifications when specified events take place.
- Placement
Group string - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- Service
Linked stringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - []Tag
Property - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- Target
Group []stringARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- Termination
Policies []string - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- Vpc
Zone []stringIdentifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto
Scaling StringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability
Zones List<String> - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity
Rebalance Boolean - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context String
- Reserved.
- cooldown String
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default
Instance IntegerWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired
Capacity String - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired
Capacity StringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health
Check IntegerGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health
Check StringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance
Id String - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance
Maintenance InstancePolicy Maintenance Policy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch
Configuration StringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch
Template LaunchTemplate Specification - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle
Hook List<LifecycleSpecification List Hook Specification> - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load
Balancer List<String>Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max
Instance IntegerLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max
Size String - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics
Collection List<MetricsCollection> - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min
Size String - The minimum size of the group.
- mixed
Instances MixedPolicy Instances Policy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new
Instances BooleanProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification
Configuration AutoScaling Group Notification Configuration - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification
Configurations List<AutoScaling Group Notification Configuration> - Configures an Auto Scaling group to send notifications when specified events take place.
- placement
Group String - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service
Linked StringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - List<Tag
Property> - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target
Group List<String>ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination
Policies List<String> - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc
Zone List<String>Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto
Scaling stringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability
Zones string[] - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity
Rebalance boolean - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context string
- Reserved.
- cooldown string
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default
Instance numberWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired
Capacity string - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired
Capacity stringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health
Check numberGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health
Check stringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance
Id string - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance
Maintenance InstancePolicy Maintenance Policy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch
Configuration stringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch
Template LaunchTemplate Specification - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle
Hook LifecycleSpecification List Hook Specification[] - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load
Balancer string[]Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max
Instance numberLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max
Size string - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics
Collection MetricsCollection[] - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min
Size string - The minimum size of the group.
- mixed
Instances MixedPolicy Instances Policy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new
Instances booleanProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification
Configuration AutoScaling Group Notification Configuration - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification
Configurations AutoScaling Group Notification Configuration[] - Configures an Auto Scaling group to send notifications when specified events take place.
- placement
Group string - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service
Linked stringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - Tag
Property[] - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target
Group string[]ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination
Policies string[] - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc
Zone string[]Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto_
scaling_ strgroup_ name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability_
zones Sequence[str] - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity_
rebalance bool - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context str
- Reserved.
- cooldown str
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default_
instance_ intwarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired_
capacity str - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired_
capacity_ strtype - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health_
check_ intgrace_ period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health_
check_ strtype - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance_
id str - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance_
maintenance_ Instancepolicy Maintenance Policy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch_
configuration_ strname - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch_
template LaunchTemplate Specification - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle_
hook_ Sequence[Lifecyclespecification_ list Hook Specification] - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load_
balancer_ Sequence[str]names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max_
instance_ intlifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max_
size str - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics_
collection Sequence[MetricsCollection] - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min_
size str - The minimum size of the group.
- mixed_
instances_ Mixedpolicy Instances Policy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new_
instances_ boolprotected_ from_ scale_ in - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification_
configuration AutoScaling Group Notification Configuration - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification_
configurations Sequence[AutoScaling Group Notification Configuration] - Configures an Auto Scaling group to send notifications when specified events take place.
- placement_
group str - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service_
linked_ strrole_ arn - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - Sequence[Tag
Property] - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target_
group_ Sequence[str]arns - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination_
policies Sequence[str] - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc_
zone_ Sequence[str]identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto
Scaling StringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability
Zones List<String> - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity
Rebalance Boolean - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context String
- Reserved.
- cooldown String
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default
Instance NumberWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired
Capacity String - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired
Capacity StringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health
Check NumberGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health
Check StringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance
Id String - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance
Maintenance Property MapPolicy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch
Configuration StringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch
Template Property Map - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle
Hook List<Property Map>Specification List - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load
Balancer List<String>Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max
Instance NumberLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max
Size String - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics
Collection List<Property Map> - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min
Size String - The minimum size of the group.
- mixed
Instances Property MapPolicy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new
Instances BooleanProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification
Configuration Property Map - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification
Configurations List<Property Map> - Configures an Auto Scaling group to send notifications when specified events take place.
- placement
Group String - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service
Linked StringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - List<Property Map>
- One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target
Group List<String>ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination
Policies List<String> - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc
Zone List<String>Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
AwsAutoScalingAutoScalingGroupPropertiesResponse, AwsAutoScalingAutoScalingGroupPropertiesResponseArgs
- Auto
Scaling stringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- Availability
Zones List<string> - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - Capacity
Rebalance bool - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- Context string
- Reserved.
- Cooldown string
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - Default
Instance intWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - Desired
Capacity string - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- Desired
Capacity stringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- Health
Check intGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - Health
Check stringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - Instance
Id string - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - Instance
Maintenance Pulumi.Policy Azure Native. Aws Connector. Inputs. Instance Maintenance Policy Response - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - Launch
Configuration stringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - Launch
Template Pulumi.Azure Native. Aws Connector. Inputs. Launch Template Specification Response - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Lifecycle
Hook List<Pulumi.Specification List Azure Native. Aws Connector. Inputs. Lifecycle Hook Specification Response> - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- Load
Balancer List<string>Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - Max
Instance intLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- Max
Size string - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - Metrics
Collection List<Pulumi.Azure Native. Aws Connector. Inputs. Metrics Collection Response> - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- Min
Size string - The minimum size of the group.
- Mixed
Instances Pulumi.Policy Azure Native. Aws Connector. Inputs. Mixed Instances Policy Response - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - New
Instances boolProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- Notification
Configuration Pulumi.Azure Native. Aws Connector. Inputs. Auto Scaling Group Notification Configuration Response - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - Notification
Configurations List<Pulumi.Azure Native. Aws Connector. Inputs. Auto Scaling Group Notification Configuration Response> - Configures an Auto Scaling group to send notifications when specified events take place.
- Placement
Group string - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- Service
Linked stringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag Property Response> - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- Target
Group List<string>ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- Termination
Policies List<string> - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- Vpc
Zone List<string>Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- Auto
Scaling stringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- Availability
Zones []string - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - Capacity
Rebalance bool - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- Context string
- Reserved.
- Cooldown string
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - Default
Instance intWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - Desired
Capacity string - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- Desired
Capacity stringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- Health
Check intGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - Health
Check stringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - Instance
Id string - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - Instance
Maintenance InstancePolicy Maintenance Policy Response - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - Launch
Configuration stringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - Launch
Template LaunchTemplate Specification Response - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Lifecycle
Hook []LifecycleSpecification List Hook Specification Response - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- Load
Balancer []stringNames - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - Max
Instance intLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- Max
Size string - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - Metrics
Collection []MetricsCollection Response - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- Min
Size string - The minimum size of the group.
- Mixed
Instances MixedPolicy Instances Policy Response - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - New
Instances boolProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- Notification
Configuration AutoScaling Group Notification Configuration Response - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - Notification
Configurations []AutoScaling Group Notification Configuration Response - Configures an Auto Scaling group to send notifications when specified events take place.
- Placement
Group string - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- Service
Linked stringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - []Tag
Property Response - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- Target
Group []stringARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- Termination
Policies []string - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- Vpc
Zone []stringIdentifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto
Scaling StringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability
Zones List<String> - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity
Rebalance Boolean - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context String
- Reserved.
- cooldown String
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default
Instance IntegerWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired
Capacity String - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired
Capacity StringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health
Check IntegerGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health
Check StringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance
Id String - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance
Maintenance InstancePolicy Maintenance Policy Response - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch
Configuration StringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch
Template LaunchTemplate Specification Response - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle
Hook List<LifecycleSpecification List Hook Specification Response> - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load
Balancer List<String>Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max
Instance IntegerLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max
Size String - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics
Collection List<MetricsCollection Response> - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min
Size String - The minimum size of the group.
- mixed
Instances MixedPolicy Instances Policy Response - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new
Instances BooleanProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification
Configuration AutoScaling Group Notification Configuration Response - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification
Configurations List<AutoScaling Group Notification Configuration Response> - Configures an Auto Scaling group to send notifications when specified events take place.
- placement
Group String - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service
Linked StringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - List<Tag
Property Response> - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target
Group List<String>ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination
Policies List<String> - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc
Zone List<String>Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto
Scaling stringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability
Zones string[] - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity
Rebalance boolean - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context string
- Reserved.
- cooldown string
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default
Instance numberWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired
Capacity string - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired
Capacity stringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health
Check numberGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health
Check stringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance
Id string - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance
Maintenance InstancePolicy Maintenance Policy Response - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch
Configuration stringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch
Template LaunchTemplate Specification Response - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle
Hook LifecycleSpecification List Hook Specification Response[] - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load
Balancer string[]Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max
Instance numberLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max
Size string - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics
Collection MetricsCollection Response[] - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min
Size string - The minimum size of the group.
- mixed
Instances MixedPolicy Instances Policy Response - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new
Instances booleanProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification
Configuration AutoScaling Group Notification Configuration Response - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification
Configurations AutoScaling Group Notification Configuration Response[] - Configures an Auto Scaling group to send notifications when specified events take place.
- placement
Group string - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service
Linked stringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - Tag
Property Response[] - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target
Group string[]ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination
Policies string[] - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc
Zone string[]Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto_
scaling_ strgroup_ name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability_
zones Sequence[str] - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity_
rebalance bool - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context str
- Reserved.
- cooldown str
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default_
instance_ intwarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired_
capacity str - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired_
capacity_ strtype - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health_
check_ intgrace_ period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health_
check_ strtype - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance_
id str - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance_
maintenance_ Instancepolicy Maintenance Policy Response - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch_
configuration_ strname - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch_
template LaunchTemplate Specification Response - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle_
hook_ Sequence[Lifecyclespecification_ list Hook Specification Response] - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load_
balancer_ Sequence[str]names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max_
instance_ intlifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max_
size str - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics_
collection Sequence[MetricsCollection Response] - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min_
size str - The minimum size of the group.
- mixed_
instances_ Mixedpolicy Instances Policy Response - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new_
instances_ boolprotected_ from_ scale_ in - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification_
configuration AutoScaling Group Notification Configuration Response - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification_
configurations Sequence[AutoScaling Group Notification Configuration Response] - Configures an Auto Scaling group to send notifications when specified events take place.
- placement_
group str - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service_
linked_ strrole_ arn - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - Sequence[Tag
Property Response] - One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target_
group_ Sequence[str]arns - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination_
policies Sequence[str] - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc_
zone_ Sequence[str]identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
- auto
Scaling StringGroup Name - The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name.
- availability
Zones List<String> - A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the
VPCZoneIdentifier
property, or for attaching a network interface when an existing network interface ID is specified in a launch template. - capacity
Rebalance Boolean - Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.
- context String
- Reserved.
- cooldown String
- Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Default:
300
seconds - default
Instance NumberWarmup - The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the
InService
state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify-1
for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0
or other nominal value. Default: None - desired
Capacity String - The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price.
- desired
Capacity StringType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
DesiredCapacityType
for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifiesunits
, which translates into number of instances. Valid values:units
|vcpu
|memory-mib
- health
Check NumberGrace Period - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the
InService
state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0
seconds - health
Check StringType - A comma-separated value string of one or more health check types. The valid values are
EC2
,ELB
, andVPC_LATTICE
.EC2
is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2
if you must clear a value that was previously set. - instance
Id String - The ID of the instance used to base the launch configuration on. For more information, see Create an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide. If you specify
LaunchTemplate
,MixedInstancesPolicy
, orLaunchConfigurationName
, don't specifyInstanceId
. - instance
Maintenance Property MapPolicy - An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
InstanceMaintenancePolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. For more information, see Instance maintenance policies in the Amazon EC2 Auto Scaling User Guide. - launch
Configuration StringName - The name of the launch configuration to use to launch instances. Required only if you don't specify
LaunchTemplate
,MixedInstancesPolicy
, orInstanceId
. - launch
Template Property Map - Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a
MixedInstancesPolicy
. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specifyMixedInstancesPolicy
,LaunchConfigurationName
, orInstanceId
. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - lifecycle
Hook List<Property Map>Specification List - One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- load
Balancer List<String>Names - A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the
TargetGroupARNs
property instead. - max
Instance NumberLifetime - The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- max
Size String - The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above
MaxSize
to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSize
by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). - metrics
Collection List<Property Map> - Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- min
Size String - The minimum size of the group.
- mixed
Instances Property MapPolicy - An embedded object that specifies a mixed instances policy. The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide. 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. You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. There are key differences between Spot Instances and On-Demand Instances: + The price for Spot Instances varies based on demand + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
MixedInstancesPolicy
is a property of the AWS::AutoScaling::AutoScalingGroup resource. - new
Instances BooleanProtected From Scale In - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification
Configuration Property Map - A structure that specifies an Amazon SNS notification configuration for the
NotificationConfigurations
property of the AWS::AutoScaling::AutoScalingGroup resource. For an example template snippet, see Auto scaling template snippets. For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide. - notification
Configurations List<Property Map> - Configures an Auto Scaling group to send notifications when specified events take place.
- placement
Group String - The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
- service
Linked StringRole ARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide. - List<Property Map>
- One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
- target
Group List<String>ARNs - The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
- termination
Policies List<String> - A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values:
Default
|AllocationStrategy
|ClosestToNextInstanceHour
|NewestInstance
|OldestInstance
|OldestLaunchConfiguration
|OldestLaunchTemplate
|arn:aws:lambda:region:account-id:function:my-function:my-alias
- vpc
Zone List<String>Identifier - A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the DependsOn attribute to declare a dependency on the VPC-gateway attachment. When you update
VPCZoneIdentifier
, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an UpdatePolicy attribute. Required to launch instances into a nondefault VPC. If you specifyVPCZoneIdentifier
withAvailabilityZones
, the subnets that you specify for this property must reside in those Availability Zones.
BaselineEbsBandwidthMbpsRequest, BaselineEbsBandwidthMbpsRequestArgs
BaselineEbsBandwidthMbpsRequestResponse, BaselineEbsBandwidthMbpsRequestResponseArgs
InstanceMaintenancePolicy, InstanceMaintenancePolicyArgs
- Max
Healthy intPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - Min
Healthy intPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- Max
Healthy intPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - Min
Healthy intPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max
Healthy IntegerPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min
Healthy IntegerPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max
Healthy numberPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min
Healthy numberPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max_
healthy_ intpercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min_
healthy_ intpercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max
Healthy NumberPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min
Healthy NumberPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
InstanceMaintenancePolicyResponse, InstanceMaintenancePolicyResponseArgs
- Max
Healthy intPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - Min
Healthy intPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- Max
Healthy intPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - Min
Healthy intPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max
Healthy IntegerPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min
Healthy IntegerPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max
Healthy numberPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min
Healthy numberPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max_
healthy_ intpercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min_
healthy_ intpercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
- max
Healthy NumberPercentage - Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of
-1
. BothMinHealthyPercentage
andMaxHealthyPercentage
must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. - min
Healthy NumberPercentage - Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of
-1
.
InstanceRequirements, InstanceRequirementsArgs
- Accelerator
Count Pulumi.Azure Native. Aws Connector. Inputs. Accelerator Count Request - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - Accelerator
Manufacturers List<string> - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - Accelerator
Names List<string> - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - Accelerator
Total Pulumi.Memory Mi B Azure Native. Aws Connector. Inputs. Accelerator Total Memory Mi BRequest - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - Accelerator
Types List<string> - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - Allowed
Instance List<string>Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - Bare
Metal string - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- Baseline
Ebs Pulumi.Bandwidth Mbps Azure Native. Aws Connector. Inputs. Baseline Ebs Bandwidth Mbps Request - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - Burstable
Performance string - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- Cpu
Manufacturers List<string> - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - Excluded
Instance List<string>Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - Instance
Generations List<string> - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - Local
Storage string - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- Local
Storage List<string>Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - Max
Spot intPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - Memory
Gi Pulumi.BPer VCpu Azure Native. Aws Connector. Inputs. Memory Gi BPer VCpu Request - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - Memory
Mi Pulumi.B Azure Native. Aws Connector. Inputs. Memory Mi BRequest - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - Network
Bandwidth Pulumi.Gbps Azure Native. Aws Connector. Inputs. Network Bandwidth Gbps Request - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - Network
Interface Pulumi.Count Azure Native. Aws Connector. Inputs. Network Interface Count Request - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - On
Demand intMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- Require
Hibernate boolSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- Spot
Max intPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- Total
Local Pulumi.Storage GB Azure Native. Aws Connector. Inputs. Total Local Storage GBRequest - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - VCpu
Count Pulumi.Azure Native. Aws Connector. Inputs. VCpu Count Request - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- Accelerator
Count AcceleratorCount Request - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - Accelerator
Manufacturers []string - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - Accelerator
Names []string - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - Accelerator
Total AcceleratorMemory Mi B Total Memory Mi BRequest - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - Accelerator
Types []string - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - Allowed
Instance []stringTypes - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - Bare
Metal string - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- Baseline
Ebs BaselineBandwidth Mbps Ebs Bandwidth Mbps Request - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - Burstable
Performance string - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- Cpu
Manufacturers []string - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - Excluded
Instance []stringTypes - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - Instance
Generations []string - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - Local
Storage string - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- Local
Storage []stringTypes - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - Max
Spot intPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - Memory
Gi MemoryBPer VCpu Gi BPer VCpu Request - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - Memory
Mi MemoryB Mi BRequest - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - Network
Bandwidth NetworkGbps Bandwidth Gbps Request - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - Network
Interface NetworkCount Interface Count Request - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - On
Demand intMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- Require
Hibernate boolSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- Spot
Max intPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- Total
Local TotalStorage GB Local Storage GBRequest - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - VCpu
Count VCpuCount Request - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator
Count AcceleratorCount Request - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator
Manufacturers List<String> - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator
Names List<String> - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator
Total AcceleratorMemory Mi B Total Memory Mi BRequest - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator
Types List<String> - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed
Instance List<String>Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare
Metal String - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline
Ebs BaselineBandwidth Mbps Ebs Bandwidth Mbps Request - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable
Performance String - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu
Manufacturers List<String> - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded
Instance List<String>Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance
Generations List<String> - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local
Storage String - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local
Storage List<String>Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max
Spot IntegerPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory
Gi MemoryBPer VCpu Gi BPer VCpu Request - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory
Mi MemoryB Mi BRequest - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network
Bandwidth NetworkGbps Bandwidth Gbps Request - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network
Interface NetworkCount Interface Count Request - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on
Demand IntegerMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require
Hibernate BooleanSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot
Max IntegerPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total
Local TotalStorage GB Local Storage GBRequest - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v
Cpu VCpuCount Count Request - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator
Count AcceleratorCount Request - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator
Manufacturers string[] - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator
Names string[] - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator
Total AcceleratorMemory Mi B Total Memory Mi BRequest - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator
Types string[] - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed
Instance string[]Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare
Metal string - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline
Ebs BaselineBandwidth Mbps Ebs Bandwidth Mbps Request - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable
Performance string - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu
Manufacturers string[] - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded
Instance string[]Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance
Generations string[] - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local
Storage string - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local
Storage string[]Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max
Spot numberPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory
Gi MemoryBPer VCpu Gi BPer VCpu Request - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory
Mi MemoryB Mi BRequest - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network
Bandwidth NetworkGbps Bandwidth Gbps Request - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network
Interface NetworkCount Interface Count Request - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on
Demand numberMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require
Hibernate booleanSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot
Max numberPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total
Local TotalStorage GB Local Storage GBRequest - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v
Cpu VCpuCount Count Request - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator_
count AcceleratorCount Request - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator_
manufacturers Sequence[str] - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator_
names Sequence[str] - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator_
total_ Acceleratormemory_ mi_ b Total Memory Mi BRequest - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator_
types Sequence[str] - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed_
instance_ Sequence[str]types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare_
metal str - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline_
ebs_ Baselinebandwidth_ mbps Ebs Bandwidth Mbps Request - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable_
performance str - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu_
manufacturers Sequence[str] - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded_
instance_ Sequence[str]types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance_
generations Sequence[str] - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local_
storage str - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local_
storage_ Sequence[str]types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max_
spot_ intprice_ as_ percentage_ of_ optimal_ on_ demand_ price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory_
gi_ Memoryb_ per_ v_ cpu Gi BPer VCpu Request - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory_
mi_ Memoryb Mi BRequest - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network_
bandwidth_ Networkgbps Bandwidth Gbps Request - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network_
interface_ Networkcount Interface Count Request - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on_
demand_ intmax_ price_ percentage_ over_ lowest_ price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require_
hibernate_ boolsupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot_
max_ intprice_ percentage_ over_ lowest_ price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total_
local_ Totalstorage_ gb Local Storage GBRequest - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v_
cpu_ VCpucount Count Request - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator
Count Property Map - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator
Manufacturers List<String> - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator
Names List<String> - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator
Total Property MapMemory Mi B - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator
Types List<String> - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed
Instance List<String>Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare
Metal String - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline
Ebs Property MapBandwidth Mbps - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable
Performance String - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu
Manufacturers List<String> - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded
Instance List<String>Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance
Generations List<String> - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local
Storage String - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local
Storage List<String>Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max
Spot NumberPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory
Gi Property MapBPer VCpu - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory
Mi Property MapB - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network
Bandwidth Property MapGbps - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network
Interface Property MapCount - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on
Demand NumberMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require
Hibernate BooleanSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot
Max NumberPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total
Local Property MapStorage GB - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v
Cpu Property MapCount - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
InstanceRequirementsResponse, InstanceRequirementsResponseArgs
- Accelerator
Count Pulumi.Azure Native. Aws Connector. Inputs. Accelerator Count Request Response - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - Accelerator
Manufacturers List<string> - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - Accelerator
Names List<string> - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - Accelerator
Total Pulumi.Memory Mi B Azure Native. Aws Connector. Inputs. Accelerator Total Memory Mi BRequest Response - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - Accelerator
Types List<string> - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - Allowed
Instance List<string>Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - Bare
Metal string - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- Baseline
Ebs Pulumi.Bandwidth Mbps Azure Native. Aws Connector. Inputs. Baseline Ebs Bandwidth Mbps Request Response - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - Burstable
Performance string - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- Cpu
Manufacturers List<string> - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - Excluded
Instance List<string>Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - Instance
Generations List<string> - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - Local
Storage string - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- Local
Storage List<string>Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - Max
Spot intPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - Memory
Gi Pulumi.BPer VCpu Azure Native. Aws Connector. Inputs. Memory Gi BPer VCpu Request Response - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - Memory
Mi Pulumi.B Azure Native. Aws Connector. Inputs. Memory Mi BRequest Response - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - Network
Bandwidth Pulumi.Gbps Azure Native. Aws Connector. Inputs. Network Bandwidth Gbps Request Response - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - Network
Interface Pulumi.Count Azure Native. Aws Connector. Inputs. Network Interface Count Request Response - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - On
Demand intMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- Require
Hibernate boolSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- Spot
Max intPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- Total
Local Pulumi.Storage GB Azure Native. Aws Connector. Inputs. Total Local Storage GBRequest Response - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - VCpu
Count Pulumi.Azure Native. Aws Connector. Inputs. VCpu Count Request Response - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- Accelerator
Count AcceleratorCount Request Response - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - Accelerator
Manufacturers []string - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - Accelerator
Names []string - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - Accelerator
Total AcceleratorMemory Mi B Total Memory Mi BRequest Response - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - Accelerator
Types []string - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - Allowed
Instance []stringTypes - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - Bare
Metal string - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- Baseline
Ebs BaselineBandwidth Mbps Ebs Bandwidth Mbps Request Response - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - Burstable
Performance string - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- Cpu
Manufacturers []string - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - Excluded
Instance []stringTypes - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - Instance
Generations []string - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - Local
Storage string - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- Local
Storage []stringTypes - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - Max
Spot intPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - Memory
Gi MemoryBPer VCpu Gi BPer VCpu Request Response - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - Memory
Mi MemoryB Mi BRequest Response - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - Network
Bandwidth NetworkGbps Bandwidth Gbps Request Response - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - Network
Interface NetworkCount Interface Count Request Response - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - On
Demand intMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- Require
Hibernate boolSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- Spot
Max intPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- Total
Local TotalStorage GB Local Storage GBRequest Response - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - VCpu
Count VCpuCount Request Response - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator
Count AcceleratorCount Request Response - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator
Manufacturers List<String> - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator
Names List<String> - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator
Total AcceleratorMemory Mi B Total Memory Mi BRequest Response - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator
Types List<String> - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed
Instance List<String>Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare
Metal String - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline
Ebs BaselineBandwidth Mbps Ebs Bandwidth Mbps Request Response - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable
Performance String - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu
Manufacturers List<String> - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded
Instance List<String>Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance
Generations List<String> - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local
Storage String - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local
Storage List<String>Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max
Spot IntegerPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory
Gi MemoryBPer VCpu Gi BPer VCpu Request Response - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory
Mi MemoryB Mi BRequest Response - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network
Bandwidth NetworkGbps Bandwidth Gbps Request Response - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network
Interface NetworkCount Interface Count Request Response - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on
Demand IntegerMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require
Hibernate BooleanSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot
Max IntegerPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total
Local TotalStorage GB Local Storage GBRequest Response - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v
Cpu VCpuCount Count Request Response - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator
Count AcceleratorCount Request Response - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator
Manufacturers string[] - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator
Names string[] - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator
Total AcceleratorMemory Mi B Total Memory Mi BRequest Response - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator
Types string[] - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed
Instance string[]Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare
Metal string - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline
Ebs BaselineBandwidth Mbps Ebs Bandwidth Mbps Request Response - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable
Performance string - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu
Manufacturers string[] - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded
Instance string[]Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance
Generations string[] - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local
Storage string - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local
Storage string[]Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max
Spot numberPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory
Gi MemoryBPer VCpu Gi BPer VCpu Request Response - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory
Mi MemoryB Mi BRequest Response - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network
Bandwidth NetworkGbps Bandwidth Gbps Request Response - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network
Interface NetworkCount Interface Count Request Response - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on
Demand numberMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require
Hibernate booleanSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot
Max numberPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total
Local TotalStorage GB Local Storage GBRequest Response - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v
Cpu VCpuCount Count Request Response - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator_
count AcceleratorCount Request Response - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator_
manufacturers Sequence[str] - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator_
names Sequence[str] - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator_
total_ Acceleratormemory_ mi_ b Total Memory Mi BRequest Response - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator_
types Sequence[str] - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed_
instance_ Sequence[str]types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare_
metal str - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline_
ebs_ Baselinebandwidth_ mbps Ebs Bandwidth Mbps Request Response - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable_
performance str - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu_
manufacturers Sequence[str] - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded_
instance_ Sequence[str]types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance_
generations Sequence[str] - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local_
storage str - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local_
storage_ Sequence[str]types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max_
spot_ intprice_ as_ percentage_ of_ optimal_ on_ demand_ price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory_
gi_ Memoryb_ per_ v_ cpu Gi BPer VCpu Request Response - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory_
mi_ Memoryb Mi BRequest Response - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network_
bandwidth_ Networkgbps Bandwidth Gbps Request Response - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network_
interface_ Networkcount Interface Count Request Response - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on_
demand_ intmax_ price_ percentage_ over_ lowest_ price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require_
hibernate_ boolsupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot_
max_ intprice_ percentage_ over_ lowest_ price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total_
local_ Totalstorage_ gb Local Storage GBRequest Response - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v_
cpu_ VCpucount Count Request Response - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
- accelerator
Count Property Map - The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set
Max
to0
. Default: No minimum or maximum limitsAcceleratorCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of accelerators for an instance type. - accelerator
Manufacturers List<String> - Indicates whether instance types must have accelerators by specific manufacturers. + For instance types with NVIDIA devices, specify
nvidia
. + For instance types with AMD devices, specifyamd
. + For instance types with AWS devices, specifyamazon-web-services
. + For instance types with Xilinx devices, specifyxilinx
. Default: Any manufacturer - accelerator
Names List<String> - Lists the accelerators that must be on an instance type. + For instance types with NVIDIA A100 GPUs, specify
a100
. + For instance types with NVIDIA V100 GPUs, specifyv100
. + For instance types with NVIDIA K80 GPUs, specifyk80
. + For instance types with NVIDIA T4 GPUs, specifyt4
. + For instance types with NVIDIA M60 GPUs, specifym60
. + For instance types with AMD Radeon Pro V520 GPUs, specifyradeon-pro-v520
. + For instance types with Xilinx VU9P FPGAs, specifyvu9p
. Default: Any accelerator - accelerator
Total Property MapMemory Mi B - The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum limits
AcceleratorTotalMemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. - accelerator
Types List<String> - Lists the accelerator types that must be on an instance type. + For instance types with GPU accelerators, specify
gpu
. + For instance types with FPGA accelerators, specifyfpga
. + For instance types with inference accelerators, specifyinference
. Default: Any accelerator type - allowed
Instance List<String>Types - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
. Default: All instance types - bare
Metal String - Indicates whether bare metal instance types are included, excluded, or required. Default:
excluded
- baseline
Ebs Property MapBandwidth Mbps - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits
BaselineEbsBandwidthMbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. - burstable
Performance String - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default:
excluded
- cpu
Manufacturers List<String> - Lists which specific CPU manufacturers to include. + For instance types with Intel CPUs, specify
intel
. + For instance types with AMD CPUs, specifyamd
. + For instance types with AWS CPUs, specifyamazon-web-services
. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer - excluded
Instance List<String>Types - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
. For example, if you specifyc5*
, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
. Default: No excluded instance types - instance
Generations List<String> - Indicates whether current or previous generation instance types are included. + For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. + For previous generation instance types, specifyprevious
. Default: Any current or previous generation - local
Storage String - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default:
included
- local
Storage List<String>Types - Indicates the type of local storage that is required. + For instance types with hard disk drive (HDD) storage, specify
hdd
. + For instance types with solid state drive (SSD) storage, specifyssd
. Default: Any local storage type - max
Spot NumberPrice As Percentage Of Optimal On Demand Price - [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, thenSpotMaxPricePercentageOverLowestPrice
is used and the value for that parameter defaults to100
. - memory
Gi Property MapBPer VCpu - The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
MemoryGiBPerVCpuRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. - memory
Mi Property MapB - The minimum and maximum instance memory size for an instance type, in MiB.
MemoryMiBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum instance memory size for an instance type, in MiB. - network
Bandwidth Property MapGbps - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
NetworkBandwidthGbpsRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances. - network
Interface Property MapCount - The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
NetworkInterfaceCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of network interfaces for an instance type. - on
Demand NumberMax Price Percentage Over Lowest Price - [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- require
Hibernate BooleanSupport - Indicates whether instance types must provide On-Demand Instance hibernation support. Default:
false
- spot
Max NumberPrice Percentage Over Lowest Price - [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as
999999
. If you setDesiredCapacityType
tovcpu
ormemory-mib
, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. Default:100
- total
Local Property MapStorage GB - The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
TotalLocalStorageGBRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum total local storage size for an instance type, in GB. - v
Cpu Property MapCount - The minimum and maximum number of vCPUs for an instance type.
VCpuCountRequest
is a property of theInstanceRequirements
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum number of vCPUs for an instance type.
InstancesDistribution, InstancesDistributionArgs
- On
Demand stringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- On
Demand intBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- On
Demand intPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - Spot
Allocation stringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- Spot
Instance intPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - Spot
Max stringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- On
Demand stringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- On
Demand intBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- On
Demand intPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - Spot
Allocation stringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- Spot
Instance intPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - Spot
Max stringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on
Demand StringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on
Demand IntegerBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on
Demand IntegerPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot
Allocation StringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot
Instance IntegerPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot
Max StringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on
Demand stringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on
Demand numberBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on
Demand numberPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot
Allocation stringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot
Instance numberPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot
Max stringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on_
demand_ strallocation_ strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on_
demand_ intbase_ capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on_
demand_ intpercentage_ above_ base_ capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot_
allocation_ strstrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot_
instance_ intpools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot_
max_ strprice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on
Demand StringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on
Demand NumberBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on
Demand NumberPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot
Allocation StringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot
Instance NumberPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot
Max StringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
InstancesDistributionResponse, InstancesDistributionResponseArgs
- On
Demand stringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- On
Demand intBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- On
Demand intPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - Spot
Allocation stringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- Spot
Instance intPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - Spot
Max stringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- On
Demand stringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- On
Demand intBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- On
Demand intPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - Spot
Allocation stringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- Spot
Instance intPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - Spot
Max stringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on
Demand StringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on
Demand IntegerBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on
Demand IntegerPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot
Allocation StringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot
Instance IntegerPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot
Max StringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on
Demand stringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on
Demand numberBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on
Demand numberPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot
Allocation stringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot
Instance numberPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot
Max stringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on_
demand_ strallocation_ strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on_
demand_ intbase_ capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on_
demand_ intpercentage_ above_ base_ capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot_
allocation_ strstrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot_
instance_ intpools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot_
max_ strprice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
- on
Demand StringAllocation Strategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
- on
Demand NumberBase Capacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. Default: 0 An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
- on
Demand NumberPercentage Above Base Capacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity
. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100 An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. - spot
Allocation StringStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
- spot
Instance NumberPools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the
SpotAllocationStrategy
islowest-price
. Value must be in the range of 1–20. Default: 2 - spot
Max StringPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ('') for the value. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. Valid Range: Minimum value of 0.001
LaunchTemplate, LaunchTemplateArgs
- Launch
Template Pulumi.Specification Azure Native. Aws Connector. Inputs. Launch Template Specification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Overrides
List<Pulumi.
Azure Native. Aws Connector. Inputs. Launch Template Overrides> - Any properties that you specify override the same properties in the launch template.
- Launch
Template LaunchSpecification Template Specification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Overrides
[]Launch
Template Overrides - Any properties that you specify override the same properties in the launch template.
- launch
Template LaunchSpecification Template Specification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides
List<Launch
Template Overrides> - Any properties that you specify override the same properties in the launch template.
- launch
Template LaunchSpecification Template Specification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides
Launch
Template Overrides[] - Any properties that you specify override the same properties in the launch template.
- launch_
template_ Launchspecification Template Specification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides
Sequence[Launch
Template Overrides] - Any properties that you specify override the same properties in the launch template.
- launch
Template Property MapSpecification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides List<Property Map>
- Any properties that you specify override the same properties in the launch template.
LaunchTemplateOverrides, LaunchTemplateOverridesArgs
- Instance
Requirements Pulumi.Azure Native. Aws Connector. Inputs. Instance Requirements - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - Instance
Type string - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - Launch
Template Pulumi.Specification Azure Native. Aws Connector. Inputs. Launch Template Specification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Weighted
Capacity string - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- Instance
Requirements InstanceRequirements - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - Instance
Type string - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - Launch
Template LaunchSpecification Template Specification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Weighted
Capacity string - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance
Requirements InstanceRequirements - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance
Type String - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch
Template LaunchSpecification Template Specification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted
Capacity String - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance
Requirements InstanceRequirements - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance
Type string - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch
Template LaunchSpecification Template Specification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted
Capacity string - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance_
requirements InstanceRequirements - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance_
type str - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch_
template_ Launchspecification Template Specification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted_
capacity str - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance
Requirements Property Map - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance
Type String - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch
Template Property MapSpecification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted
Capacity String - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
LaunchTemplateOverridesResponse, LaunchTemplateOverridesResponseArgs
- Instance
Requirements Pulumi.Azure Native. Aws Connector. Inputs. Instance Requirements Response - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - Instance
Type string - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - Launch
Template Pulumi.Specification Azure Native. Aws Connector. Inputs. Launch Template Specification Response - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Weighted
Capacity string - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- Instance
Requirements InstanceRequirements Response - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - Instance
Type string - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - Launch
Template LaunchSpecification Template Specification Response - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Weighted
Capacity string - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance
Requirements InstanceRequirements Response - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance
Type String - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch
Template LaunchSpecification Template Specification Response - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted
Capacity String - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance
Requirements InstanceRequirements Response - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance
Type string - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch
Template LaunchSpecification Template Specification Response - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted
Capacity string - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance_
requirements InstanceRequirements Response - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance_
type str - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch_
template_ Launchspecification Template Specification Response - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted_
capacity str - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
- instance
Requirements Property Map - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify
InstanceRequirements
, you can't specifyInstanceType
. The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: +AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. +ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes. You must specifyVCpuCount
andMemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default. For an example template, see Auto scaling template snippets. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.InstanceRequirements
is a property of theLaunchTemplateOverrides
property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate property type. - instance
Type String - The instance type, such as
m3.xlarge
. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. - launch
Template Property MapSpecification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the
LaunchTemplate
definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in theLaunchTemplate
definition count towards this limit. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - weighted
Capacity String - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a
WeightedCapacity
of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1-999. If you specify a value forWeightedCapacity
for one instance type, you must specify a value forWeightedCapacity
for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity
,MaxSize
, andMinSize
). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
LaunchTemplateResponse, LaunchTemplateResponseArgs
- Launch
Template Pulumi.Specification Azure Native. Aws Connector. Inputs. Launch Template Specification Response - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Overrides
List<Pulumi.
Azure Native. Aws Connector. Inputs. Launch Template Overrides Response> - Any properties that you specify override the same properties in the launch template.
- Launch
Template LaunchSpecification Template Specification Response - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - Overrides
[]Launch
Template Overrides Response - Any properties that you specify override the same properties in the launch template.
- launch
Template LaunchSpecification Template Specification Response - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides
List<Launch
Template Overrides Response> - Any properties that you specify override the same properties in the launch template.
- launch
Template LaunchSpecification Template Specification Response - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides
Launch
Template Overrides Response[] - Any properties that you specify override the same properties in the launch template.
- launch_
template_ Launchspecification Template Specification Response - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides
Sequence[Launch
Template Overrides Response] - Any properties that you specify override the same properties in the launch template.
- launch
Template Property MapSpecification - The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template.
LaunchTemplateSpecification
is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in theAWS::EC2::LaunchTemplate
resource. - overrides List<Property Map>
- Any properties that you specify override the same properties in the launch template.
LaunchTemplateSpecification, LaunchTemplateSpecificationArgs
- Id string
- Property id
- Launch
Template stringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - Launch
Template stringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - Name string
- Property name
- Version string
- Property version
- Id string
- Property id
- Launch
Template stringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - Launch
Template stringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - Name string
- Property name
- Version string
- Property version
- id String
- Property id
- launch
Template StringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch
Template StringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name String
- Property name
- version String
- Property version
- id string
- Property id
- launch
Template stringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch
Template stringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name string
- Property name
- version string
- Property version
- id str
- Property id
- launch_
template_ strid - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch_
template_ strname - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name str
- Property name
- version str
- Property version
- id String
- Property id
- launch
Template StringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch
Template StringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name String
- Property name
- version String
- Property version
LaunchTemplateSpecificationResponse, LaunchTemplateSpecificationResponseArgs
- Id string
- Property id
- Launch
Template stringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - Launch
Template stringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - Name string
- Property name
- Version string
- Property version
- Id string
- Property id
- Launch
Template stringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - Launch
Template stringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - Name string
- Property name
- Version string
- Property version
- id String
- Property id
- launch
Template StringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch
Template StringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name String
- Property name
- version String
- Property version
- id string
- Property id
- launch
Template stringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch
Template stringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name string
- Property name
- version string
- Property version
- id str
- Property id
- launch_
template_ strid - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch_
template_ strname - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name str
- Property name
- version str
- Property version
- id String
- Property id
- launch
Template StringId - The ID of the launch template. You must specify the
LaunchTemplateID
or theLaunchTemplateName
, but not both. - launch
Template StringName - The name of the launch template. You must specify the
LaunchTemplateName
or theLaunchTemplateID
, but not both. - name String
- Property name
- version String
- Property version
LifecycleHookSpecification, LifecycleHookSpecificationArgs
- Default
Result string - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- Heartbeat
Timeout int - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - Lifecycle
Hook stringName - The name of the lifecycle hook.
- Lifecycle
Transition string - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - Notification
Metadata string - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- Notification
Target stringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- Role
ARN string - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- Default
Result string - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- Heartbeat
Timeout int - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - Lifecycle
Hook stringName - The name of the lifecycle hook.
- Lifecycle
Transition string - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - Notification
Metadata string - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- Notification
Target stringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- Role
ARN string - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default
Result String - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat
Timeout Integer - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle
Hook StringName - The name of the lifecycle hook.
- lifecycle
Transition String - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification
Metadata String - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification
Target StringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role
ARN String - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default
Result string - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat
Timeout number - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle
Hook stringName - The name of the lifecycle hook.
- lifecycle
Transition string - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification
Metadata string - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification
Target stringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role
ARN string - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default_
result str - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat_
timeout int - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle_
hook_ strname - The name of the lifecycle hook.
- lifecycle_
transition str - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification_
metadata str - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification_
target_ strarn - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role_
arn str - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default
Result String - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat
Timeout Number - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle
Hook StringName - The name of the lifecycle hook.
- lifecycle
Transition String - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification
Metadata String - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification
Target StringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role
ARN String - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
LifecycleHookSpecificationResponse, LifecycleHookSpecificationResponseArgs
- Default
Result string - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- Heartbeat
Timeout int - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - Lifecycle
Hook stringName - The name of the lifecycle hook.
- Lifecycle
Transition string - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - Notification
Metadata string - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- Notification
Target stringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- Role
ARN string - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- Default
Result string - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- Heartbeat
Timeout int - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - Lifecycle
Hook stringName - The name of the lifecycle hook.
- Lifecycle
Transition string - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - Notification
Metadata string - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- Notification
Target stringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- Role
ARN string - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default
Result String - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat
Timeout Integer - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle
Hook StringName - The name of the lifecycle hook.
- lifecycle
Transition String - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification
Metadata String - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification
Target StringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role
ARN String - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default
Result string - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat
Timeout number - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle
Hook stringName - The name of the lifecycle hook.
- lifecycle
Transition string - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification
Metadata string - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification
Target stringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role
ARN string - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default_
result str - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat_
timeout int - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle_
hook_ strname - The name of the lifecycle hook.
- lifecycle_
transition str - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification_
metadata str - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification_
target_ strarn - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role_
arn str - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- default
Result String - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is
ABANDON
. Valid values:CONTINUE
|ABANDON
- heartbeat
Timeout Number - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from
30
to7200
seconds. The default value is3600
seconds (1 hour). - lifecycle
Hook StringName - The name of the lifecycle hook.
- lifecycle
Transition String - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. + To create a lifecycle hook for scale-in events, specifyautoscaling:EC2_INSTANCE_TERMINATING
. - notification
Metadata String - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notification
Target StringARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
- role
ARN String - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
MemoryGiBPerVCpuRequest, MemoryGiBPerVCpuRequestArgs
MemoryGiBPerVCpuRequestResponse, MemoryGiBPerVCpuRequestResponseArgs
MemoryMiBRequest, MemoryMiBRequestArgs
MemoryMiBRequestResponse, MemoryMiBRequestResponseArgs
MetricsCollection, MetricsCollectionArgs
- Granularity string
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - Metrics List<string>
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- Granularity string
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - Metrics []string
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity String
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics List<String>
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity string
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics string[]
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity str
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics Sequence[str]
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity String
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics List<String>
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
MetricsCollectionResponse, MetricsCollectionResponseArgs
- Granularity string
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - Metrics List<string>
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- Granularity string
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - Metrics []string
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity String
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics List<String>
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity string
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics string[]
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity str
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics Sequence[str]
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
- granularity String
- The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
1Minute
. - metrics List<String>
- Identifies the metrics to enable. You can specify one or more of the following metrics: +
GroupMinSize
+GroupMaxSize
+GroupDesiredCapacity
+GroupInServiceInstances
+GroupPendingInstances
+GroupStandbyInstances
+GroupTerminatingInstances
+GroupTotalInstances
+GroupInServiceCapacity
+GroupPendingCapacity
+GroupStandbyCapacity
+GroupTerminatingCapacity
+GroupTotalCapacity
+WarmPoolDesiredCapacity
+WarmPoolWarmedCapacity
+WarmPoolPendingCapacity
+WarmPoolTerminatingCapacity
+WarmPoolTotalCapacity
+GroupAndWarmPoolDesiredCapacity
+GroupAndWarmPoolTotalCapacity
If you specifyGranularity
and don't specify any metrics, all metrics are enabled. For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
MixedInstancesPolicy, MixedInstancesPolicyArgs
- Instances
Distribution Pulumi.Azure Native. Aws Connector. Inputs. Instances Distribution - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - Launch
Template Pulumi.Azure Native. Aws Connector. Inputs. Launch Template - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- Instances
Distribution InstancesDistribution - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - Launch
Template LaunchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances
Distribution InstancesDistribution - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch
Template LaunchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances
Distribution InstancesDistribution - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch
Template LaunchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances_
distribution InstancesDistribution - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch_
template LaunchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances
Distribution Property Map - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch
Template Property Map - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
MixedInstancesPolicyResponse, MixedInstancesPolicyResponseArgs
- Instances
Distribution Pulumi.Azure Native. Aws Connector. Inputs. Instances Distribution Response - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - Launch
Template Pulumi.Azure Native. Aws Connector. Inputs. Launch Template Response - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- Instances
Distribution InstancesDistribution Response - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - Launch
Template LaunchTemplate Response - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances
Distribution InstancesDistribution Response - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch
Template LaunchTemplate Response - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances
Distribution InstancesDistribution Response - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch
Template LaunchTemplate Response - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances_
distribution InstancesDistribution Response - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch_
template LaunchTemplate Response - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
- instances
Distribution Property Map - The instances distribution. Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
InstancesDistribution
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type. - launch
Template Property Map - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
LaunchTemplate
is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type.
NetworkBandwidthGbpsRequest, NetworkBandwidthGbpsRequestArgs
NetworkBandwidthGbpsRequestResponse, NetworkBandwidthGbpsRequestResponseArgs
NetworkInterfaceCountRequest, NetworkInterfaceCountRequestArgs
NetworkInterfaceCountRequestResponse, NetworkInterfaceCountRequestResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TagProperty, TagPropertyArgs
- Key string
- The tag key.
- Propagate
At boolLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - Value string
- The tag value.
- Key string
- The tag key.
- Propagate
At boolLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - Value string
- The tag value.
- key String
- The tag key.
- propagate
At BooleanLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value String
- The tag value.
- key string
- The tag key.
- propagate
At booleanLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value string
- The tag value.
- key str
- The tag key.
- propagate_
at_ boollaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value str
- The tag value.
- key String
- The tag key.
- propagate
At BooleanLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value String
- The tag value.
TagPropertyResponse, TagPropertyResponseArgs
- Key string
- The tag key.
- Propagate
At boolLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - Value string
- The tag value.
- Key string
- The tag key.
- Propagate
At boolLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - Value string
- The tag value.
- key String
- The tag key.
- propagate
At BooleanLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value String
- The tag value.
- key string
- The tag key.
- propagate
At booleanLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value string
- The tag value.
- key str
- The tag key.
- propagate_
at_ boollaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value str
- The tag value.
- key String
- The tag key.
- propagate
At BooleanLaunch - Set to
true
if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalse
if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. - value String
- The tag value.
TotalLocalStorageGBRequest, TotalLocalStorageGBRequestArgs
TotalLocalStorageGBRequestResponse, TotalLocalStorageGBRequestResponseArgs
VCpuCountRequest, VCpuCountRequestArgs
VCpuCountRequestResponse, VCpuCountRequestResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:AutoScalingAutoScalingGroup vlngqusydiqjbfra /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/autoScalingAutoScalingGroups/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0