GEThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}/codeDeploy/blueGreenDeployment ?accountId={ACCOUNT_ID}
Get CodeDeploy Elastigroup deployment status for more information see: CodeDeploy B/G Deployment
URL Parameters
Parameter | Type | Description |
---|---|---|
GROUP_ID * |
String |
The Elastigroup ID you want to deploy
Example:
sig-12345
|
ACCOUNT_ID |
String |
Your Spotinst accountId associated with your token
Example:
act-123abc
|
Request
Headers
{ "Content-Type": "application/json", "Authorization": "Bearer ${token}" }
Response - 200
Headers
{ "Content-Type": "application/json" }
Body
{ "status": { "code": 200, "message": "OK" }, "kind": "spotinst:aws:ec2:group:codeDeploy:blueGreenDeployment", "items": [ { "id": "cdbg-3ccf814f", "groupId": "sig-872379d8", "state": "STARTING", "config": { "timeout": 20, "tags": [ { "tagKey": "ver", "tagValue": "pink" } ], "deploymentGroups": [ { "applicationName": "appTest", "deploymentGroupName": "deploymentGroupTest" } ] } } ], "count": 1 }