Class CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty
Describes a load 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.PredictiveScalingPredefinedLoadMetricProperty : CfnScalingPolicyPropsMixin.IPredictiveScalingPredefinedLoadMetricProperty
Syntax (vb)
Public Class CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty Implements CfnScalingPolicyPropsMixin.IPredictiveScalingPredefinedLoadMetricProperty
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 predictiveScalingPredefinedLoadMetricProperty = new PredictiveScalingPredefinedLoadMetricProperty {
PredefinedMetricType = "predefinedMetricType",
ResourceLabel = "resourceLabel"
};
Synopsis
Constructors
| PredictiveScalingPredefinedLoadMetricProperty() | Describes a load metric for a predictive scaling policy. |
Properties
| PredefinedMetricType | The metric type. |
| ResourceLabel | A label that uniquely identifies a target group. |
Constructors
PredictiveScalingPredefinedLoadMetricProperty()
Describes a load metric for a predictive scaling policy.
public PredictiveScalingPredefinedLoadMetricProperty()
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 predictiveScalingPredefinedLoadMetricProperty = new PredictiveScalingPredefinedLoadMetricProperty {
PredefinedMetricType = "predefinedMetricType",
ResourceLabel = "resourceLabel"
};
Properties
PredefinedMetricType
The metric type.
public string? PredefinedMetricType { get; set; }
Property Value
Remarks
ResourceLabel
A label that uniquely identifies a target group.
public string? ResourceLabel { get; set; }