interface PredictiveScalingPredefinedLoadMetricProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalingPolicy_PredictiveScalingPredefinedLoadMetricProperty |
![]() | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty |
![]() | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty |
![]() | aws-cdk-lib » aws_applicationautoscaling » CfnScalingPolicy » PredictiveScalingPredefinedLoadMetricProperty |
Describes a load metric for a predictive scaling policy.
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationautoscaling as appscaling } from 'aws-cdk-lib';
const predictiveScalingPredefinedLoadMetricProperty: appscaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty = {
predefinedMetricType: 'predefinedMetricType',
// the properties below are optional
resourceLabel: 'resourceLabel',
};
Properties
Name | Type | Description |
---|---|---|
predefined | string | The metric type. |
resource | string | A label that uniquely identifies a target group. |
predefinedMetricType
Type:
string
The metric type.
resourceLabel?
Type:
string
(optional)
A label that uniquely identifies a target group.