@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:59.270Z") @Stability(value=Experimental) public interface ScalableTargetProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScalableTargetProps.Builder
A builder for
ScalableTargetProps |
static class |
ScalableTargetProps.Jsii$Proxy
An implementation for
ScalableTargetProps |
| Modifier and Type | Method and Description |
|---|---|
static ScalableTargetProps.Builder |
builder() |
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.
|
default 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.
|
@Stability(value=Experimental) @NotNull Number getMaxCapacity()
@Stability(value=Experimental) @NotNull Number getMinCapacity()
@Stability(value=Experimental) @NotNull String getResourceId()
This 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;
https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html@Stability(value=Experimental) @NotNull String getScalableDimension()
Specify 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
https://docs.aws.amazon.com/autoscaling/application/APIReference/API_ScalingPolicy.html@Stability(value=Experimental) @NotNull ServiceNamespace getServiceNamespace()
For valid AWS service namespace values, see the RegisterScalableTarget action in the Application Auto Scaling API Reference.
https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html@Stability(value=Experimental) @Nullable default IRole getRole()
Default: A role is automatically created
@Stability(value=Experimental) static ScalableTargetProps.Builder builder()
ScalableTargetProps.Builder of ScalableTargetPropsCopyright © 2021. All rights reserved.