{
  "type": "object",
  "description": "Describes an internet gateway",
  "properties": {
    "internetGatewayId": {
      "type": "string",
      "description": "The ID of the internet gateway"
    },
    "attachments": {
      "type": "array",
      "description": "Any VPCs attached to the internet gateway",
      "items": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "description": "The current state of the attachment",
            "enum": [
              "attaching",
              "attached",
              "detaching",
              "detached"
            ]
          },
          "vpcId": {
            "type": "string",
            "description": "The ID of the VPC"
          }
        }
      }
    },
    "ownerId": {
      "type": "string",
      "description": "The ID of the AWS account that owns the internet gateway"
    },
    "tags": {
      "type": "array",
      "description": "Any tags assigned to the internet gateway",
      "items": {
        "$ref": "#/components/schemas/Tag"
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "InternetGateway"
}