Interface ScalableTargetAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ScalableTargetAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-23T11:19:39.391Z") @Stability(Stable) public interface ScalableTargetAttributes extends software.amazon.jsii.JsiiSerializable
Attributes for importing a scalable target.

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.applicationautoscaling.*;
 ScalableTargetAttributes scalableTargetAttributes = ScalableTargetAttributes.builder()
         .scalableDimension("scalableDimension")
         .scalableTargetId("scalableTargetId")
         .serviceNamespace("serviceNamespace")
         .build();
 
  • Method Details

    • getScalableDimension

      @Stability(Stable) @NotNull String getScalableDimension()
      The scalable dimension that's associated with the scalable target.
    • getScalableTargetId

      @Stability(Stable) @NotNull String getScalableTargetId()
      The scalable target ID.
    • getServiceNamespace

      @Stability(Stable) @NotNull String getServiceNamespace()
      The namespace of the AWS service that provides the resource.
    • builder

      @Stability(Stable) static ScalableTargetAttributes.Builder builder()
      Returns:
      a ScalableTargetAttributes.Builder of ScalableTargetAttributes