interface PredictiveScalingPredefinedLoadMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApplicationAutoScaling.Mixins.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapplicationautoscaling/mixins#CfnScalingPolicyPropsMixin_PredictiveScalingPredefinedLoadMetricProperty |
Java | software.amazon.awscdk.mixins.preview.services.applicationautoscaling.mixins.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty |
Python | aws_cdk.mixins_preview.aws_applicationautoscaling.mixins.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty |
TypeScript | @aws-cdk/mixins-preview » aws_applicationautoscaling » mixins » CfnScalingPolicyPropsMixin » 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.
The following predefined metrics are available for predictive scaling:
ECSServiceAverageCPUUtilizationECSServiceAverageMemoryUtilizationECSServiceCPUUtilizationECSServiceMemoryUtilizationECSServiceTotalCPUUtilizationECSServiceTotalMemoryUtilizationALBRequestCountALBRequestCountPerTargetTotalALBRequestCount
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as applicationautoscaling_mixins } from '@aws-cdk/mixins-preview/aws-applicationautoscaling';
const predictiveScalingPredefinedLoadMetricProperty: applicationautoscaling_mixins.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedLoadMetricProperty = {
predefinedMetricType: 'predefinedMetricType',
resourceLabel: 'resourceLabel',
};
Properties
| Name | Type | Description |
|---|---|---|
| predefined | string | The metric type. |
| resource | string | A label that uniquely identifies a target group. |
predefinedMetricType?
Type:
string
(optional)
The metric type.
resourceLabel?
Type:
string
(optional)
A label that uniquely identifies a target group.

.NET
Go
Java
Python
TypeScript