@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:08:44.735Z") @Stability(value=Stable) public interface CfnScalingPlanProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.autoscalingplans.*; CfnScalingPlanProps cfnScalingPlanProps = CfnScalingPlanProps.builder() .applicationSource(ApplicationSourceProperty.builder() .cloudFormationStackArn("cloudFormationStackArn") .tagFilters(List.of(TagFilterProperty.builder() .key("key") // the properties below are optional .values(List.of("values")) .build())) .build()) .scalingInstructions(List.of(ScalingInstructionProperty.builder() .maxCapacity(123) .minCapacity(123) .resourceId("resourceId") .scalableDimension("scalableDimension") .serviceNamespace("serviceNamespace") .targetTrackingConfigurations(List.of(TargetTrackingConfigurationProperty.builder() .targetValue(123) // the properties below are optional .customizedScalingMetricSpecification(CustomizedScalingMetricSpecificationProperty.builder() .metricName("metricName") .namespace("namespace") .statistic("statistic") // the properties below are optional .dimensions(List.of(MetricDimensionProperty.builder() .name("name") .value("value") .build())) .unit("unit") .build()) .disableScaleIn(false) .estimatedInstanceWarmup(123) .predefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationProperty.builder() .predefinedScalingMetricType("predefinedScalingMetricType") // the properties below are optional .resourceLabel("resourceLabel") .build()) .scaleInCooldown(123) .scaleOutCooldown(123) .build())) // the properties below are optional .customizedLoadMetricSpecification(CustomizedLoadMetricSpecificationProperty.builder() .metricName("metricName") .namespace("namespace") .statistic("statistic") // the properties below are optional .dimensions(List.of(MetricDimensionProperty.builder() .name("name") .value("value") .build())) .unit("unit") .build()) .disableDynamicScaling(false) .predefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationProperty.builder() .predefinedLoadMetricType("predefinedLoadMetricType") // the properties below are optional .resourceLabel("resourceLabel") .build()) .predictiveScalingMaxCapacityBehavior("predictiveScalingMaxCapacityBehavior") .predictiveScalingMaxCapacityBuffer(123) .predictiveScalingMode("predictiveScalingMode") .scalingPolicyUpdateBehavior("scalingPolicyUpdateBehavior") .scheduledActionBufferTime(123) .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnScalingPlanProps.Builder
A builder for
CfnScalingPlanProps |
static class |
CfnScalingPlanProps.Jsii$Proxy
An implementation for
CfnScalingPlanProps |
Modifier and Type | Method and Description |
---|---|
static CfnScalingPlanProps.Builder |
builder() |
Object |
getApplicationSource()
A CloudFormation stack or a set of tags.
|
Object |
getScalingInstructions()
The scaling instructions.
|
@Stability(value=Stable) @NotNull Object getApplicationSource()
You can create one scaling plan per application source. The ApplicationSource
property must be present to ensure interoperability with the AWS Auto Scaling console.
@Stability(value=Stable) @NotNull Object getScalingInstructions()
@Stability(value=Stable) static CfnScalingPlanProps.Builder builder()
CfnScalingPlanProps.Builder
of CfnScalingPlanProps
Copyright © 2023. All rights reserved.