Interface IScalableTaskCountProps
The properties of a scalable attribute representing task count.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IScalableTaskCountProps : IBaseScalableAttributeProps, IEnableScalingProps
Syntax (vb)
Public Interface IScalableTaskCountProps
Inherits IBaseScalableAttributeProps, IEnableScalingProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationAutoScaling;
using Amazon.CDK.AWS.ECS;
using Amazon.CDK.AWS.IAM;
Role role;
var scalableTaskCountProps = new ScalableTaskCountProps {
Dimension = "dimension",
MaxCapacity = 123,
ResourceId = "resourceId",
Role = role,
ServiceNamespace = ServiceNamespace.ECS,
// the properties below are optional
MinCapacity = 123
};