Class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty
Contains scaling metric information for the CustomizedScalingMetricSpecification property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AutoScaling
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty : CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
Syntax (vb)
Public Class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty Implements CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
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.CfnPropertyMixins.AWS.AutoScaling;
var predictiveScalingCustomizedScalingMetricProperty = new PredictiveScalingCustomizedScalingMetricProperty {
MetricDataQueries = new [] { new MetricDataQueryProperty {
Expression = "expression",
Id = "id",
Label = "label",
MetricStat = new MetricStatProperty {
Metric = new MetricProperty {
Dimensions = new [] { new MetricDimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace"
},
Stat = "stat",
Unit = "unit"
},
ReturnData = false
} }
};
Synopsis
Constructors
| PredictiveScalingCustomizedScalingMetricProperty() | Contains scaling metric information for the |
Properties
| MetricDataQueries | One or more metric data queries to provide the data points for a scaling metric. |
Constructors
PredictiveScalingCustomizedScalingMetricProperty()
Contains scaling metric information for the CustomizedScalingMetricSpecification property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.
public PredictiveScalingCustomizedScalingMetricProperty()
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.CfnPropertyMixins.AWS.AutoScaling;
var predictiveScalingCustomizedScalingMetricProperty = new PredictiveScalingCustomizedScalingMetricProperty {
MetricDataQueries = new [] { new MetricDataQueryProperty {
Expression = "expression",
Id = "id",
Label = "label",
MetricStat = new MetricStatProperty {
Metric = new MetricProperty {
Dimensions = new [] { new MetricDimensionProperty {
Name = "name",
Value = "value"
} },
MetricName = "metricName",
Namespace = "namespace"
},
Stat = "stat",
Unit = "unit"
},
ReturnData = false
} }
};
Properties
MetricDataQueries
One or more metric data queries to provide the data points for a scaling metric.
public object? MetricDataQueries { get; set; }
Property Value
Remarks
Use multiple metric data queries only if you are performing a math expression on returned data.
Type union: either IResolvable or (either IResolvable or CfnScalingPolicyPropsMixin.IMetricDataQueryProperty)[]