Show / Hide Table of Contents

Interface IRequestCountScalingProps

The properties for enabling scaling based on Application Load Balancer (ALB) request counts.

Inherited Members
IBaseTargetTrackingProps.DisableScaleIn
IBaseTargetTrackingProps.PolicyName
IBaseTargetTrackingProps.ScaleInCooldown
IBaseTargetTrackingProps.ScaleOutCooldown
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IRequestCountScalingProps : IBaseTargetTrackingProps
Syntax (vb)
Public Interface IRequestCountScalingProps
    Inherits IBaseTargetTrackingProps
Remarks

ExampleMetadata: infused

Examples
ApplicationTargetGroup target;
BaseService service;

var scaling = service.AutoScaleTaskCount(new EnableScalingProps { MaxCapacity = 10 });
scaling.ScaleOnCpuUtilization("CpuScaling", new CpuUtilizationScalingProps {
    TargetUtilizationPercent = 50
});

scaling.ScaleOnRequestCount("RequestScaling", new RequestCountScalingProps {
    RequestsPerTarget = 10000,
    TargetGroup = target
});

Synopsis

Properties

RequestsPerTarget

The number of ALB requests per target.

TargetGroup

The ALB target group name.

Properties

RequestsPerTarget

The number of ALB requests per target.

double RequestsPerTarget { get; }
Property Value

System.Double

TargetGroup

The ALB target group name.

ApplicationTargetGroup TargetGroup { get; }
Property Value

ApplicationTargetGroup

Back to top Generated by DocFX