Show / Hide Table of Contents

Class TargetTrackingScalingPolicy

Inheritance
System.Object
Construct
TargetTrackingScalingPolicy
Implements
IConstruct
Constructs.IConstruct
IDependable
Inherited Members
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.AWS.AutoScaling.dll
Syntax (csharp)
public class TargetTrackingScalingPolicy : Construct, IConstruct, IDependable
Syntax (vb)
Public Class TargetTrackingScalingPolicy
    Inherits Construct
    Implements IConstruct, IDependable
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.AutoScaling;
using Amazon.CDK.AWS.CloudWatch;
using Amazon.CDK;

AutoScalingGroup autoScalingGroup;
Metric metric;
var targetTrackingScalingPolicy = new TargetTrackingScalingPolicy(this, "MyTargetTrackingScalingPolicy", new TargetTrackingScalingPolicyProps {
    AutoScalingGroup = autoScalingGroup,
    TargetValue = 123,

    // the properties below are optional
    Cooldown = Duration.Minutes(30),
    CustomMetric = metric,
    DisableScaleIn = false,
    EstimatedInstanceWarmup = Duration.Minutes(30),
    PredefinedMetric = PredefinedMetric.ASG_AVERAGE_CPU_UTILIZATION,
    ResourceLabel = "resourceLabel"
});

Synopsis

Constructors

TargetTrackingScalingPolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

TargetTrackingScalingPolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

TargetTrackingScalingPolicy(Construct, String, ITargetTrackingScalingPolicyProps)

Properties

ScalingPolicyArn

ARN of the scaling policy.

Constructors

TargetTrackingScalingPolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected TargetTrackingScalingPolicy(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

TargetTrackingScalingPolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected TargetTrackingScalingPolicy(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

TargetTrackingScalingPolicy(Construct, String, ITargetTrackingScalingPolicyProps)

public TargetTrackingScalingPolicy(Construct scope, string id, ITargetTrackingScalingPolicyProps props)
Parameters
scope Constructs.Construct
id System.String
props ITargetTrackingScalingPolicyProps

Properties

ScalingPolicyArn

ARN of the scaling policy.

public virtual string ScalingPolicyArn { get; }
Property Value

System.String

Implements

IConstruct
Constructs.IConstruct
IDependable
Back to top Generated by DocFX