interface PredictiveScalingPredefinedScalingMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApplicationAutoScaling.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapplicationautoscaling#CfnScalingPolicyPropsMixin_PredictiveScalingPredefinedScalingMetricProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.applicationautoscaling.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty |
Python | aws_cdk.cfn_property_mixins.aws_applicationautoscaling.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_applicationautoscaling » CfnScalingPolicyPropsMixin » PredictiveScalingPredefinedScalingMetricProperty |
Describes a scaling 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 { aws_applicationautoscaling as applicationautoscaling } from '@aws-cdk/cfn-property-mixins';
const predictiveScalingPredefinedScalingMetricProperty: applicationautoscaling.CfnScalingPolicyPropsMixin.PredictiveScalingPredefinedScalingMetricProperty = {
predefinedMetricType: 'predefinedMetricType',
resourceLabel: 'resourceLabel',
};
Properties
| Name | Type | Description |
|---|---|---|
| predefined | string | The metric type. |
| resource | string | A label that uniquely identifies a specific target group from which to determine the average request count. |
predefinedMetricType?
Type:
string
(optional)
The metric type.
resourceLabel?
Type:
string
(optional)
A label that uniquely identifies a specific target group from which to determine the average request count.

.NET
Go
Java
Python
TypeScript