Class CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty
Represents a CloudWatch metric of your choosing for a predictive scaling policy.
Inheritance
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PredictiveScalingCustomizedCapacityMetricProperty : Object, CfnScalingPolicy.IPredictiveScalingCustomizedCapacityMetricProperty
Syntax (vb)
Public Class PredictiveScalingCustomizedCapacityMetricProperty
Inherits Object
Implements CfnScalingPolicy.IPredictiveScalingCustomizedCapacityMetricProperty
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.ApplicationAutoScaling;
var predictiveScalingCustomizedCapacityMetricProperty = new PredictiveScalingCustomizedCapacityMetricProperty {
MetricDataQueries = new [] { new PredictiveScalingMetricDataQueryProperty {
Expression = "expression",
Id = "id",
Label = "label",
MetricStat = new PredictiveScalingMetricStatProperty {
Metric = new PredictiveScalingMetricProperty {
Dimensions = new [] { new PredictiveScalingMetricDimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace"
},
Stat = "stat",
Unit = "unit"
},
ReturnData = false
} }
};
Synopsis
Constructors
Predictive |
Properties
Metric |
One or more metric data queries to provide data points for a metric specification. |
Constructors
PredictiveScalingCustomizedCapacityMetricProperty()
public PredictiveScalingCustomizedCapacityMetricProperty()
Properties
MetricDataQueries
One or more metric data queries to provide data points for a metric specification.
public object MetricDataQueries { get; set; }
Property Value
System.