We recommend new projects start with resources from the AWS provider.
aws-native.autoscaling.AutoScalingGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::AutoScaling::AutoScalingGroup resource defines an Amazon EC2 Auto Scaling group, which is a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management.
For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide.
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. For more information, see Launch configurations in the Amazon EC2 Auto Scaling User Guide.
For help migrating from launch configurations to launch templates, see Migrate CloudFormation stacks from launch configurations to launch templates in the Amazon EC2 Auto Scaling User Guide.
Create AutoScalingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoScalingGroup(name: string, args: AutoScalingGroupArgs, opts?: CustomResourceOptions);@overload
def AutoScalingGroup(resource_name: str,
                     args: AutoScalingGroupArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def AutoScalingGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     max_size: Optional[str] = None,
                     min_size: Optional[str] = None,
                     launch_template: Optional[AutoScalingGroupLaunchTemplateSpecificationArgs] = None,
                     desired_capacity: Optional[str] = None,
                     capacity_rebalance: Optional[bool] = None,
                     load_balancer_names: Optional[Sequence[str]] = None,
                     context: Optional[str] = None,
                     cooldown: Optional[str] = None,
                     default_instance_warmup: Optional[int] = None,
                     max_instance_lifetime: Optional[int] = None,
                     desired_capacity_type: Optional[str] = None,
                     health_check_grace_period: Optional[int] = None,
                     health_check_type: Optional[str] = None,
                     instance_id: Optional[str] = None,
                     instance_maintenance_policy: Optional[AutoScalingGroupInstanceMaintenancePolicyArgs] = None,
                     availability_zone_impairment_policy: Optional[AutoScalingGroupAvailabilityZoneImpairmentPolicyArgs] = None,
                     auto_scaling_group_name: Optional[str] = None,
                     lifecycle_hook_specification_list: Optional[Sequence[AutoScalingGroupLifecycleHookSpecificationArgs]] = None,
                     capacity_reservation_specification: Optional[AutoScalingGroupCapacityReservationSpecificationArgs] = None,
                     availability_zones: Optional[Sequence[str]] = None,
                     launch_configuration_name: Optional[str] = None,
                     metrics_collection: Optional[Sequence[AutoScalingGroupMetricsCollectionArgs]] = None,
                     availability_zone_distribution: Optional[AutoScalingGroupAvailabilityZoneDistributionArgs] = None,
                     mixed_instances_policy: Optional[AutoScalingGroupMixedInstancesPolicyArgs] = None,
                     new_instances_protected_from_scale_in: Optional[bool] = None,
                     notification_configuration: Optional[AutoScalingGroupNotificationConfigurationArgs] = None,
                     notification_configurations: Optional[Sequence[AutoScalingGroupNotificationConfigurationArgs]] = None,
                     placement_group: Optional[str] = None,
                     service_linked_role_arn: Optional[str] = None,
                     skip_zonal_shift_validation: Optional[bool] = None,
                     tags: Optional[Sequence[AutoScalingGroupTagPropertyArgs]] = None,
                     target_group_arns: Optional[Sequence[str]] = None,
                     termination_policies: Optional[Sequence[str]] = None,
                     traffic_sources: Optional[Sequence[AutoScalingGroupTrafficSourceIdentifierArgs]] = None,
                     vpc_zone_identifier: Optional[Sequence[str]] = None)func NewAutoScalingGroup(ctx *Context, name string, args AutoScalingGroupArgs, opts ...ResourceOption) (*AutoScalingGroup, error)public AutoScalingGroup(string name, AutoScalingGroupArgs args, CustomResourceOptions? opts = null)
public AutoScalingGroup(String name, AutoScalingGroupArgs args)
public AutoScalingGroup(String name, AutoScalingGroupArgs args, CustomResourceOptions options)
type: aws-native:autoscaling:AutoScalingGroup
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 AutoScalingGroupArgs
- 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 AutoScalingGroupArgs
- 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 AutoScalingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoScalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoScalingGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AutoScalingGroup 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 AutoScalingGroup resource accepts the following input properties:
- MaxSize 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 MaxSizeto meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSizeby more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
- MinSize string
- The minimum size of the group.
- AutoScaling 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.
- AvailabilityZone Pulumi.Distribution Aws Native. Auto Scaling. Inputs. Auto Scaling Group Availability Zone Distribution 
- The instance capacity distribution across Availability Zones.
- AvailabilityZone Pulumi.Impairment Policy Aws Native. Auto Scaling. Inputs. Auto Scaling Group Availability Zone Impairment Policy 
- The Availability Zone impairment policy.
- AvailabilityZones 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 VPCZoneIdentifierproperty, or for attaching a network interface when an existing network interface ID is specified in a launch template.
- CapacityRebalance 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.
- CapacityReservation Pulumi.Specification Aws Native. Auto Scaling. Inputs. Auto Scaling Group Capacity Reservation Specification 
- The capacity reservation specification.
- 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: 300seconds
- DefaultInstance 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 InServicestate. 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-1for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0or other nominal value. Default: None
- DesiredCapacity 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.
- DesiredCapacity stringType 
- The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityTypefor attribute-based instance type selection only. For more information, see Create a mixed instances 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
- HealthCheck 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 InServicestate. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0seconds
- HealthCheck stringType 
- A comma-separated value string of one or more health check types.
The valid values are EC2,EBS,ELB, andVPC_LATTICE.EC2is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2if you must clear a value that was previously set.
- InstanceId 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.
- InstanceMaintenance Pulumi.Policy Aws Native. Auto Scaling. Inputs. Auto Scaling Group Instance Maintenance Policy 
- An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
- LaunchConfiguration stringName 
- The name of the launch configuration to use to launch instances.
Required only if you don't specify LaunchTemplate,MixedInstancesPolicy, orInstanceId.
- LaunchTemplate Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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.
- LifecycleHook List<Pulumi.Specification List Aws Native. Auto Scaling. Inputs. Auto Scaling Group Lifecycle Hook Specification> 
- One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- LoadBalancer 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 TargetGroupARNsproperty instead.
- MaxInstance 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 Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- MetricsCollection List<Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Metrics Collection> 
- Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- MixedInstances Pulumi.Policy Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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.
- NewInstances 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 Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- NotificationConfiguration Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Notification Configuration 
- NotificationConfigurations List<Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Notification Configuration> 
- Configures an Auto Scaling group to send notifications when specified events take place.
- PlacementGroup 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.
- ServiceLinked 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.
- SkipZonal boolShift Validation 
- 
List<Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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.
- TargetGroup 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.
- TerminationPolicies 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 Configure termination policies for Amazon EC2 Auto Scaling 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
- TrafficSources List<Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Traffic Source Identifier> 
- The traffic sources associated with this Auto Scaling group.
- VpcZone 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 specifyVPCZoneIdentifierwithAvailabilityZones, the subnets that you specify for this property must reside in those Availability Zones.
- MaxSize 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 MaxSizeto meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSizeby more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
- MinSize string
- The minimum size of the group.
- AutoScaling 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.
- AvailabilityZone AutoDistribution Scaling Group Availability Zone Distribution Args 
- The instance capacity distribution across Availability Zones.
- AvailabilityZone AutoImpairment Policy Scaling Group Availability Zone Impairment Policy Args 
- The Availability Zone impairment policy.
- AvailabilityZones []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 VPCZoneIdentifierproperty, or for attaching a network interface when an existing network interface ID is specified in a launch template.
- CapacityRebalance 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.
- CapacityReservation AutoSpecification Scaling Group Capacity Reservation Specification Args 
- The capacity reservation specification.
- 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: 300seconds
- DefaultInstance 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 InServicestate. 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-1for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0or other nominal value. Default: None
- DesiredCapacity 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.
- DesiredCapacity stringType 
- The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityTypefor attribute-based instance type selection only. For more information, see Create a mixed instances 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
- HealthCheck 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 InServicestate. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0seconds
- HealthCheck stringType 
- A comma-separated value string of one or more health check types.
The valid values are EC2,EBS,ELB, andVPC_LATTICE.EC2is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2if you must clear a value that was previously set.
- InstanceId 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.
- InstanceMaintenance AutoPolicy Scaling Group Instance Maintenance Policy Args 
- An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
- LaunchConfiguration stringName 
- The name of the launch configuration to use to launch instances.
Required only if you don't specify LaunchTemplate,MixedInstancesPolicy, orInstanceId.
- LaunchTemplate AutoScaling Group Launch Template Specification Args 
- 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.
- LifecycleHook []AutoSpecification List Scaling Group Lifecycle Hook Specification Args 
- One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- LoadBalancer []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 TargetGroupARNsproperty instead.
- MaxInstance 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 Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- MetricsCollection []AutoScaling Group Metrics Collection Args 
- Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- MixedInstances AutoPolicy Scaling Group Mixed Instances Policy Args 
- 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.
- NewInstances 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 Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- NotificationConfiguration AutoScaling Group Notification Configuration Args 
- NotificationConfigurations []AutoScaling Group Notification Configuration Args 
- Configures an Auto Scaling group to send notifications when specified events take place.
- PlacementGroup 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.
- ServiceLinked 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.
- SkipZonal boolShift Validation 
- 
[]AutoScaling Group Tag Property Args 
- 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.
- TargetGroup []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.
- TerminationPolicies []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 Configure termination policies for Amazon EC2 Auto Scaling 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
- TrafficSources []AutoScaling Group Traffic Source Identifier Args 
- The traffic sources associated with this Auto Scaling group.
- VpcZone []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 specifyVPCZoneIdentifierwithAvailabilityZones, the subnets that you specify for this property must reside in those Availability Zones.
- maxSize 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 MaxSizeto meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSizeby more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
- minSize String
- The minimum size of the group.
- autoScaling 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.
- availabilityZone AutoDistribution Scaling Group Availability Zone Distribution 
- The instance capacity distribution across Availability Zones.
- availabilityZone AutoImpairment Policy Scaling Group Availability Zone Impairment Policy 
- The Availability Zone impairment policy.
- availabilityZones 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 VPCZoneIdentifierproperty, or for attaching a network interface when an existing network interface ID is specified in a launch template.
- capacityRebalance 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.
- capacityReservation AutoSpecification Scaling Group Capacity Reservation Specification 
- The capacity reservation specification.
- 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: 300seconds
- defaultInstance 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 InServicestate. 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-1for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0or other nominal value. Default: None
- desiredCapacity 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.
- desiredCapacity StringType 
- The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityTypefor attribute-based instance type selection only. For more information, see Create a mixed instances 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
- healthCheck 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 InServicestate. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0seconds
- healthCheck StringType 
- A comma-separated value string of one or more health check types.
The valid values are EC2,EBS,ELB, andVPC_LATTICE.EC2is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2if you must clear a value that was previously set.
- instanceId 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.
- instanceMaintenance AutoPolicy Scaling Group Instance Maintenance Policy 
- An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
- launchConfiguration StringName 
- The name of the launch configuration to use to launch instances.
Required only if you don't specify LaunchTemplate,MixedInstancesPolicy, orInstanceId.
- launchTemplate AutoScaling Group 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.
- lifecycleHook List<AutoSpecification List Scaling Group Lifecycle Hook Specification> 
- One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- loadBalancer 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 TargetGroupARNsproperty instead.
- maxInstance 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 Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- metricsCollection List<AutoScaling Group Metrics Collection> 
- Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- mixedInstances AutoPolicy Scaling Group 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.
- newInstances 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 Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notificationConfiguration AutoScaling Group Notification Configuration 
- notificationConfigurations List<AutoScaling Group Notification Configuration> 
- Configures an Auto Scaling group to send notifications when specified events take place.
- placementGroup 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.
- serviceLinked 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.
- skipZonal BooleanShift Validation 
- 
List<AutoScaling Group 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.
- targetGroup 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.
- terminationPolicies 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 Configure termination policies for Amazon EC2 Auto Scaling 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
- trafficSources List<AutoScaling Group Traffic Source Identifier> 
- The traffic sources associated with this Auto Scaling group.
- vpcZone 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 specifyVPCZoneIdentifierwithAvailabilityZones, the subnets that you specify for this property must reside in those Availability Zones.
- maxSize 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 MaxSizeto meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSizeby more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
- minSize string
- The minimum size of the group.
- autoScaling 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.
- availabilityZone AutoDistribution Scaling Group Availability Zone Distribution 
- The instance capacity distribution across Availability Zones.
- availabilityZone AutoImpairment Policy Scaling Group Availability Zone Impairment Policy 
- The Availability Zone impairment policy.
- availabilityZones 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 VPCZoneIdentifierproperty, or for attaching a network interface when an existing network interface ID is specified in a launch template.
- capacityRebalance 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.
- capacityReservation AutoSpecification Scaling Group Capacity Reservation Specification 
- The capacity reservation specification.
- 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: 300seconds
- defaultInstance 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 InServicestate. 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-1for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0or other nominal value. Default: None
- desiredCapacity 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.
- desiredCapacity stringType 
- The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityTypefor attribute-based instance type selection only. For more information, see Create a mixed instances 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
- healthCheck 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 InServicestate. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0seconds
- healthCheck stringType 
- A comma-separated value string of one or more health check types.
The valid values are EC2,EBS,ELB, andVPC_LATTICE.EC2is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2if you must clear a value that was previously set.
- instanceId 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.
- instanceMaintenance AutoPolicy Scaling Group Instance Maintenance Policy 
- An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
- launchConfiguration stringName 
- The name of the launch configuration to use to launch instances.
Required only if you don't specify LaunchTemplate,MixedInstancesPolicy, orInstanceId.
- launchTemplate AutoScaling Group 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.
- lifecycleHook AutoSpecification List Scaling Group Lifecycle Hook Specification[] 
- One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- loadBalancer 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 TargetGroupARNsproperty instead.
- maxInstance 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 Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- metricsCollection AutoScaling Group Metrics Collection[] 
- Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- mixedInstances AutoPolicy Scaling Group 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.
- newInstances 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 Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notificationConfiguration AutoScaling Group Notification Configuration 
- notificationConfigurations AutoScaling Group Notification Configuration[] 
- Configures an Auto Scaling group to send notifications when specified events take place.
- placementGroup 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.
- serviceLinked 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.
- skipZonal booleanShift Validation 
- 
AutoScaling Group 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.
- targetGroup 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.
- terminationPolicies 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 Configure termination policies for Amazon EC2 Auto Scaling 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
- trafficSources AutoScaling Group Traffic Source Identifier[] 
- The traffic sources associated with this Auto Scaling group.
- vpcZone 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 specifyVPCZoneIdentifierwithAvailabilityZones, the subnets that you specify for this property must reside in those Availability Zones.
- 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 MaxSizeto meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSizeby more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
- min_size str
- The minimum size of the group.
- 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_zone_ Autodistribution Scaling Group Availability Zone Distribution Args 
- The instance capacity distribution across Availability Zones.
- availability_zone_ Autoimpairment_ policy Scaling Group Availability Zone Impairment Policy Args 
- The Availability Zone impairment policy.
- 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 VPCZoneIdentifierproperty, 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.
- capacity_reservation_ Autospecification Scaling Group Capacity Reservation Specification Args 
- The capacity reservation specification.
- 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: 300seconds
- 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 InServicestate. 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-1for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0or 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 DesiredCapacityTypefor attribute-based instance type selection only. For more information, see Create a mixed instances 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 InServicestate. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0seconds
- health_check_ strtype 
- A comma-separated value string of one or more health check types.
The valid values are EC2,EBS,ELB, andVPC_LATTICE.EC2is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2if 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_ Autopolicy Scaling Group Instance Maintenance Policy Args 
- An instance maintenance policy. For more information, see Set instance maintenance policy 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 AutoScaling Group Launch Template Specification Args 
- 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.
- lifecycle_hook_ Sequence[Autospecification_ list Scaling Group Lifecycle Hook Specification Args] 
- 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 TargetGroupARNsproperty 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 Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- metrics_collection Sequence[AutoScaling Group Metrics Collection Args] 
- Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- mixed_instances_ Autopolicy Scaling Group Mixed Instances Policy Args 
- 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.
- 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 Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notification_configuration AutoScaling Group Notification Configuration Args 
- notification_configurations Sequence[AutoScaling Group Notification Configuration Args] 
- 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.
- skip_zonal_ boolshift_ validation 
- 
Sequence[AutoScaling Group Tag Property Args] 
- 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 Configure termination policies for Amazon EC2 Auto Scaling 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
- traffic_sources Sequence[AutoScaling Group Traffic Source Identifier Args] 
- The traffic sources associated with this Auto Scaling group.
- 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 specifyVPCZoneIdentifierwithAvailabilityZones, the subnets that you specify for this property must reside in those Availability Zones.
- maxSize 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 MaxSizeto meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go aboveMaxSizeby more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
- minSize String
- The minimum size of the group.
- autoScaling 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.
- availabilityZone Property MapDistribution 
- The instance capacity distribution across Availability Zones.
- availabilityZone Property MapImpairment Policy 
- The Availability Zone impairment policy.
- availabilityZones 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 VPCZoneIdentifierproperty, or for attaching a network interface when an existing network interface ID is specified in a launch template.
- capacityRebalance 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.
- capacityReservation Property MapSpecification 
- The capacity reservation specification.
- 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: 300seconds
- defaultInstance 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 InServicestate. 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-1for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of0or other nominal value. Default: None
- desiredCapacity 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.
- desiredCapacity StringType 
- The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityTypefor attribute-based instance type selection only. For more information, see Create a mixed instances 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
- healthCheck 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 InServicestate. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default:0seconds
- healthCheck StringType 
- A comma-separated value string of one or more health check types.
The valid values are EC2,EBS,ELB, andVPC_LATTICE.EC2is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specifyEC2if you must clear a value that was previously set.
- instanceId 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.
- instanceMaintenance Property MapPolicy 
- An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.
- launchConfiguration StringName 
- The name of the launch configuration to use to launch instances.
Required only if you don't specify LaunchTemplate,MixedInstancesPolicy, orInstanceId.
- launchTemplate 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.
- lifecycleHook List<Property Map>Specification List 
- One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
- loadBalancer 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 TargetGroupARNsproperty instead.
- maxInstance 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 Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.
- metricsCollection List<Property Map>
- Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled.
- mixedInstances 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.
- newInstances 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 Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.
- notificationConfiguration Property Map
- notificationConfigurations List<Property Map>
- Configures an Auto Scaling group to send notifications when specified events take place.
- placementGroup 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.
- serviceLinked 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.
- skipZonal BooleanShift Validation 
- 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.
- targetGroup 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.
- terminationPolicies 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 Configure termination policies for Amazon EC2 Auto Scaling 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
- trafficSources List<Property Map>
- The traffic sources associated with this Auto Scaling group.
- vpcZone 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 specifyVPCZoneIdentifierwithAvailabilityZones, the subnets that you specify for this property must reside in those Availability Zones.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoScalingGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AutoScalingGroupAcceleratorCountRequest, AutoScalingGroupAcceleratorCountRequestArgs            
AutoScalingGroupAcceleratorTotalMemoryMiBRequest, AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgs                
AutoScalingGroupAvailabilityZoneDistribution, AutoScalingGroupAvailabilityZoneDistributionArgs            
- CapacityDistribution Pulumi.Strategy Aws Native. Auto Scaling. Auto Scaling Group Availability Zone Distribution Capacity Distribution Strategy 
- If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.- balanced-only- If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.
- balanced-best-effort- If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.
 
- CapacityDistribution AutoStrategy Scaling Group Availability Zone Distribution Capacity Distribution Strategy 
- If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.- balanced-only- If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.
- balanced-best-effort- If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.
 
- capacityDistribution AutoStrategy Scaling Group Availability Zone Distribution Capacity Distribution Strategy 
- If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.- balanced-only- If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.
- balanced-best-effort- If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.
 
- capacityDistribution AutoStrategy Scaling Group Availability Zone Distribution Capacity Distribution Strategy 
- If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.- balanced-only- If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.
- balanced-best-effort- If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.
 
- capacity_distribution_ Autostrategy Scaling Group Availability Zone Distribution Capacity Distribution Strategy 
- If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.- balanced-only- If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.
- balanced-best-effort- If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.
 
- capacityDistribution "balanced-best-effort" | "balanced-only"Strategy 
- If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.- balanced-only- If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.
- balanced-best-effort- If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.
 
AutoScalingGroupAvailabilityZoneDistributionCapacityDistributionStrategy, AutoScalingGroupAvailabilityZoneDistributionCapacityDistributionStrategyArgs                  
- BalancedBest Effort 
- balanced-best-effort
- BalancedOnly 
- balanced-only
- AutoScaling Group Availability Zone Distribution Capacity Distribution Strategy Balanced Best Effort 
- balanced-best-effort
- AutoScaling Group Availability Zone Distribution Capacity Distribution Strategy Balanced Only 
- balanced-only
- BalancedBest Effort 
- balanced-best-effort
- BalancedOnly 
- balanced-only
- BalancedBest Effort 
- balanced-best-effort
- BalancedOnly 
- balanced-only
- BALANCED_BEST_EFFORT
- balanced-best-effort
- BALANCED_ONLY
- balanced-only
- "balanced-best-effort"
- balanced-best-effort
- "balanced-only"
- balanced-only
AutoScalingGroupAvailabilityZoneImpairmentPolicy, AutoScalingGroupAvailabilityZoneImpairmentPolicyArgs              
- ImpairedZone Pulumi.Health Check Behavior Aws Native. Auto Scaling. Auto Scaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior 
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
- ZonalShift boolEnabled 
- If true, enable zonal shift for your Auto Scaling group.
- ImpairedZone AutoHealth Check Behavior Scaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior 
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
- ZonalShift boolEnabled 
- If true, enable zonal shift for your Auto Scaling group.
- impairedZone AutoHealth Check Behavior Scaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior 
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
- zonalShift BooleanEnabled 
- If true, enable zonal shift for your Auto Scaling group.
- impairedZone AutoHealth Check Behavior Scaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior 
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
- zonalShift booleanEnabled 
- If true, enable zonal shift for your Auto Scaling group.
- impaired_zone_ Autohealth_ check_ behavior Scaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior 
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
- zonal_shift_ boolenabled 
- If true, enable zonal shift for your Auto Scaling group.
- impairedZone "IgnoreHealth Check Behavior Unhealthy" | "Replace Unhealthy" 
- Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you selectIgnore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
- zonalShift BooleanEnabled 
- If true, enable zonal shift for your Auto Scaling group.
AutoScalingGroupAvailabilityZoneImpairmentPolicyImpairedZoneHealthCheckBehavior, AutoScalingGroupAvailabilityZoneImpairmentPolicyImpairedZoneHealthCheckBehaviorArgs                        
- IgnoreUnhealthy 
- IgnoreUnhealthy
- ReplaceUnhealthy 
- ReplaceUnhealthy
- AutoScaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior Ignore Unhealthy 
- IgnoreUnhealthy
- AutoScaling Group Availability Zone Impairment Policy Impaired Zone Health Check Behavior Replace Unhealthy 
- ReplaceUnhealthy
- IgnoreUnhealthy 
- IgnoreUnhealthy
- ReplaceUnhealthy 
- ReplaceUnhealthy
- IgnoreUnhealthy 
- IgnoreUnhealthy
- ReplaceUnhealthy 
- ReplaceUnhealthy
- IGNORE_UNHEALTHY
- IgnoreUnhealthy
- REPLACE_UNHEALTHY
- ReplaceUnhealthy
- "IgnoreUnhealthy" 
- IgnoreUnhealthy
- "ReplaceUnhealthy" 
- ReplaceUnhealthy
AutoScalingGroupBaselineEbsBandwidthMbpsRequest, AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgs                
AutoScalingGroupBaselinePerformanceFactorsRequest, AutoScalingGroupBaselinePerformanceFactorsRequestArgs              
- Cpu
Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Cpu Performance Factor Request 
- The CPU performance to consider, using an instance family as the baseline reference.
- Cpu
AutoScaling Group Cpu Performance Factor Request 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu
AutoScaling Group Cpu Performance Factor Request 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu
AutoScaling Group Cpu Performance Factor Request 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu
AutoScaling Group Cpu Performance Factor Request 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu Property Map
- The CPU performance to consider, using an instance family as the baseline reference.
AutoScalingGroupCapacityReservationSpecification, AutoScalingGroupCapacityReservationSpecificationArgs            
- CapacityReservation stringPreference 
- The capacity reservation preference. The following options are available:- capacity-reservations-only- Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
- capacity-reservations-first- Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
- none- Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
- default- Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
 
- CapacityReservation Pulumi.Target Aws Native. Auto Scaling. Inputs. Auto Scaling Group Capacity Reservation Target 
- Describes a target Capacity Reservation or Capacity Reservation resource group.
- CapacityReservation stringPreference 
- The capacity reservation preference. The following options are available:- capacity-reservations-only- Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
- capacity-reservations-first- Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
- none- Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
- default- Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
 
- CapacityReservation AutoTarget Scaling Group Capacity Reservation Target 
- Describes a target Capacity Reservation or Capacity Reservation resource group.
- capacityReservation StringPreference 
- The capacity reservation preference. The following options are available:- capacity-reservations-only- Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
- capacity-reservations-first- Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
- none- Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
- default- Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
 
- capacityReservation AutoTarget Scaling Group Capacity Reservation Target 
- Describes a target Capacity Reservation or Capacity Reservation resource group.
- capacityReservation stringPreference 
- The capacity reservation preference. The following options are available:- capacity-reservations-only- Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
- capacity-reservations-first- Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
- none- Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
- default- Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
 
- capacityReservation AutoTarget Scaling Group Capacity Reservation Target 
- Describes a target Capacity Reservation or Capacity Reservation resource group.
- capacity_reservation_ strpreference 
- The capacity reservation preference. The following options are available:- capacity-reservations-only- Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
- capacity-reservations-first- Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
- none- Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
- default- Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
 
- capacity_reservation_ Autotarget Scaling Group Capacity Reservation Target 
- Describes a target Capacity Reservation or Capacity Reservation resource group.
- capacityReservation StringPreference 
- The capacity reservation preference. The following options are available:- capacity-reservations-only- Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
- capacity-reservations-first- Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
- none- Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
- default- Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
 
- capacityReservation Property MapTarget 
- Describes a target Capacity Reservation or Capacity Reservation resource group.
AutoScalingGroupCapacityReservationTarget, AutoScalingGroupCapacityReservationTargetArgs            
- CapacityReservation List<string>Ids 
- The Capacity Reservation IDs to launch instances into.
- CapacityReservation List<string>Resource Group Arns 
- The resource group ARNs of the Capacity Reservation to launch instances into.
- CapacityReservation []stringIds 
- The Capacity Reservation IDs to launch instances into.
- CapacityReservation []stringResource Group Arns 
- The resource group ARNs of the Capacity Reservation to launch instances into.
- capacityReservation List<String>Ids 
- The Capacity Reservation IDs to launch instances into.
- capacityReservation List<String>Resource Group Arns 
- The resource group ARNs of the Capacity Reservation to launch instances into.
- capacityReservation string[]Ids 
- The Capacity Reservation IDs to launch instances into.
- capacityReservation string[]Resource Group Arns 
- The resource group ARNs of the Capacity Reservation to launch instances into.
- capacity_reservation_ Sequence[str]ids 
- The Capacity Reservation IDs to launch instances into.
- capacity_reservation_ Sequence[str]resource_ group_ arns 
- The resource group ARNs of the Capacity Reservation to launch instances into.
- capacityReservation List<String>Ids 
- The Capacity Reservation IDs to launch instances into.
- capacityReservation List<String>Resource Group Arns 
- The resource group ARNs of the Capacity Reservation to launch instances into.
AutoScalingGroupCpuPerformanceFactorRequest, AutoScalingGroupCpuPerformanceFactorRequestArgs              
- References
List<Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Performance Factor Reference Request> 
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. - Currently only one instance family can be specified in the list. 
- References
[]AutoScaling Group Performance Factor Reference Request 
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. - Currently only one instance family can be specified in the list. 
- references
List<AutoScaling Group Performance Factor Reference Request> 
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. - Currently only one instance family can be specified in the list. 
- references
AutoScaling Group Performance Factor Reference Request[] 
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. - Currently only one instance family can be specified in the list. 
- references
Sequence[AutoScaling Group Performance Factor Reference Request] 
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. - Currently only one instance family can be specified in the list. 
- references List<Property Map>
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. - Currently only one instance family can be specified in the list. 
AutoScalingGroupInstanceMaintenancePolicy, AutoScalingGroupInstanceMaintenancePolicyArgs            
- MaxHealthy 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. BothMinHealthyPercentageandMaxHealthyPercentagemust 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.
- MinHealthy 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.
- MaxHealthy 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. BothMinHealthyPercentageandMaxHealthyPercentagemust 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.
- MinHealthy 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.
- maxHealthy 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. BothMinHealthyPercentageandMaxHealthyPercentagemust 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.
- minHealthy 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.
- maxHealthy 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. BothMinHealthyPercentageandMaxHealthyPercentagemust 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.
- minHealthy 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. BothMinHealthyPercentageandMaxHealthyPercentagemust 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.
- maxHealthy 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. BothMinHealthyPercentageandMaxHealthyPercentagemust 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.
- minHealthy 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.
AutoScalingGroupInstanceRequirements, AutoScalingGroupInstanceRequirementsArgs          
- MemoryMi Pulumi.B Aws Native. Auto Scaling. Inputs. Auto Scaling Group Memory Mi BRequest 
- The minimum and maximum instance memory size for an instance type, in MiB.
- VCpuCount Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group VCpu Count Request 
- The minimum and maximum number of vCPUs for an instance type.
- AcceleratorCount Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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 Maxto0. Default: No minimum or maximum limits
- AcceleratorManufacturers 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, specify amd.
- For instance types with AWS devices, specify amazon-web-services.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with NVIDIA devices, specify 
- AcceleratorNames 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, specify v100.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
 - Default: Any accelerator 
- For instance types with NVIDIA A100 GPUs, specify 
- AcceleratorTotal Pulumi.Memory Mi B Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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
- AcceleratorTypes 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, specify fpga.
- For instance types with inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with GPU accelerators, specify 
- AllowedInstance 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
- BareMetal string
- Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
- BaselineEbs Pulumi.Bandwidth Mbps Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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
- BaselinePerformance Pulumi.Factors Aws Native. Auto Scaling. Inputs. Auto Scaling Group Baseline Performance Factors Request 
- The baseline performance factors for the instance requirements.
- BurstablePerformance 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
- CpuManufacturers List<string>
- Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-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 
- For instance types with Intel CPUs, specify 
- ExcludedInstance 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
- InstanceGenerations 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, specify previous.
 - Default: Any current or previous generation 
- For current generation instance types, specify 
- LocalStorage 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
- LocalStorage 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, specify ssd.
 - Default: Any local storage type 
- For instance types with hard disk drive (HDD) storage, specify 
- MaxSpot 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- MemoryGi Pulumi.BPer VCpu Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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
- NetworkBandwidth Pulumi.Gbps Aws Native. Auto Scaling. Inputs. Auto Scaling Group Network Bandwidth Gbps Request 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- NetworkInterface Pulumi.Count Aws Native. Auto Scaling. Inputs. Auto Scaling Group Network Interface Count Request 
- The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
- OnDemand 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 setDesiredCapacityTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- RequireHibernate boolSupport 
- Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
- SpotMax 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- TotalLocal Pulumi.Storage Gb Aws Native. Auto Scaling. Inputs. Auto Scaling Group Total Local Storage Gb Request 
- The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
- MemoryMi AutoB Scaling Group Memory Mi BRequest 
- The minimum and maximum instance memory size for an instance type, in MiB.
- VCpuCount AutoScaling Group VCpu Count Request 
- The minimum and maximum number of vCPUs for an instance type.
- AcceleratorCount AutoScaling Group 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 Maxto0. Default: No minimum or maximum limits
- AcceleratorManufacturers []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, specify amd.
- For instance types with AWS devices, specify amazon-web-services.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with NVIDIA devices, specify 
- AcceleratorNames []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, specify v100.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
 - Default: Any accelerator 
- For instance types with NVIDIA A100 GPUs, specify 
- AcceleratorTotal AutoMemory Mi B Scaling Group 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
- AcceleratorTypes []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, specify fpga.
- For instance types with inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with GPU accelerators, specify 
- AllowedInstance []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
- BareMetal string
- Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
- BaselineEbs AutoBandwidth Mbps Scaling Group 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
- BaselinePerformance AutoFactors Scaling Group Baseline Performance Factors Request 
- The baseline performance factors for the instance requirements.
- BurstablePerformance 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
- CpuManufacturers []string
- Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-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 
- For instance types with Intel CPUs, specify 
- ExcludedInstance []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
- InstanceGenerations []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, specify previous.
 - Default: Any current or previous generation 
- For current generation instance types, specify 
- LocalStorage 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
- LocalStorage []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, specify ssd.
 - Default: Any local storage type 
- For instance types with hard disk drive (HDD) storage, specify 
- MaxSpot 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- MemoryGi AutoBPer VCpu Scaling Group 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
- NetworkBandwidth AutoGbps Scaling Group Network Bandwidth Gbps Request 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- NetworkInterface AutoCount Scaling Group Network Interface Count Request 
- The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
- OnDemand 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 setDesiredCapacityTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- RequireHibernate boolSupport 
- Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
- SpotMax 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- TotalLocal AutoStorage Gb Scaling Group Total Local Storage Gb Request 
- The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
- memoryMi AutoB Scaling Group Memory Mi BRequest 
- The minimum and maximum instance memory size for an instance type, in MiB.
- vCpu AutoCount Scaling Group VCpu Count Request 
- The minimum and maximum number of vCPUs for an instance type.
- acceleratorCount AutoScaling Group 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 Maxto0. Default: No minimum or maximum limits
- acceleratorManufacturers 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, specify amd.
- For instance types with AWS devices, specify amazon-web-services.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with NVIDIA devices, specify 
- acceleratorNames 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, specify v100.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
 - Default: Any accelerator 
- For instance types with NVIDIA A100 GPUs, specify 
- acceleratorTotal AutoMemory Mi B Scaling Group 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
- acceleratorTypes 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, specify fpga.
- For instance types with inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with GPU accelerators, specify 
- allowedInstance 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
- bareMetal String
- Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
- baselineEbs AutoBandwidth Mbps Scaling Group 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
- baselinePerformance AutoFactors Scaling Group Baseline Performance Factors Request 
- The baseline performance factors for the instance requirements.
- burstablePerformance 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
- cpuManufacturers List<String>
- Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-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 
- For instance types with Intel CPUs, specify 
- excludedInstance 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
- instanceGenerations 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, specify previous.
 - Default: Any current or previous generation 
- For current generation instance types, specify 
- localStorage 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
- localStorage 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, specify ssd.
 - Default: Any local storage type 
- For instance types with hard disk drive (HDD) storage, specify 
- maxSpot 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memoryGi AutoBPer VCpu Scaling Group 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
- networkBandwidth AutoGbps Scaling Group Network Bandwidth Gbps Request 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- networkInterface AutoCount Scaling Group Network Interface Count Request 
- The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
- onDemand 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 setDesiredCapacityTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- requireHibernate BooleanSupport 
- Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
- spotMax 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- totalLocal AutoStorage Gb Scaling Group Total Local Storage Gb Request 
- The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
- memoryMi AutoB Scaling Group Memory Mi BRequest 
- The minimum and maximum instance memory size for an instance type, in MiB.
- vCpu AutoCount Scaling Group VCpu Count Request 
- The minimum and maximum number of vCPUs for an instance type.
- acceleratorCount AutoScaling Group 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 Maxto0. Default: No minimum or maximum limits
- acceleratorManufacturers 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, specify amd.
- For instance types with AWS devices, specify amazon-web-services.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with NVIDIA devices, specify 
- acceleratorNames 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, specify v100.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
 - Default: Any accelerator 
- For instance types with NVIDIA A100 GPUs, specify 
- acceleratorTotal AutoMemory Mi B Scaling Group 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
- acceleratorTypes 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, specify fpga.
- For instance types with inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with GPU accelerators, specify 
- allowedInstance 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
- bareMetal string
- Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
- baselineEbs AutoBandwidth Mbps Scaling Group 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
- baselinePerformance AutoFactors Scaling Group Baseline Performance Factors Request 
- The baseline performance factors for the instance requirements.
- burstablePerformance 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
- cpuManufacturers string[]
- Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-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 
- For instance types with Intel CPUs, specify 
- excludedInstance 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
- instanceGenerations 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, specify previous.
 - Default: Any current or previous generation 
- For current generation instance types, specify 
- localStorage 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
- localStorage 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, specify ssd.
 - Default: Any local storage type 
- For instance types with hard disk drive (HDD) storage, specify 
- maxSpot 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memoryGi AutoBPer VCpu Scaling Group 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
- networkBandwidth AutoGbps Scaling Group Network Bandwidth Gbps Request 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- networkInterface AutoCount Scaling Group Network Interface Count Request 
- The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
- onDemand 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 setDesiredCapacityTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- requireHibernate booleanSupport 
- Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
- spotMax 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- totalLocal AutoStorage Gb Scaling Group Total Local Storage Gb Request 
- The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
- memory_mi_ Autob Scaling Group Memory Mi BRequest 
- The minimum and maximum instance memory size for an instance type, in MiB.
- v_cpu_ Autocount Scaling Group VCpu Count Request 
- The minimum and maximum number of vCPUs for an instance type.
- accelerator_count AutoScaling Group 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 Maxto0. Default: No minimum or maximum limits
- 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, specify amd.
- For instance types with AWS devices, specify amazon-web-services.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with NVIDIA devices, specify 
- 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, specify v100.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
 - Default: Any accelerator 
- For instance types with NVIDIA A100 GPUs, specify 
- accelerator_total_ Automemory_ mi_ b Scaling Group 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
- 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, specify fpga.
- For instance types with inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with GPU accelerators, specify 
- 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_ Autobandwidth_ mbps Scaling Group 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
- baseline_performance_ Autofactors Scaling Group Baseline Performance Factors Request 
- The baseline performance factors for the instance requirements.
- 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, specify amd.
- For instance types with AWS CPUs, specify amazon-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 
- For instance types with Intel CPUs, specify 
- 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, specify previous.
 - Default: Any current or previous generation 
- For current generation instance types, specify 
- 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, specify ssd.
 - Default: Any local storage type 
- For instance types with hard disk drive (HDD) storage, specify 
- 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memory_gi_ Autob_ per_ v_ cpu Scaling Group 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
- network_bandwidth_ Autogbps Scaling Group Network Bandwidth Gbps Request 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- network_interface_ Autocount Scaling Group Network Interface Count Request 
- The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
- 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 setDesiredCapacityTypetovcpuormemory-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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- total_local_ Autostorage_ gb Scaling Group Total Local Storage Gb Request 
- The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
- memoryMi Property MapB 
- The minimum and maximum instance memory size for an instance type, in MiB.
- vCpu Property MapCount 
- The minimum and maximum number of vCPUs for an instance type.
- acceleratorCount 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 Maxto0. Default: No minimum or maximum limits
- acceleratorManufacturers 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, specify amd.
- For instance types with AWS devices, specify amazon-web-services.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with NVIDIA devices, specify 
- acceleratorNames 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, specify v100.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
 - Default: Any accelerator 
- For instance types with NVIDIA A100 GPUs, specify 
- acceleratorTotal 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
- acceleratorTypes 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, specify fpga.
- For instance types with inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with GPU accelerators, specify 
- allowedInstance 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
- bareMetal String
- Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
- baselineEbs 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
- baselinePerformance Property MapFactors 
- The baseline performance factors for the instance requirements.
- burstablePerformance 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
- cpuManufacturers List<String>
- Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-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 
- For instance types with Intel CPUs, specify 
- excludedInstance 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
- instanceGenerations 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, specify previous.
 - Default: Any current or previous generation 
- For current generation instance types, specify 
- localStorage 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
- localStorage 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, specify ssd.
 - Default: Any local storage type 
- For instance types with hard disk drive (HDD) storage, specify 
- maxSpot 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memoryGi Property MapBPer VCpu 
- The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
- networkBandwidth Property MapGbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- networkInterface Property MapCount 
- The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
- onDemand 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 setDesiredCapacityTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default:20
- requireHibernate BooleanSupport 
- Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
- spotMax 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.
If you set DesiredCapacityTypetovcpuormemory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- totalLocal Property MapStorage Gb 
- The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
AutoScalingGroupInstancesDistribution, AutoScalingGroupInstancesDistributionArgs          
- OnDemand 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.
 
- OnDemand 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.
- OnDemand 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.
- SpotAllocation 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.
 
- SpotInstance 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 SpotAllocationStrategyislowest-price. Value must be in the range of 1–20. Default: 2
- SpotMax 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
- OnDemand 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.
 
- OnDemand 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.
- OnDemand 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.
- SpotAllocation 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.
 
- SpotInstance 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 SpotAllocationStrategyislowest-price. Value must be in the range of 1–20. Default: 2
- SpotMax 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
- onDemand 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.
 
- onDemand 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.
- onDemand 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.
- spotAllocation 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.
 
- spotInstance 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 SpotAllocationStrategyislowest-price. Value must be in the range of 1–20. Default: 2
- spotMax 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
- onDemand 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.
 
- onDemand 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.
- onDemand 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.
- spotAllocation 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.
 
- spotInstance 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 SpotAllocationStrategyislowest-price. Value must be in the range of 1–20. Default: 2
- spotMax 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 SpotAllocationStrategyislowest-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
- onDemand 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.
 
- onDemand 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.
- onDemand 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.
- spotAllocation 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.
 
- spotInstance 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 SpotAllocationStrategyislowest-price. Value must be in the range of 1–20. Default: 2
- spotMax 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
AutoScalingGroupLaunchTemplate, AutoScalingGroupLaunchTemplateArgs          
- LaunchTemplate Pulumi.Specification Aws Native. Auto Scaling. Inputs. Auto Scaling Group Launch Template Specification 
- The launch template.
- Overrides
List<Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Launch Template Overrides> 
- Any properties that you specify override the same properties in the launch template.
- LaunchTemplate AutoSpecification Scaling Group Launch Template Specification 
- The launch template.
- Overrides
[]AutoScaling Group Launch Template Overrides 
- Any properties that you specify override the same properties in the launch template.
- launchTemplate AutoSpecification Scaling Group Launch Template Specification 
- The launch template.
- overrides
List<AutoScaling Group Launch Template Overrides> 
- Any properties that you specify override the same properties in the launch template.
- launchTemplate AutoSpecification Scaling Group Launch Template Specification 
- The launch template.
- overrides
AutoScaling Group Launch Template Overrides[] 
- Any properties that you specify override the same properties in the launch template.
- launch_template_ Autospecification Scaling Group Launch Template Specification 
- The launch template.
- overrides
Sequence[AutoScaling Group Launch Template Overrides] 
- Any properties that you specify override the same properties in the launch template.
- launchTemplate Property MapSpecification 
- The launch template.
- overrides List<Property Map>
- Any properties that you specify override the same properties in the launch template.
AutoScalingGroupLaunchTemplateOverrides, AutoScalingGroupLaunchTemplateOverridesArgs            
- InstanceRequirements Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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.
- InstanceType 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 EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group.
- LaunchTemplate Pulumi.Specification Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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 LaunchTemplatedefinition. 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 theLaunchTemplatedefinition count towards this limit.
- WeightedCapacity 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 WeightedCapacityof 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 forWeightedCapacityfor one instance type, you must specify a value forWeightedCapacityfor 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.
- InstanceRequirements AutoScaling Group 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.
- InstanceType 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 EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group.
- LaunchTemplate AutoSpecification Scaling Group 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 LaunchTemplatedefinition. 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 theLaunchTemplatedefinition count towards this limit.
- WeightedCapacity 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 WeightedCapacityof 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 forWeightedCapacityfor one instance type, you must specify a value forWeightedCapacityfor 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.
- instanceRequirements AutoScaling Group 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.
- instanceType 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 EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group.
- launchTemplate AutoSpecification Scaling Group 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 LaunchTemplatedefinition. 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 theLaunchTemplatedefinition count towards this limit.
- weightedCapacity 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 WeightedCapacityof 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 forWeightedCapacityfor one instance type, you must specify a value forWeightedCapacityfor 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.
- instanceRequirements AutoScaling Group 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.
- instanceType 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 EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group.
- launchTemplate AutoSpecification Scaling Group 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 LaunchTemplatedefinition. 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 theLaunchTemplatedefinition count towards this limit.
- weightedCapacity 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 WeightedCapacityof 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 forWeightedCapacityfor one instance type, you must specify a value forWeightedCapacityfor 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 AutoScaling Group 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.
- 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 EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group.
- launch_template_ Autospecification Scaling Group 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 LaunchTemplatedefinition. 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 theLaunchTemplatedefinition count towards this limit.
- 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 WeightedCapacityof 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 forWeightedCapacityfor one instance type, you must specify a value forWeightedCapacityfor 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.
- instanceRequirements 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.
- instanceType 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 EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group.
- launchTemplate 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 LaunchTemplatedefinition. 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 theLaunchTemplatedefinition count towards this limit.
- weightedCapacity 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 WeightedCapacityof 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 forWeightedCapacityfor one instance type, you must specify a value forWeightedCapacityfor 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.
AutoScalingGroupLaunchTemplateSpecification, AutoScalingGroupLaunchTemplateSpecificationArgs            
- Version string
- The version number of the launch template.
Specifying $Latestor$Defaultfor the template version number is not supported. However, you can specifyLatestVersionNumberorDefaultVersionNumberusing theFn::GetAttintrinsic function. For more information, see Fn::GetAtt. For an example of using theFn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupresource.
- LaunchTemplate stringId 
- The ID of the launch template.
You must specify the LaunchTemplateIDor theLaunchTemplateName, but not both.
- LaunchTemplate stringName 
- The name of the launch template.
You must specify the LaunchTemplateNameor theLaunchTemplateID, but not both.
- Version string
- The version number of the launch template.
Specifying $Latestor$Defaultfor the template version number is not supported. However, you can specifyLatestVersionNumberorDefaultVersionNumberusing theFn::GetAttintrinsic function. For more information, see Fn::GetAtt. For an example of using theFn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupresource.
- LaunchTemplate stringId 
- The ID of the launch template.
You must specify the LaunchTemplateIDor theLaunchTemplateName, but not both.
- LaunchTemplate stringName 
- The name of the launch template.
You must specify the LaunchTemplateNameor theLaunchTemplateID, but not both.
- version String
- The version number of the launch template.
Specifying $Latestor$Defaultfor the template version number is not supported. However, you can specifyLatestVersionNumberorDefaultVersionNumberusing theFn::GetAttintrinsic function. For more information, see Fn::GetAtt. For an example of using theFn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupresource.
- launchTemplate StringId 
- The ID of the launch template.
You must specify the LaunchTemplateIDor theLaunchTemplateName, but not both.
- launchTemplate StringName 
- The name of the launch template.
You must specify the LaunchTemplateNameor theLaunchTemplateID, but not both.
- version string
- The version number of the launch template.
Specifying $Latestor$Defaultfor the template version number is not supported. However, you can specifyLatestVersionNumberorDefaultVersionNumberusing theFn::GetAttintrinsic function. For more information, see Fn::GetAtt. For an example of using theFn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupresource.
- launchTemplate stringId 
- The ID of the launch template.
You must specify the LaunchTemplateIDor theLaunchTemplateName, but not both.
- launchTemplate stringName 
- The name of the launch template.
You must specify the LaunchTemplateNameor theLaunchTemplateID, but not both.
- version str
- The version number of the launch template.
Specifying $Latestor$Defaultfor the template version number is not supported. However, you can specifyLatestVersionNumberorDefaultVersionNumberusing theFn::GetAttintrinsic function. For more information, see Fn::GetAtt. For an example of using theFn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupresource.
- launch_template_ strid 
- The ID of the launch template.
You must specify the LaunchTemplateIDor theLaunchTemplateName, but not both.
- launch_template_ strname 
- The name of the launch template.
You must specify the LaunchTemplateNameor theLaunchTemplateID, but not both.
- version String
- The version number of the launch template.
Specifying $Latestor$Defaultfor the template version number is not supported. However, you can specifyLatestVersionNumberorDefaultVersionNumberusing theFn::GetAttintrinsic function. For more information, see Fn::GetAtt. For an example of using theFn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupresource.
- launchTemplate StringId 
- The ID of the launch template.
You must specify the LaunchTemplateIDor theLaunchTemplateName, but not both.
- launchTemplate StringName 
- The name of the launch template.
You must specify the LaunchTemplateNameor theLaunchTemplateID, but not both.
AutoScalingGroupLifecycleHookSpecification, AutoScalingGroupLifecycleHookSpecificationArgs            
- LifecycleHook stringName 
- The name of the lifecycle hook.
- LifecycleTransition 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, specify autoscaling:EC2_INSTANCE_TERMINATING.
 
- To create a lifecycle hook for scale-out events, specify 
- DefaultResult 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
- HeartbeatTimeout int
- The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30to7200seconds. The default value is3600seconds (1 hour).
- NotificationMetadata string
- Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- NotificationTarget 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.
- RoleArn 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 Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- LifecycleHook stringName 
- The name of the lifecycle hook.
- LifecycleTransition 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, specify autoscaling:EC2_INSTANCE_TERMINATING.
 
- To create a lifecycle hook for scale-out events, specify 
- DefaultResult 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
- HeartbeatTimeout int
- The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30to7200seconds. The default value is3600seconds (1 hour).
- NotificationMetadata string
- Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- NotificationTarget 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.
- RoleArn 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 Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- lifecycleHook StringName 
- The name of the lifecycle hook.
- lifecycleTransition 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, specify autoscaling:EC2_INSTANCE_TERMINATING.
 
- To create a lifecycle hook for scale-out events, specify 
- defaultResult 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
- heartbeatTimeout Integer
- The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30to7200seconds. The default value is3600seconds (1 hour).
- notificationMetadata String
- Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notificationTarget 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.
- roleArn 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 Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- lifecycleHook stringName 
- The name of the lifecycle hook.
- lifecycleTransition 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, specify autoscaling:EC2_INSTANCE_TERMINATING.
 
- To create a lifecycle hook for scale-out events, specify 
- defaultResult 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
- heartbeatTimeout number
- The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30to7200seconds. The default value is3600seconds (1 hour).
- notificationMetadata string
- Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notificationTarget 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.
- roleArn 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 Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- 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, specify autoscaling:EC2_INSTANCE_TERMINATING.
 
- To create a lifecycle hook for scale-out events, specify 
- 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 30to7200seconds. The default value is3600seconds (1 hour).
- 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 Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
- lifecycleHook StringName 
- The name of the lifecycle hook.
- lifecycleTransition 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, specify autoscaling:EC2_INSTANCE_TERMINATING.
 
- To create a lifecycle hook for scale-out events, specify 
- defaultResult 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
- heartbeatTimeout Number
- The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30to7200seconds. The default value is3600seconds (1 hour).
- notificationMetadata String
- Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
- notificationTarget 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.
- roleArn 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 Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
AutoScalingGroupMemoryGiBPerVCpuRequest, AutoScalingGroupMemoryGiBPerVCpuRequestArgs                
AutoScalingGroupMemoryMiBRequest, AutoScalingGroupMemoryMiBRequestArgs            
AutoScalingGroupMetricsCollection, AutoScalingGroupMetricsCollectionArgs          
- 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 specify - Granularityand don't specify any metrics, all metrics are enabled. For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 specify - Granularityand don't specify any metrics, all metrics are enabled. For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 specify - Granularityand don't specify any metrics, all metrics are enabled. For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 specify - Granularityand don't specify any metrics, all metrics are enabled. For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 specify - Granularityand don't specify any metrics, all metrics are enabled. For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling 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 specify - Granularityand don't specify any metrics, all metrics are enabled. For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
AutoScalingGroupMixedInstancesPolicy, AutoScalingGroupMixedInstancesPolicyArgs            
- LaunchTemplate Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group 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.
- InstancesDistribution Pulumi.Aws Native. Auto Scaling. Inputs. Auto Scaling Group Instances Distribution 
- The instances distribution.
- LaunchTemplate AutoScaling Group 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.
- InstancesDistribution AutoScaling Group Instances Distribution 
- The instances distribution.
- launchTemplate AutoScaling Group 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.
- instancesDistribution AutoScaling Group Instances Distribution 
- The instances distribution.
- launchTemplate AutoScaling Group 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.
- instancesDistribution AutoScaling Group Instances Distribution 
- The instances distribution.
- launch_template AutoScaling Group 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.
- instances_distribution AutoScaling Group Instances Distribution 
- The instances distribution.
- launchTemplate 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.
- instancesDistribution Property Map
- The instances distribution.
AutoScalingGroupNetworkBandwidthGbpsRequest, AutoScalingGroupNetworkBandwidthGbpsRequestArgs              
AutoScalingGroupNetworkInterfaceCountRequest, AutoScalingGroupNetworkInterfaceCountRequestArgs              
AutoScalingGroupNotificationConfiguration, AutoScalingGroupNotificationConfigurationArgs          
- TopicArn List<string>
- The Amazon Resource Name (ARN) of the Amazon SNS topic.
- NotificationTypes 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
 
- TopicArn []string
- The Amazon Resource Name (ARN) of the Amazon SNS topic.
- NotificationTypes []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
 
- topicArn List<String>
- The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notificationTypes 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
 
- topicArn string[]
- The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notificationTypes 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 Sequence[str]
- 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
 
- topicArn List<String>
- The Amazon Resource Name (ARN) of the Amazon SNS topic.
- notificationTypes 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
 
AutoScalingGroupPerformanceFactorReferenceRequest, AutoScalingGroupPerformanceFactorReferenceRequestArgs              
- InstanceFamily string
- InstanceFamily string
- instanceFamily String
- instanceFamily string
- instance_family str
- instanceFamily String
AutoScalingGroupTagProperty, AutoScalingGroupTagPropertyArgs          
- Key string
- The tag key.
- PropagateAt boolLaunch 
- Set to trueif you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalseif 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.
- PropagateAt boolLaunch 
- Set to trueif you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalseif 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.
- propagateAt BooleanLaunch 
- Set to trueif you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalseif 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.
- propagateAt booleanLaunch 
- Set to trueif you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalseif 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 trueif you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalseif 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.
- propagateAt BooleanLaunch 
- Set to trueif you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set tofalseif 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.
AutoScalingGroupTotalLocalStorageGbRequest, AutoScalingGroupTotalLocalStorageGbRequestArgs                
AutoScalingGroupTrafficSourceIdentifier, AutoScalingGroupTrafficSourceIdentifierArgs            
- Identifier string
- Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: - Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456
- Classic Load Balancer name: my-classic-load-balancer
- VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456
 - To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations. To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation. 
- Application Load Balancer ARN: 
- Type string
- Provides additional context for the value of - Identifier. The following lists the valid values:- elbif- Identifieris the name of a Classic Load Balancer.
- elbv2if- Identifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group.
- vpc-latticeif- Identifieris the ARN of a VPC Lattice target group.
 - Required if the identifier is the name of a Classic Load Balancer. 
- Identifier string
- Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: - Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456
- Classic Load Balancer name: my-classic-load-balancer
- VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456
 - To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations. To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation. 
- Application Load Balancer ARN: 
- Type string
- Provides additional context for the value of - Identifier. The following lists the valid values:- elbif- Identifieris the name of a Classic Load Balancer.
- elbv2if- Identifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group.
- vpc-latticeif- Identifieris the ARN of a VPC Lattice target group.
 - Required if the identifier is the name of a Classic Load Balancer. 
- identifier String
- Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: - Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456
- Classic Load Balancer name: my-classic-load-balancer
- VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456
 - To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations. To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation. 
- Application Load Balancer ARN: 
- type String
- Provides additional context for the value of - Identifier. The following lists the valid values:- elbif- Identifieris the name of a Classic Load Balancer.
- elbv2if- Identifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group.
- vpc-latticeif- Identifieris the ARN of a VPC Lattice target group.
 - Required if the identifier is the name of a Classic Load Balancer. 
- identifier string
- Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: - Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456
- Classic Load Balancer name: my-classic-load-balancer
- VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456
 - To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations. To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation. 
- Application Load Balancer ARN: 
- type string
- Provides additional context for the value of - Identifier. The following lists the valid values:- elbif- Identifieris the name of a Classic Load Balancer.
- elbv2if- Identifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group.
- vpc-latticeif- Identifieris the ARN of a VPC Lattice target group.
 - Required if the identifier is the name of a Classic Load Balancer. 
- identifier str
- Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: - Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456
- Classic Load Balancer name: my-classic-load-balancer
- VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456
 - To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations. To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation. 
- Application Load Balancer ARN: 
- type str
- Provides additional context for the value of - Identifier. The following lists the valid values:- elbif- Identifieris the name of a Classic Load Balancer.
- elbv2if- Identifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group.
- vpc-latticeif- Identifieris the ARN of a VPC Lattice target group.
 - Required if the identifier is the name of a Classic Load Balancer. 
- identifier String
- Identifies the traffic source. For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region. For example: - Application Load Balancer ARN: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/1234567890123456
- Classic Load Balancer name: my-classic-load-balancer
- VPC Lattice ARN: arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-1234567890123456
 - To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations. To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation. 
- Application Load Balancer ARN: 
- type String
- Provides additional context for the value of - Identifier. The following lists the valid values:- elbif- Identifieris the name of a Classic Load Balancer.
- elbv2if- Identifieris the ARN of an Application Load Balancer, Gateway Load Balancer, or Network Load Balancer target group.
- vpc-latticeif- Identifieris the ARN of a VPC Lattice target group.
 - Required if the identifier is the name of a Classic Load Balancer. 
AutoScalingGroupVCpuCountRequest, AutoScalingGroupVCpuCountRequestArgs            
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.