Interface CfnScalingPlanMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalingPlanMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:32:08.937Z")
@Stability(Stable)
public interface CfnScalingPlanMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnScalingPlanPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.autoscalingplans.*;
CfnScalingPlanMixinProps cfnScalingPlanMixinProps = CfnScalingPlanMixinProps.builder()
.applicationSource(ApplicationSourceProperty.builder()
.cloudFormationStackArn("cloudFormationStackArn")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.build())
.scalingInstructions(List.of(ScalingInstructionProperty.builder()
.customizedLoadMetricSpecification(CustomizedLoadMetricSpecificationProperty.builder()
.dimensions(List.of(MetricDimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.statistic("statistic")
.unit("unit")
.build())
.disableDynamicScaling(false)
.maxCapacity(123)
.minCapacity(123)
.predefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationProperty.builder()
.predefinedLoadMetricType("predefinedLoadMetricType")
.resourceLabel("resourceLabel")
.build())
.predictiveScalingMaxCapacityBehavior("predictiveScalingMaxCapacityBehavior")
.predictiveScalingMaxCapacityBuffer(123)
.predictiveScalingMode("predictiveScalingMode")
.resourceId("resourceId")
.scalableDimension("scalableDimension")
.scalingPolicyUpdateBehavior("scalingPolicyUpdateBehavior")
.scheduledActionBufferTime(123)
.serviceNamespace("serviceNamespace")
.targetTrackingConfigurations(List.of(TargetTrackingConfigurationProperty.builder()
.customizedScalingMetricSpecification(CustomizedScalingMetricSpecificationProperty.builder()
.dimensions(List.of(MetricDimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.statistic("statistic")
.unit("unit")
.build())
.disableScaleIn(false)
.estimatedInstanceWarmup(123)
.predefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationProperty.builder()
.predefinedScalingMetricType("predefinedScalingMetricType")
.resourceLabel("resourceLabel")
.build())
.scaleInCooldown(123)
.scaleOutCooldown(123)
.targetValue(123)
.build()))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScalingPlanMixinPropsstatic final classAn implementation forCfnScalingPlanMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationSource
A CloudFormation stack or a set of tags.You can create one scaling plan per application source. The
ApplicationSourceproperty must be present to ensure interoperability with the AWS Auto Scaling console.Returns union: either
IResolvableorCfnScalingPlanPropsMixin.ApplicationSourceProperty- See Also:
-
getScalingInstructions
The scaling instructions.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPlanPropsMixin.ScalingInstructionProperty>- See Also:
-
builder
- Returns:
- a
CfnScalingPlanMixinProps.BuilderofCfnScalingPlanMixinProps
-