{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-create-carrier-gateway-result-schema.json",
  "title": "CreateCarrierGatewayResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-carrier-gateway-api-openapi.yml#/components/schemas/CreateCarrierGatewayResult",
  "type": "object",
  "properties": {
    "CarrierGateway": {
      "$ref": "#/$defs/CarrierGateway"
    }
  },
  "$defs": {
    "CarrierGateway": {
      "type": "object",
      "properties": {
        "CarrierGatewayId": {
          "type": "string",
          "description": "The ID of the carrier gateway."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC associated with the carrier gateway."
        },
        "State": {
          "type": "string",
          "enum": [
            "pending",
            "available",
            "deleting",
            "deleted"
          ],
          "description": "The state of the carrier gateway."
        },
        "OwnerId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the owner of the carrier gateway."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags assigned to the carrier gateway."
        }
      }
    },
    "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."
        }
      }
    }
  }
}