Class CfnContainerFleet.ScalingPolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.CfnContainerFleet.ScalingPolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnContainerFleet.ScalingPolicyProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnContainerFleet.ScalingPolicyProperty
@Stability(Stable)
@Internal
public static final class CfnContainerFleet.ScalingPolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnContainerFleet.ScalingPolicyProperty
An implementation for
CfnContainerFleet.ScalingPolicyProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.CfnContainerFleet.ScalingPolicyProperty
CfnContainerFleet.ScalingPolicyProperty.Builder, CfnContainerFleet.ScalingPolicyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnContainerFleet.ScalingPolicyProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringComparison operator to use when measuring a metric against the threshold value.final NumberLength of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered.final StringName of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment.final StringgetName()A descriptive label that is associated with a fleet's scaling policy.final StringThe type of scaling policy to create.final NumberAmount of adjustment to make, based on the scaling adjustment type.final StringThe type of adjustment to make to a fleet's instance count.final ObjectSettings for a target-based scaling policy.final NumberMetric value used to trigger a scaling event.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnContainerFleet.ScalingPolicyProperty.Builder.
-
-
Method Details
-
getMetricName
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyName of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment.- Specified by:
getMetricNamein interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getName
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyA descriptive label that is associated with a fleet's scaling policy.Policy names do not need to be unique.
- Specified by:
getNamein interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getComparisonOperator
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyComparison operator to use when measuring a metric against the threshold value.- Specified by:
getComparisonOperatorin interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getEvaluationPeriods
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyLength of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered.- Specified by:
getEvaluationPeriodsin interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getPolicyType
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyThe type of scaling policy to create.For a target-based policy, set the parameter MetricName to 'PercentAvailableGameSessions' and specify a TargetConfiguration. For a rule-based policy set the following parameters: MetricName, ComparisonOperator, Threshold, EvaluationPeriods, ScalingAdjustmentType, and ScalingAdjustment.
- Specified by:
getPolicyTypein interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getScalingAdjustment
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyAmount of adjustment to make, based on the scaling adjustment type.- Specified by:
getScalingAdjustmentin interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getScalingAdjustmentType
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyThe type of adjustment to make to a fleet's instance count.- Specified by:
getScalingAdjustmentTypein interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getTargetConfiguration
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertySettings for a target-based scaling policy.A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon GameLift to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value.
- Specified by:
getTargetConfigurationin interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
getThreshold
Description copied from interface:CfnContainerFleet.ScalingPolicyPropertyMetric value used to trigger a scaling event.- Specified by:
getThresholdin interfaceCfnContainerFleet.ScalingPolicyProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-