{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-create-egress-only-internet-gateway-result-schema.json",
  "title": "CreateEgressOnlyInternetGatewayResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-egress-only-internet-gateway-api-openapi.yml#/components/schemas/CreateEgressOnlyInternetGatewayResult",
  "type": "object",
  "properties": {
    "ClientToken": {
      "type": "string",
      "description": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
    },
    "EgressOnlyInternetGateway": {
      "$ref": "#/$defs/EgressOnlyInternetGateway"
    }
  },
  "$defs": {
    "EgressOnlyInternetGateway": {
      "type": "object",
      "properties": {
        "Attachments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InternetGatewayAttachment"
          },
          "description": "Information about the attachment of the egress-only internet gateway."
        },
        "EgressOnlyInternetGatewayId": {
          "type": "string",
          "description": "The ID of the egress-only internet gateway."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags assigned to the egress-only internet gateway."
        }
      }
    },
    "InternetGatewayAttachment": {
      "type": "object",
      "properties": {
        "State": {
          "type": "string",
          "enum": [
            "attaching",
            "attached",
            "detaching",
            "detached"
          ],
          "description": "The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    }
  }
}