Interface CfnScalingPolicy.IPredictiveScalingPredefinedScalingMetricProperty
Describes a scaling metric for a predictive scaling policy.
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPredictiveScalingPredefinedScalingMetricProperty
Syntax (vb)
Public Interface IPredictiveScalingPredefinedScalingMetricProperty
Remarks
When returned in the output of DescribePolicies
, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
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 predictiveScalingPredefinedScalingMetricProperty = new PredictiveScalingPredefinedScalingMetricProperty {
PredefinedMetricType = "predefinedMetricType",
// the properties below are optional
ResourceLabel = "resourceLabel"
};
Synopsis
Properties
Predefined |
The metric type. |
Resource |
A label that uniquely identifies a specific target group from which to determine the average request count. |
Properties
PredefinedMetricType
The metric type.
string PredefinedMetricType { get; }
Property Value
System.
Remarks
ResourceLabel
A label that uniquely identifies a specific target group from which to determine the average request count.
virtual string ResourceLabel { get; }
Property Value
System.