{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-create-vpc-endpoint-association-request-schema.json",
  "title": "CreateVpcEndpointAssociationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-vpc-endpoint-association-api-openapi.yml#/components/schemas/CreateVpcEndpointAssociationRequest",
  "type": "object",
  "properties": {
    "FirewallArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the firewall."
    },
    "VpcId": {
      "type": "string",
      "description": "The unique identifier of the VPC where you want to create a firewall endpoint."
    },
    "SubnetMapping": {
      "$ref": "#/$defs/SubnetMapping"
    },
    "Description": {
      "type": "string",
      "description": "A description of the VPC endpoint association."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The key:value pairs to associate with the resource."
    }
  },
  "required": [
    "FirewallArn",
    "VpcId",
    "SubnetMapping"
  ],
  "$defs": {
    "SubnetMapping": {
      "type": "object",
      "properties": {
        "SubnetId": {
          "type": "string",
          "description": "The unique identifier for the subnet."
        },
        "IPAddressType": {
          "type": "string",
          "enum": [
            "DUALSTACK",
            "IPV4",
            "IPV6"
          ],
          "description": "The subnet's IP address type. You can't change the IP address type after you create the subnet."
        }
      },
      "required": [
        "SubnetId"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive."
        },
        "Value": {
          "type": "string",
          "description": "The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}