Show / Hide Table of Contents

Class CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty

Contains capacity metric information for the CustomizedCapacityMetricSpecification property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.

Inheritance
System.Object
CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty
Implements
CfnScalingPolicy.IPredictiveScalingCustomizedCapacityMetricProperty
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.AWS.AutoScaling.dll
Syntax (csharp)
public class PredictiveScalingCustomizedCapacityMetricProperty : Object, CfnScalingPolicy.IPredictiveScalingCustomizedCapacityMetricProperty
Syntax (vb)
Public Class PredictiveScalingCustomizedCapacityMetricProperty
    Inherits Object
    Implements CfnScalingPolicy.IPredictiveScalingCustomizedCapacityMetricProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.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.AWS.AutoScaling;

var predictiveScalingCustomizedCapacityMetricProperty = new PredictiveScalingCustomizedCapacityMetricProperty {
    MetricDataQueries = new [] { new MetricDataQueryProperty {
        Id = "id",

        // the properties below are optional
        Expression = "expression",
        Label = "label",
        MetricStat = new MetricStatProperty {
            Metric = new MetricProperty {
                MetricName = "metricName",
                Namespace = "namespace",

                // the properties below are optional
                Dimensions = new [] { new MetricDimensionProperty {
                    Name = "name",
                    Value = "value"
                } }
            },
            Stat = "stat",

            // the properties below are optional
            Unit = "unit"
        },
        ReturnData = false
    } }
};

Synopsis

Constructors

PredictiveScalingCustomizedCapacityMetricProperty()

Properties

MetricDataQueries

One or more metric data queries to provide the data points for a capacity metric.

Constructors

PredictiveScalingCustomizedCapacityMetricProperty()

public PredictiveScalingCustomizedCapacityMetricProperty()

Properties

MetricDataQueries

One or more metric data queries to provide the data points for a capacity metric.

public object MetricDataQueries { get; set; }
Property Value

System.Object

Remarks

Use multiple metric data queries only if you are performing a math expression on returned data.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.html#cfn-autoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric-metricdataqueries

Implements

CfnScalingPolicy.IPredictiveScalingCustomizedCapacityMetricProperty
Back to top Generated by DocFX