@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.383Z") @Stability(value=Stable) 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()
Scalable dimension of the attribute.
|
String |
getResourceId()
Resource ID of the attribute.
|
IRole |
getRole()
Role to use for scaling.
|
ServiceNamespace |
getServiceNamespace()
Service namespace of the scalable attribute.
|
getMaxCapacity, getMinCapacity@Stability(value=Stable) @NotNull String getDimension()
@Stability(value=Stable) @NotNull String getResourceId()
@Stability(value=Stable) @NotNull IRole getRole()
@Stability(value=Stable) @NotNull ServiceNamespace getServiceNamespace()
@Stability(value=Stable) static BaseScalableAttributeProps.Builder builder()
builder in interface EnableScalingPropsBaseScalableAttributeProps.Builder of BaseScalableAttributePropsCopyright © 2022. All rights reserved.