Class CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty
The customized load metric specification.
Inheritance
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PredictiveScalingCustomizedLoadMetricProperty : Object, CfnScalingPolicy.IPredictiveScalingCustomizedLoadMetricProperty
Syntax (vb)
Public Class PredictiveScalingCustomizedLoadMetricProperty
Inherits Object
Implements CfnScalingPolicy.IPredictiveScalingCustomizedLoadMetricProperty
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 predictiveScalingCustomizedLoadMetricProperty = new PredictiveScalingCustomizedLoadMetricProperty {
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 |
Constructors
PredictiveScalingCustomizedLoadMetricProperty()
public PredictiveScalingCustomizedLoadMetricProperty()
Properties
MetricDataQueries
public object MetricDataQueries { get; set; }
Property Value
System.