Struct rusoto_autoscaling::AutoScalingGroup
source · [−]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.
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
sourceimpl Clone for AutoScalingGroup
impl Clone for AutoScalingGroup
sourcefn clone(&self) -> AutoScalingGroup
fn clone(&self) -> AutoScalingGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AutoScalingGroup
impl Debug for AutoScalingGroup
sourceimpl Default for AutoScalingGroup
impl Default for AutoScalingGroup
sourcefn default() -> AutoScalingGroup
fn default() -> AutoScalingGroup
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AutoScalingGroup> for AutoScalingGroup
impl PartialEq<AutoScalingGroup> for AutoScalingGroup
sourcefn eq(&self, other: &AutoScalingGroup) -> bool
fn eq(&self, other: &AutoScalingGroup) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AutoScalingGroup) -> bool
fn ne(&self, other: &AutoScalingGroup) -> bool
This method tests for !=
.
impl StructuralPartialEq for AutoScalingGroup
Auto Trait Implementations
impl RefUnwindSafe for AutoScalingGroup
impl Send for AutoScalingGroup
impl Sync for AutoScalingGroup
impl Unpin for AutoScalingGroup
impl UnwindSafe for AutoScalingGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more