Elastigroup AWS
Suspend Scaling Policies
Suspend processes inside your Elastigroup
post/aws/ec2/group/{groupId}/scale/suspendPolicy
Query parameters
policyNamestring required
Policy Name of scaling policy to suspend
Parameters
#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 — unresolved $ref
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref
Request body
Example request
{
"suspension": {
"ttlInMinutes": 10
}
}Response
Suspend Scaling Policies Response
Example response
{
"request": {
"id": "0bb5db74-2457-4a34-b8f3-174e6bf5578e",
"url": "/aws/ec2/group/sig-12345/scale/suspendPolicy?accountId=act-1234567&policyName=myscalingpolicyname",
"method": "POST",
"timestamp": "2016-06-19T08:41:57.516Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"kind": "spotinst:aws:ec2:suspension",
"items": [
{
"groupId": "sig-12345",
"policyName": "myscalingpolicyname",
"state": "suspended",
"expiresAt": "2016-06-19T08:51:00:00Z"
}
],
"count": 1
}
}Changes
No recorded changes to this endpoint across all 4 revisions of this API.