AutoScalingGroup class

Describes an Auto Scaling group.

Constructors

AutoScalingGroup({required String autoScalingGroupName, required List<String> availabilityZones, required DateTime createdTime, required int defaultCooldown, required int desiredCapacity, required String healthCheckType, required int maxSize, required int minSize, String? autoScalingGroupARN, bool? capacityRebalance, List<EnabledMetric>? enabledMetrics, int? healthCheckGracePeriod, List<Instance>? instances, String? launchConfigurationName, LaunchTemplateSpecification? launchTemplate, List<String>? loadBalancerNames, int? maxInstanceLifetime, MixedInstancesPolicy? mixedInstancesPolicy, bool? newInstancesProtectedFromScaleIn, String? placementGroup, String? serviceLinkedRoleARN, String? status, List<SuspendedProcess>? suspendedProcesses, List<TagDescription>? tags, List<String>? targetGroupARNs, List<String>? terminationPolicies, String? vPCZoneIdentifier})
AutoScalingGroup.fromXml(XmlElement elem)
factory

Properties

autoScalingGroupARN String?
The Amazon Resource Name (ARN) of the Auto Scaling group.
final
autoScalingGroupName String
The name of the Auto Scaling group.
final
availabilityZones List<String>
One or more Availability Zones for the group.
final
capacityRebalance bool?
Indicates whether Capacity Rebalancing is enabled.
final
createdTime DateTime
The date and time the group was created.
final
defaultCooldown int
The duration of the default cooldown period, in seconds.
final
desiredCapacity int
The desired size of the group.
final
enabledMetrics List<EnabledMetric>?
The metrics enabled for the group.
final
hashCode int
The hash code for this object.
no setterinherited
healthCheckGracePeriod int?
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.
final
healthCheckType 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.
final
instances List<Instance>?
The EC2 instances associated with the group.
final
launchConfigurationName String?
The name of the associated launch configuration.
final
launchTemplate LaunchTemplateSpecification?
The launch template for the group.
final
loadBalancerNames List<String>?
One or more load balancers associated with the group.
final
maxInstanceLifetime int?
The maximum amount of time, in seconds, that an instance can be in service.
final
maxSize int
The maximum size of the group.
final
minSize int
The minimum size of the group.
final
mixedInstancesPolicy MixedInstancesPolicy?
The mixed instances policy for the group.
final
newInstancesProtectedFromScaleIn bool?
Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.
final
placementGroup String?
The name of the placement group into which to launch your instances, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceLinkedRoleARN String?
The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.
final
status String?
The current state of the group when the DeleteAutoScalingGroup operation is in progress.
final
suspendedProcesses List<SuspendedProcess>?
The suspended processes associated with the group.
final
tags List<TagDescription>?
The tags for the group.
final
targetGroupARNs List<String>?
The Amazon Resource Names (ARN) of the target groups for your load balancer.
final
terminationPolicies List<String>?
The termination policies for the group.
final
vPCZoneIdentifier String?
One or more subnet IDs, if applicable, separated by commas.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited