Class CfnLayer.LoadBasedAutoScalingProperty
Inheritance
Implements
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LoadBasedAutoScalingProperty : Object, CfnLayer.ILoadBasedAutoScalingProperty
Syntax (vb)
Public Class LoadBasedAutoScalingProperty
Inherits Object
Implements CfnLayer.ILoadBasedAutoScalingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpsWorks;
var loadBasedAutoScalingProperty = new LoadBasedAutoScalingProperty {
DownScaling = new AutoScalingThresholdsProperty {
CpuThreshold = 123,
IgnoreMetricsTime = 123,
InstanceCount = 123,
LoadThreshold = 123,
MemoryThreshold = 123,
ThresholdsWaitTime = 123
},
Enable = false,
UpScaling = new AutoScalingThresholdsProperty {
CpuThreshold = 123,
IgnoreMetricsTime = 123,
InstanceCount = 123,
LoadThreshold = 123,
MemoryThreshold = 123,
ThresholdsWaitTime = 123
}
};
Synopsis
Constructors
LoadBasedAutoScalingProperty() |
Properties
DownScaling | An |
Enable | Whether load-based auto scaling is enabled for the layer. |
UpScaling | An |
Constructors
LoadBasedAutoScalingProperty()
public LoadBasedAutoScalingProperty()
Properties
DownScaling
An AutoScalingThresholds
object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
public object DownScaling { get; set; }
Property Value
System.Object
Remarks
Enable
Whether load-based auto scaling is enabled for the layer.
public object Enable { get; set; }
Property Value
System.Object
Remarks
UpScaling
An AutoScalingThresholds
object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
public object UpScaling { get; set; }
Property Value
System.Object