Class TargetTrackingScalingPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
BaseTargetTrackingProps,BasicTargetTrackingScalingPolicyProps,TargetTrackingScalingPolicyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TargetTrackingScalingPolicyProps
TargetTrackingScalingPolicyProps-
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.applicationautoscaling.TargetTrackingScalingPolicyProps
TargetTrackingScalingPolicyProps.Builder, TargetTrackingScalingPolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theTargetTrackingScalingPolicyProps.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 IMetricA custom metric for application autoscaling.final BooleanIndicates whether scale in by the target tracking policy is disabled.final StringA name for the scaling policy.final PredefinedMetricA predefined metric for application autoscaling.final StringIdentify the resource associated with the metric type.final DurationPeriod after a scale in activity completes before another scale in activity can start.final DurationPeriod after a scale out activity completes before another scale out activity can start.final IScalableTargetfinal NumberThe target value for the metric.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 theTargetTrackingScalingPolicyProps.Builder.
-
-
Method Details
-
getScalingTarget
- Specified by:
getScalingTargetin interfaceTargetTrackingScalingPolicyProps
-
getTargetValue
Description copied from interface:BasicTargetTrackingScalingPolicyPropsThe target value for the metric.- Specified by:
getTargetValuein interfaceBasicTargetTrackingScalingPolicyProps
-
getCustomMetric
Description copied from interface:BasicTargetTrackingScalingPolicyPropsA custom metric for application autoscaling.The metric must track utilization. Scaling out will happen if the metric is higher than the target value, scaling in will happen in the metric is lower than the target value.
Exactly one of customMetric or predefinedMetric must be specified.
Default: - No custom metric.
- Specified by:
getCustomMetricin interfaceBasicTargetTrackingScalingPolicyProps
-
getPredefinedMetric
Description copied from interface:BasicTargetTrackingScalingPolicyPropsA predefined metric for application autoscaling.The metric must track utilization. Scaling out will happen if the metric is higher than the target value, scaling in will happen in the metric is lower than the target value.
Exactly one of customMetric or predefinedMetric must be specified.
Default: - No predefined metrics.
- Specified by:
getPredefinedMetricin interfaceBasicTargetTrackingScalingPolicyProps
-
getResourceLabel
Description copied from interface:BasicTargetTrackingScalingPolicyPropsIdentify the resource associated with the metric type.Only used for predefined metric ALBRequestCountPerTarget.
Example value:
app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>Default: - No resource label.
- Specified by:
getResourceLabelin interfaceBasicTargetTrackingScalingPolicyProps
-
getDisableScaleIn
Description copied from interface:BaseTargetTrackingPropsIndicates whether scale in by the target tracking policy is disabled.If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource.
Default: false
- Specified by:
getDisableScaleInin interfaceBaseTargetTrackingProps
-
getPolicyName
Description copied from interface:BaseTargetTrackingPropsA name for the scaling policy.Default: - Automatically generated name.
- Specified by:
getPolicyNamein interfaceBaseTargetTrackingProps
-
getScaleInCooldown
Description copied from interface:BaseTargetTrackingPropsPeriod after a scale in activity completes before another scale in activity can start.Default: Duration.seconds(300) for the following scalable targets: ECS services, Spot Fleet requests, EMR clusters, AppStream 2.0 fleets, Aurora DB clusters, Amazon SageMaker endpoint variants, Custom resources. For all other scalable targets, the default value is Duration.seconds(0): DynamoDB tables, DynamoDB global secondary indexes, Amazon Comprehend document classification endpoints, Lambda provisioned concurrency
- Specified by:
getScaleInCooldownin interfaceBaseTargetTrackingProps
-
getScaleOutCooldown
Description copied from interface:BaseTargetTrackingPropsPeriod after a scale out activity completes before another scale out activity can start.Default: Duration.seconds(300) for the following scalable targets: ECS services, Spot Fleet requests, EMR clusters, AppStream 2.0 fleets, Aurora DB clusters, Amazon SageMaker endpoint variants, Custom resources. For all other scalable targets, the default value is Duration.seconds(0): DynamoDB tables, DynamoDB global secondary indexes, Amazon Comprehend document classification endpoints, Lambda provisioned concurrency
- Specified by:
getScaleOutCooldownin interfaceBaseTargetTrackingProps
-
$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()
-