Class CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty
The customized load metric specification.
Inherited Members
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty : CfnScalingPolicy.IPredictiveScalingCustomizedLoadMetricProperty
Syntax (vb)
Public Class CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty 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
PredictiveScalingCustomizedLoadMetricProperty() | The customized load metric specification. |
Properties
MetricDataQueries | The customized load metric specification. |
Constructors
PredictiveScalingCustomizedLoadMetricProperty()
The customized load metric specification.
public PredictiveScalingCustomizedLoadMetricProperty()
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
} }
};
Properties
MetricDataQueries
The customized load metric specification.
public object MetricDataQueries { get; set; }