Show / Hide Table of Contents

Interface CfnLayerPropsMixin.IAutoScalingThresholdsProperty

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnLayerPropsMixin.IAutoScalingThresholdsProperty
Syntax (vb)
Public Interface CfnLayerPropsMixin.IAutoScalingThresholdsProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html

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 autoScalingThresholdsProperty = new AutoScalingThresholdsProperty {
                 CpuThreshold = 123,
                 IgnoreMetricsTime = 123,
                 InstanceCount = 123,
                 LoadThreshold = 123,
                 MemoryThreshold = 123,
                 ThresholdsWaitTime = 123
             };

Synopsis

Properties

CpuThreshold

The CPU utilization threshold, as a percent of the available CPU.

IgnoreMetricsTime

The amount of time (in minutes) after a scaling event occurs that OpsWorks Stacks should ignore metrics and suppress additional scaling events.

InstanceCount

The number of instances to add or remove when the load exceeds a threshold.

LoadThreshold

The load threshold.

MemoryThreshold

The memory utilization threshold, as a percent of the available memory.

ThresholdsWaitTime

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

Properties

CpuThreshold

The CPU utilization threshold, as a percent of the available CPU.

double? CpuThreshold { get; }
Property Value

double?

Remarks

A value of -1 disables the threshold.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-cputhreshold

IgnoreMetricsTime

The amount of time (in minutes) after a scaling event occurs that OpsWorks Stacks should ignore metrics and suppress additional scaling events.

double? IgnoreMetricsTime { get; }
Property Value

double?

Remarks

For example, OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct OpsWorks Stacks to suppress scaling events long enough to get the new instances online.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-ignoremetricstime

InstanceCount

The number of instances to add or remove when the load exceeds a threshold.

double? InstanceCount { get; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-instancecount

LoadThreshold

The load threshold.

double? LoadThreshold { get; }
Property Value

double?

Remarks

A value of -1 disables the threshold. For more information about how load is computed, see Load (computing) .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-loadthreshold

MemoryThreshold

The memory utilization threshold, as a percent of the available memory.

double? MemoryThreshold { get; }
Property Value

double?

Remarks

A value of -1 disables the threshold.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-memorythreshold

ThresholdsWaitTime

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

double? ThresholdsWaitTime { get; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-thresholdswaittime

Back to top Generated by DocFX