Show / Hide Table of Contents

Class CfnLayerPropsMixin.LoadBasedAutoScalingProperty

Inheritance
object
CfnLayerPropsMixin.LoadBasedAutoScalingProperty
Implements
CfnLayerPropsMixin.ILoadBasedAutoScalingProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.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 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 AutoScalingThresholds object that describes the downscaling configuration, which defines how and when OpsWorks Stacks reduces the number of instances.

Enable

Whether load-based auto scaling is enabled for the layer.

UpScaling

An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when OpsWorks Stacks increases the number of instances.

Constructors

LoadBasedAutoScalingProperty()

public LoadBasedAutoScalingProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.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 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

object

Remarks

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

Type union: either IResolvable or CfnLayerPropsMixin.IAutoScalingThresholdsProperty

Enable

Whether load-based auto scaling is enabled for the layer.

public object? Enable { get; set; }
Property Value

object

Remarks

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

Type union: either bool or IResolvable

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; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnLayerPropsMixin.IAutoScalingThresholdsProperty

Implements

CfnLayerPropsMixin.ILoadBasedAutoScalingProperty
Back to top Generated by DocFX