@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.306Z") @Stability(value=Experimental) public interface BaseScalableAttributeProps extends software.amazon.jsii.JsiiSerializable, EnableScalingProps
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.*;
import software.amazon.awscdk.services.iam.*;
Role role;
BaseScalableAttributeProps baseScalableAttributeProps = BaseScalableAttributeProps.builder()
.dimension("dimension")
.maxCapacity(123)
.resourceId("resourceId")
.role(role)
.serviceNamespace(ServiceNamespace.ECS)
// the properties below are optional
.minCapacity(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
BaseScalableAttributeProps.Builder
A builder for
BaseScalableAttributeProps |
static class |
BaseScalableAttributeProps.Jsii$Proxy
An implementation for
BaseScalableAttributeProps |
| Modifier and Type | Method and Description |
|---|---|
static BaseScalableAttributeProps.Builder |
builder() |
String |
getDimension()
(experimental) Scalable dimension of the attribute.
|
String |
getResourceId()
(experimental) Resource ID of the attribute.
|
IRole |
getRole()
(experimental) Role to use for scaling.
|
ServiceNamespace |
getServiceNamespace()
(experimental) Service namespace of the scalable attribute.
|
getMaxCapacity, getMinCapacity@Stability(value=Experimental) @NotNull String getDimension()
@Stability(value=Experimental) @NotNull String getResourceId()
@Stability(value=Experimental) @NotNull IRole getRole()
@Stability(value=Experimental) @NotNull ServiceNamespace getServiceNamespace()
@Stability(value=Experimental) static BaseScalableAttributeProps.Builder builder()
builder in interface EnableScalingPropsBaseScalableAttributeProps.Builder of BaseScalableAttributePropsCopyright © 2022. All rights reserved.