Interface CfnTaskSet.ScaleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskSet.ScaleProperty.Jsii$Proxy
- Enclosing class:
CfnTaskSet
@Stability(Stable)
public static interface CfnTaskSet.ScaleProperty
extends software.amazon.jsii.JsiiSerializable
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskSet.ScaleProperty
static final class
An implementation forCfnTaskSet.ScaleProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUnit
The unit of measure for the scale value. -
getValue
The value, specified as a percent total of a service'sdesiredCount
, to scale the task set.Accepted values are numbers between 0 and 100.
-
builder
- Returns:
- a
CfnTaskSet.ScaleProperty.Builder
ofCfnTaskSet.ScaleProperty
-