eks-2017-11-01.waiters2.json 2.05 KB
{
  "version": 2,
  "waiters": {
    "ClusterActive": {
      "delay": 30,
      "operation": "DescribeCluster",
      "maxAttempts": 40,
      "acceptors": [
        {
          "expected": "DELETING",
          "matcher": "path",
          "state": "failure",
          "argument": "cluster.status"
        },
        {
          "expected": "FAILED",
          "matcher": "path",
          "state": "failure",
          "argument": "cluster.status"
        },
        {
          "expected": "ACTIVE",
          "matcher": "path",
          "state": "success",
          "argument": "cluster.status"
        }
      ]
    },
    "ClusterDeleted": {
      "delay": 30,
      "operation": "DescribeCluster",
      "maxAttempts": 40,
      "acceptors": [
        {
          "expected": "ACTIVE",
          "matcher": "path",
          "state": "failure",
          "argument": "cluster.status"
        },
        {
          "expected": "CREATING",
          "matcher": "path",
          "state": "failure",
          "argument": "cluster.status"
        },
        {
          "expected": "ResourceNotFoundException",
          "matcher": "error",
          "state": "success"
        }
      ]
    },
    "NodegroupActive": {
      "delay": 30,
      "operation": "DescribeNodegroup",
      "maxAttempts": 80,
      "acceptors": [
        {
          "expected": "CREATE_FAILED",
          "matcher": "path",
          "state": "failure",
          "argument": "nodegroup.status"
        },
        {
          "expected": "ACTIVE",
          "matcher": "path",
          "state": "success",
          "argument": "nodegroup.status"
        }
      ]
    },
    "NodegroupDeleted": {
      "delay": 30,
      "operation": "DescribeNodegroup",
      "maxAttempts": 40,
      "acceptors": [
        {
          "expected": "DELETE_FAILED",
          "matcher": "path",
          "state": "failure",
          "argument": "nodegroup.status"
        },
        {
          "expected": "ResourceNotFoundException",
          "matcher": "error",
          "state": "success"
        }
      ]
    }
  }
}