Class CfnLayerPropsMixin.LoadBasedAutoScalingProperty
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLayerPropsMixin.LoadBasedAutoScalingProperty : CfnLayerPropsMixin.ILoadBasedAutoScalingProperty
Syntax (vb)
Public Class CfnLayerPropsMixin.LoadBasedAutoScalingProperty Implements CfnLayerPropsMixin.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.CfnPropertyMixins.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()
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.CfnPropertyMixins.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
}
};
Properties
DownScaling
An AutoScalingThresholds object that describes the downscaling configuration, which defines how and when OpsWorks Stacks reduces the number of instances.
public object? DownScaling { get; set; }
Property Value
Remarks
Enable
Whether load-based auto scaling is enabled for the layer.
public object? Enable { get; set; }
Property Value
Remarks
UpScaling
An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when OpsWorks Stacks increases the number of instances.
public object? UpScaling { get; set; }