The scalable attribute representing task count.
import { ScalableTaskCount } from 'aws-cdk-lib/aws-ecs';Or use the module namespace:
import * as ecs from 'aws-cdk-lib/aws-ecs';
// ecs.ScalableTaskCountConfiguration passed to the constructor as ScalableTaskCountProps.
BaseScalableAttributePropsdimensionRequiredinherited from BaseScalableAttributePropsstringScalable dimension of the attribute.
resourceIdRequiredinherited from BaseScalableAttributePropsstringResource ID of the attribute.
roleRequiredinherited from BaseScalableAttributePropsIRoleRole to use for scaling.
serviceNamespaceRequiredinherited from BaseScalableAttributePropsServiceNamespaceService namespace of the scalable attribute.
EnableScalingPropsmaxCapacityRequiredinherited from EnableScalingPropsnumberMaximum capacity to scale to.
minCapacityOptionalinherited from EnableScalingPropsnumberMinimum capacity to scale to.
Default: 1
Everything you need to know about Amazon ECS on one page. HD quality, print-friendly.
Download Free Infographicaws-ecs