Interface ScalableTaskCountProps
- All Superinterfaces:
BaseScalableAttributeProps,EnableScalingProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScalableTaskCountProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.597Z")
@Stability(Stable)
public interface ScalableTaskCountProps
extends software.amazon.jsii.JsiiSerializable, BaseScalableAttributeProps
The properties of a scalable attribute representing task count.
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.ecs.*;
import software.amazon.awscdk.services.iam.*;
Role role;
ScalableTaskCountProps scalableTaskCountProps = ScalableTaskCountProps.builder()
.dimension("dimension")
.maxCapacity(123)
.resourceId("resourceId")
.role(role)
.serviceNamespace(ServiceNamespace.ECS)
// the properties below are optional
.minCapacity(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScalableTaskCountPropsstatic final classAn implementation forScalableTaskCountProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.applicationautoscaling.BaseScalableAttributeProps
getDimension, getResourceId, getRole, getServiceNamespaceMethods inherited from interface software.amazon.awscdk.services.applicationautoscaling.EnableScalingProps
getMaxCapacity, getMinCapacityMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
- Returns:
- a
ScalableTaskCountProps.BuilderofScalableTaskCountProps
-