Class CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty
Describes a scaling metric for a predictive scaling policy.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApplicationAutoScaling.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty : CfnScalingPolicyPropsMixin.IPredictiveScalingPredefinedScalingMetricProperty
Syntax (vb)
Public Class CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty Implements CfnScalingPolicyPropsMixin.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.
The following predefined metrics are available for predictive scaling:
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.Mixins.Preview.AWS.ApplicationAutoScaling.Mixins;
var predictiveScalingPredefinedScalingMetricProperty = new PredictiveScalingPredefinedScalingMetricProperty {
PredefinedMetricType = "predefinedMetricType",
ResourceLabel = "resourceLabel"
};
Synopsis
Constructors
| PredictiveScalingPredefinedScalingMetricProperty() | Describes a scaling metric for a predictive scaling policy. |
Properties
| PredefinedMetricType | The metric type. |
| ResourceLabel | A label that uniquely identifies a specific target group from which to determine the average request count. |
Constructors
PredictiveScalingPredefinedScalingMetricProperty()
Describes a scaling metric for a predictive scaling policy.
public PredictiveScalingPredefinedScalingMetricProperty()
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.
The following predefined metrics are available for predictive scaling:
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.Mixins.Preview.AWS.ApplicationAutoScaling.Mixins;
var predictiveScalingPredefinedScalingMetricProperty = new PredictiveScalingPredefinedScalingMetricProperty {
PredefinedMetricType = "predefinedMetricType",
ResourceLabel = "resourceLabel"
};
Properties
PredefinedMetricType
The metric type.
public string? PredefinedMetricType { get; set; }
Property Value
Remarks
ResourceLabel
A label that uniquely identifies a specific target group from which to determine the average request count.
public string? ResourceLabel { get; set; }