SetLoadBasedAutoScalingRequest
public struct SetLoadBasedAutoScalingRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.
Declaration
Swift
public let downScaling: AutoScalingThresholds?
-
Enables load-based auto scaling for the layer.
Declaration
Swift
public let enable: Bool?
-
The layer ID.
Declaration
Swift
public let layerId: String
-
An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.
Declaration
Swift
public let upScaling: AutoScalingThresholds?
-
Undocumented
Declaration
Swift
public init(downScaling: AutoScalingThresholds? = nil, enable: Bool? = nil, layerId: String, upScaling: AutoScalingThresholds? = nil)
-
Declaration
Swift
public func validate(name: String) throws