AutoScalingGroupConfiguration
¶
Source code in docs_src/capo_compute_optimizer/types/auto_scaling_group_configuration.py
allocation_strategy
instance-attribute
¶
allocation_strategy: NotRequired[AllocationStrategy]
Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types.
desired_capacity
instance-attribute
¶
desired_capacity: DesiredCapacity
The desired capacity, or number of instances, for the EC2 Auto Scaling group.
estimated_instance_hour_reduction_percentage
instance-attribute
¶
estimated_instance_hour_reduction_percentage: NotRequired[
NullableEstimatedInstanceHourReductionPercentage
]
Describes the projected percentage reduction in instance hours after adopting the recommended configuration. This field is only available for EC2 Auto Scaling groups with scaling policies.
instance_type
instance-attribute
¶
instance_type: NotRequired[NullableInstanceType]
The instance type for the EC2 Auto Scaling group.
max_size
instance-attribute
¶
max_size: MaxSize
The maximum size, or maximum number of instances, for the EC2 Auto Scaling group.
min_size
instance-attribute
¶
min_size: MinSize
The minimum size, or minimum number of instances, for the EC2 Auto Scaling group.
mixed_instance_types
instance-attribute
¶
mixed_instance_types: NotRequired[MixedInstanceTypes]
List the instance types within an EC2 Auto Scaling group that has mixed instance types.