Class TrackCustomMetricProps.Jsii$Proxy
- All Implemented Interfaces:
BaseTargetTrackingProps
,TrackCustomMetricProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TrackCustomMetricProps
TrackCustomMetricProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.TrackCustomMetricProps
TrackCustomMetricProps.Builder, TrackCustomMetricProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(TrackCustomMetricProps.Builder builder) Constructor that initializes the object based on literal property values passed by theTrackCustomMetricProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final Boolean
Indicates whether scale in by the target tracking policy is disabled.final IMetric
The custom CloudWatch metric to track.final String
A name for the scaling policy.final Duration
Period after a scale in activity completes before another scale in activity can start.final Duration
Period after a scale out activity completes before another scale out activity can start.final Number
The target value for the custom CloudWatch metric.final int
hashCode()
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 theTrackCustomMetricProps.Builder
.
-
-
Method Details
-
getMetric
Description copied from interface:TrackCustomMetricProps
The custom CloudWatch metric to track.The metric must represent utilization; that is, you will always get the following behavior:
- metric > targetValue => scale out
- metric < targetValue => scale in
- Specified by:
getMetric
in interfaceTrackCustomMetricProps
-
getTargetValue
Description copied from interface:TrackCustomMetricProps
The target value for the custom CloudWatch metric.- Specified by:
getTargetValue
in interfaceTrackCustomMetricProps
-
getDisableScaleIn
Description copied from interface:BaseTargetTrackingProps
Indicates 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:
getDisableScaleIn
in interfaceBaseTargetTrackingProps
-
getPolicyName
Description copied from interface:BaseTargetTrackingProps
A name for the scaling policy.Default: - Automatically generated name.
- Specified by:
getPolicyName
in interfaceBaseTargetTrackingProps
-
getScaleInCooldown
Description copied from interface:BaseTargetTrackingProps
Period 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:
getScaleInCooldown
in interfaceBaseTargetTrackingProps
-
getScaleOutCooldown
Description copied from interface:BaseTargetTrackingProps
Period 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:
getScaleOutCooldown
in interfaceBaseTargetTrackingProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-