Interface CfnFleet.ScalingPolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFleet.ScalingPolicyProperty.Jsii$Proxy
Enclosing class:
CfnFleet

@Stability(Stable) public static interface CfnFleet.ScalingPolicyProperty extends software.amazon.jsii.JsiiSerializable
Rule that controls how a fleet is scaled.

Scaling policies are uniquely identified by the combination of name and fleet ID.

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.gamelift.*;
 ScalingPolicyProperty scalingPolicyProperty = ScalingPolicyProperty.builder()
         .metricName("metricName")
         .name("name")
         // the properties below are optional
         .comparisonOperator("comparisonOperator")
         .evaluationPeriods(123)
         .location("location")
         .policyType("policyType")
         .scalingAdjustment(123)
         .scalingAdjustmentType("scalingAdjustmentType")
         .status("status")
         .targetConfiguration(TargetConfigurationProperty.builder()
                 .targetValue(123)
                 .build())
         .threshold(123)
         .updateStatus("updateStatus")
         .build();
 

See Also: