Class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty
One or more metric data queries to provide data points for a metric specification.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ApplicationAutoScaling
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.ApplicationAutoScaling;
var predictiveScalingCustomizedScalingMetricProperty = new PredictiveScalingCustomizedScalingMetricProperty {
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
| PredictiveScalingCustomizedScalingMetricProperty() | One or more metric data queries to provide data points for a metric specification. |
Properties
| MetricDataQueries | One or more metric data queries to provide data points for a metric specification. |
Constructors
PredictiveScalingCustomizedScalingMetricProperty()
One or more metric data queries to provide data points for a metric specification.
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.ApplicationAutoScaling;
var predictiveScalingCustomizedScalingMetricProperty = new PredictiveScalingCustomizedScalingMetricProperty {
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
One or more metric data queries to provide data points for a metric specification.
public object? MetricDataQueries { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnScalingPolicyPropsMixin.IPredictiveScalingMetricDataQueryProperty)[]