@Stability(value=Experimental) @Internal public static final class ScalableTargetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScalableTargetProps
ScalableTargetPropssoftware.amazon.jsii.JsiiObject.InitializationModeScalableTargetProps.Builder, ScalableTargetProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number maxCapacity,
Number minCapacity,
String resourceId,
String scalableDimension,
ServiceNamespace serviceNamespace,
IRole role)
Constructor that initializes the object based on literal property values passed by the
ScalableTargetProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getMaxCapacity()
(experimental) The maximum value that Application Auto Scaling can use to scale a target during a scaling activity.
|
Number |
getMinCapacity()
(experimental) The minimum value that Application Auto Scaling can use to scale a target during a scaling activity.
|
String |
getResourceId()
(experimental) The resource identifier to associate with this scalable target.
|
IRole |
getRole()
(experimental) Role that allows Application Auto Scaling to modify your scalable target.
|
String |
getScalableDimension()
(experimental) The scalable dimension that's associated with the scalable target.
|
ServiceNamespace |
getServiceNamespace()
(experimental) The namespace of the AWS service that provides the resource or custom-resource for a resource provided by your own application or service.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number maxCapacity, Number minCapacity, String resourceId, String scalableDimension, ServiceNamespace serviceNamespace, IRole role)
ScalableTargetProps.Builder.public final Number getMaxCapacity()
ScalableTargetPropsgetMaxCapacity in interface ScalableTargetPropspublic final Number getMinCapacity()
ScalableTargetPropsgetMinCapacity in interface ScalableTargetPropspublic final String getResourceId()
ScalableTargetPropsThis string consists of the resource type and unique identifier.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 service / ecsStack - MyECSCluster - AB12CDE3F4GH / ecsStack - MyECSService - AB12CDE3F4GH;
getResourceId in interface ScalableTargetPropshttps://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.htmlpublic final String getScalableDimension()
ScalableTargetPropsSpecify the service namespace, resource type, and scaling property.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 ecs:service:DesiredCount
getScalableDimension in interface ScalableTargetPropshttps://docs.aws.amazon.com/autoscaling/application/APIReference/API_ScalingPolicy.htmlpublic final ServiceNamespace getServiceNamespace()
ScalableTargetPropsFor valid AWS service namespace values, see the RegisterScalableTarget action in the Application Auto Scaling API Reference.
getServiceNamespace in interface ScalableTargetPropshttps://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.htmlpublic final IRole getRole()
ScalableTargetPropsDefault: A role is automatically created
getRole in interface ScalableTargetProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.