logo
pub struct AutoScalingGroup {
Show 30 fields pub auto_scaling_group_arn: Option<String>, pub auto_scaling_group_name: String, pub availability_zones: Vec<String>, pub capacity_rebalance: Option<bool>, pub created_time: String, pub default_cooldown: i64, pub desired_capacity: i64, pub enabled_metrics: Option<Vec<EnabledMetric>>, pub health_check_grace_period: Option<i64>, pub health_check_type: String, pub instances: Option<Vec<Instance>>, pub launch_configuration_name: Option<String>, pub launch_template: Option<LaunchTemplateSpecification>, pub load_balancer_names: Option<Vec<String>>, pub max_instance_lifetime: Option<i64>, pub max_size: i64, pub min_size: i64, pub mixed_instances_policy: Option<MixedInstancesPolicy>, pub new_instances_protected_from_scale_in: Option<bool>, pub placement_group: Option<String>, pub predicted_capacity: Option<i64>, pub service_linked_role_arn: Option<String>, pub status: Option<String>, pub suspended_processes: Option<Vec<SuspendedProcess>>, pub tags: Option<Vec<TagDescription>>, pub target_group_ar_ns: Option<Vec<String>>, pub termination_policies: Option<Vec<String>>, pub vpc_zone_identifier: Option<String>, pub warm_pool_configuration: Option<WarmPoolConfiguration>, pub warm_pool_size: Option<i64>,
}
Expand description

Describes an Auto Scaling group.

Fields

auto_scaling_group_arn: Option<String>

The Amazon Resource Name (ARN) of the Auto Scaling group.

auto_scaling_group_name: String

The name of the Auto Scaling group.

availability_zones: Vec<String>

One or more Availability Zones for the group.

capacity_rebalance: Option<bool>

Indicates whether Capacity Rebalancing is enabled.

created_time: String

The date and time the group was created.

default_cooldown: i64

The duration of the default cooldown period, in seconds.

desired_capacity: i64

The desired size of the group.

enabled_metrics: Option<Vec<EnabledMetric>>

The metrics enabled for the group.

health_check_grace_period: Option<i64>

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.

health_check_type: String

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

instances: Option<Vec<Instance>>

The EC2 instances associated with the group.

launch_configuration_name: Option<String>

The name of the associated launch configuration.

launch_template: Option<LaunchTemplateSpecification>

The launch template for the group.

load_balancer_names: Option<Vec<String>>

One or more load balancers associated with the group.

max_instance_lifetime: Option<i64>

The maximum amount of time, in seconds, that an instance can be in service.

Valid Range: Minimum value of 0.

max_size: i64

The maximum size of the group.

min_size: i64

The minimum size of the group.

mixed_instances_policy: Option<MixedInstancesPolicy>

The mixed instances policy for the group.

new_instances_protected_from_scale_in: Option<bool>

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

placement_group: Option<String>

The name of the placement group into which to launch your instances, if any.

predicted_capacity: Option<i64>

The predicted capacity of the group when it has a predictive scaling policy.

service_linked_role_arn: Option<String>

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.

status: Option<String>

The current state of the group when the DeleteAutoScalingGroup operation is in progress.

suspended_processes: Option<Vec<SuspendedProcess>>

The suspended processes associated with the group.

tags: Option<Vec<TagDescription>>

The tags for the group.

target_group_ar_ns: Option<Vec<String>>

The Amazon Resource Names (ARN) of the target groups for your load balancer.

termination_policies: Option<Vec<String>>

The termination policies for the group.

vpc_zone_identifier: Option<String>

One or more subnet IDs, if applicable, separated by commas.

warm_pool_configuration: Option<WarmPoolConfiguration>

The warm pool for the group.

warm_pool_size: Option<i64>

The current size of the warm pool.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more