interface PredictiveScalingPredefinedScalingMetricProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.PredictiveScalingPredefinedScalingMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalingPolicy_PredictiveScalingPredefinedScalingMetricProperty |
Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingPredefinedScalingMetricProperty |
Python | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.PredictiveScalingPredefinedScalingMetricProperty |
TypeScript | aws-cdk-lib » aws_applicationautoscaling » CfnScalingPolicy » PredictiveScalingPredefinedScalingMetricProperty |
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 predictiveScalingPredefinedScalingMetricProperty: appscaling.CfnScalingPolicy.PredictiveScalingPredefinedScalingMetricProperty = {
predefinedMetricType: 'predefinedMetricType',
// the properties below are optional
resourceLabel: 'resourceLabel',
};
Properties
Name | Type | Description |
---|---|---|
predefined | string | |
resource | string |
predefinedMetricType
Type:
string
resourceLabel?
Type:
string
(optional)