latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Elastigroup AWS

List Elastigroup

Describe a specific Elastigroup JSON

get/aws/ec2/group/{groupId}

Query parameters

accountIdstring

ID of the account associated with your token

Parameters

#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 — unresolved $ref

Response

List Group Response

Example response

{
  "request": {
    "id": "67582d0c-108b-4ef7-9fdc-d39678a30844",
    "url": "/aws/ec2/group/sig-1234567",
    "method": "GET",
    "timestamp": "2018-01-07T07:30:58.622Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:group",
    "items": [
      {
        "id": "sig-1234567",
        "name": "EG",
        "description": "validation",
        "capacity": {
          "minimum": 1,
          "maximum": 1,
          "target": 1,
          "unit": "instance"
        },
        "strategy": {
          "risk": 100,
          "availabilityVsCost": "balanced",
          "lifetimePeriod": "days",
          "fallbackToOd": true,
          "revertToSpot": {
            "performAt": "always"
          }
        },
        "compute": {
          "instanceTypes": {
            "ondemand": "c3.4xlarge"
          },
          "availabilityZones": {
            "name": "eu-west-1b"
          },
          "launchSpecification": {
            "healthCheckGracePeriod": 300,
            "iamRole": {
              "arn": "arn:aws:iam::1234356789:instance-profile/Loader"
            },
            "keyPair": "PA",
            "userData": "sldkfoisnfgodng",
            "tags": {
              "tagKey": "Env",
              "tagValue": "TEST"
            },
            "tenancy": "default"
          }
        },
        "scheduling": {
          "tasks": [
            {
              "taskType": "backup_ami"
            }
          ]
        },
        "createdAt": "2015-10-23T09:00:00.000Z",
        "updatedAt": "2018-08-01T14:11:39.000Z"
      }
    ],
    "count": 1
  }
}