SqsQueueSizeScalingRule object

It is used in combination with the user defined Scaling Metrics.

Polymorphism

SqsQueueSizeScalingRule is a type that implements the BasicScalingRule type.

When an object of type BasicScalingRule is expected, you can use one of type SqsQueueSizeScalingRule (or use any other implementation).

Example JSON representation

{
  "name": "SqsQueueSize", 
  "queue": "string", 
  "ruleType": "SqsQueueSizeScalingRule", 
  "scaleDown": 1, 
  "scaleUp": 1
}

Properties

property attributes valid values description filter option
name
string
required
create-only
filterable
"SqsQueueSize"

Scaling rule name.

?name=...
queue
string
required

The AWS SQS queue name.

ruleType
string
required
create-only
filterable
"SqsQueueSizeScalingRule" ?ruleType=...
scaleDown
integer
required

Scale down threshold.

scaleUp
integer
required

Scale up threshold.