@Stability(value=Stable)
public static interface CfnTaskSet.ScaleProperty
extends software.amazon.jsii.JsiiSerializable
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.ecs.*;
ScaleProperty scaleProperty = ScaleProperty.builder()
.unit("unit")
.value(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskSet.ScaleProperty.Builder
A builder for
CfnTaskSet.ScaleProperty |
static class |
CfnTaskSet.ScaleProperty.Jsii$Proxy
An implementation for
CfnTaskSet.ScaleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskSet.ScaleProperty.Builder |
builder() |
default String |
getUnit()
The unit of measure for the scale value.
|
default Number |
getValue()
The value, specified as a percent total of a service's `desiredCount` , to scale the task set.
|
@Stability(value=Stable) @Nullable default String getUnit()
@Stability(value=Stable) @Nullable default Number getValue()
Accepted values are numbers between 0 and 100.
@Stability(value=Stable) static CfnTaskSet.ScaleProperty.Builder builder()
CfnTaskSet.ScaleProperty.Builder of CfnTaskSet.ScalePropertyCopyright © 2022. All rights reserved.