Class InvocationsScalingProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.sagemaker.alpha.InvocationsScalingProps.Jsii$Proxy
All Implemented Interfaces:
BaseTargetTrackingProps, InvocationsScalingProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
InvocationsScalingProps

@Stability(Experimental) @Internal public static final class InvocationsScalingProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements InvocationsScalingProps
An implementation for InvocationsScalingProps
  • 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

      protected Jsii$Proxy(InvocationsScalingProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the InvocationsScalingProps.Builder.
  • Method Details

    • getMaxRequestsPerSecond

      public final Number getMaxRequestsPerSecond()
      Description copied from interface: InvocationsScalingProps
      (experimental) Max RPS per instance used for calculating the target SageMaker variant invocation per instance.

      More documentation available here: https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-scaling-loadtest.html

      Specified by:
      getMaxRequestsPerSecond in interface InvocationsScalingProps
    • getSafetyFactor

      public final Number getSafetyFactor()
      Description copied from interface: InvocationsScalingProps
      (experimental) Safty factor for calculating the target SageMaker variant invocation per instance.

      More documentation available here: https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-scaling-loadtest.html

      Default: 0.5

      Specified by:
      getSafetyFactor in interface InvocationsScalingProps
    • getDisableScaleIn

      public final Boolean 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 interface BaseTargetTrackingProps
    • getPolicyName

      public final String getPolicyName()
      Description copied from interface: BaseTargetTrackingProps
      A name for the scaling policy.

      Default: - Automatically generated name.

      Specified by:
      getPolicyName in interface BaseTargetTrackingProps
    • getScaleInCooldown

      public final Duration 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 interface BaseTargetTrackingProps
    • getScaleOutCooldown

      public final Duration 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 interface BaseTargetTrackingProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object