AutoScalingGroup
public struct AutoScalingGroup : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the Auto Scaling group.
Declaration
Swift
public let autoScalingGroupARN: String?
-
The name of the Auto Scaling group.
Declaration
Swift
public let autoScalingGroupName: String
-
One or more Availability Zones for the group.
Declaration
Swift
public let availabilityZones: [String]
-
The date and time the group was created.
Declaration
Swift
public let createdTime: TimeStamp
-
The duration of the default cooldown period, in seconds.
Declaration
Swift
public let defaultCooldown: Int
-
The desired size of the group.
Declaration
Swift
public let desiredCapacity: Int
-
The metrics enabled for the group.
Declaration
Swift
public let enabledMetrics: [EnabledMetric]?
-
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.
Declaration
Swift
public let healthCheckGracePeriod: Int?
-
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.
Declaration
Swift
public let healthCheckType: String
-
The EC2 instances associated with the group.
Declaration
Swift
public let instances: [Instance]?
-
The name of the associated launch configuration.
Declaration
Swift
public let launchConfigurationName: String?
-
The launch template for the group.
Declaration
Swift
public let launchTemplate: LaunchTemplateSpecification?
-
One or more load balancers associated with the group.
Declaration
Swift
public let loadBalancerNames: [String]?
-
The maximum amount of time, in seconds, that an instance can be in service. Valid Range: Minimum value of 0.
Declaration
Swift
public let maxInstanceLifetime: Int?
-
The maximum size of the group.
Declaration
Swift
public let maxSize: Int
-
The minimum size of the group.
Declaration
Swift
public let minSize: Int
-
The mixed instances policy for the group.
Declaration
Swift
public let mixedInstancesPolicy: MixedInstancesPolicy?
-
Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.
Declaration
Swift
public let newInstancesProtectedFromScaleIn: Bool?
-
The name of the placement group into which to launch your instances, if any.
Declaration
Swift
public let placementGroup: 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.
Declaration
Swift
public let serviceLinkedRoleARN: String?
-
The current state of the group when the DeleteAutoScalingGroup operation is in progress.
Declaration
Swift
public let status: String?
-
The suspended processes associated with the group.
Declaration
Swift
public let suspendedProcesses: [SuspendedProcess]?
-
The tags for the group.
Declaration
Swift
public let tags: [TagDescription]?
-
The Amazon Resource Names (ARN) of the target groups for your load balancer.
Declaration
Swift
public let targetGroupARNs: [String]?
-
The termination policies for the group.
Declaration
Swift
public let terminationPolicies: [String]?
-
One or more subnet IDs, if applicable, separated by commas.
Declaration
Swift
public let vPCZoneIdentifier: String?
-
init(autoScalingGroupARN:autoScalingGroupName:availabilityZones:createdTime:defaultCooldown:desiredCapacity:enabledMetrics:healthCheckGracePeriod:healthCheckType:instances:launchConfigurationName:launchTemplate:loadBalancerNames:maxInstanceLifetime:maxSize:minSize:mixedInstancesPolicy:newInstancesProtectedFromScaleIn:placementGroup:serviceLinkedRoleARN:status:suspendedProcesses:tags:targetGroupARNs:terminationPolicies:vPCZoneIdentifier:)
Undocumented
Declaration
Swift
public init(autoScalingGroupARN: String? = nil, autoScalingGroupName: String, availabilityZones: [String], createdTime: TimeStamp, defaultCooldown: Int, desiredCapacity: Int, enabledMetrics: [EnabledMetric]? = nil, healthCheckGracePeriod: Int? = nil, healthCheckType: String, instances: [Instance]? = nil, launchConfigurationName: String? = nil, launchTemplate: LaunchTemplateSpecification? = nil, loadBalancerNames: [String]? = nil, maxInstanceLifetime: Int? = nil, maxSize: Int, minSize: Int, mixedInstancesPolicy: MixedInstancesPolicy? = nil, newInstancesProtectedFromScaleIn: Bool? = nil, placementGroup: String? = nil, serviceLinkedRoleARN: String? = nil, status: String? = nil, suspendedProcesses: [SuspendedProcess]? = nil, tags: [TagDescription]? = nil, targetGroupARNs: [String]? = nil, terminationPolicies: [String]? = nil, vPCZoneIdentifier: String? = nil)