{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-update-vpc-attachment-request-schema.json",
  "title": "UpdateVpcAttachmentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-vpc-attachments-api-openapi.yml#/components/schemas/UpdateVpcAttachmentRequest",
  "type": "object",
  "properties": {
    "AttachmentId": {
      "type": "string",
      "description": "The ID of the attachment."
    },
    "AddSubnetArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Adds a subnet ARN to the VPC attachment."
    },
    "RemoveSubnetArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Removes a subnet ARN from the attachment."
    },
    "Options": {
      "$ref": "#/$defs/VpcOptions"
    }
  },
  "required": [
    "AttachmentId"
  ],
  "$defs": {
    "VpcOptions": {
      "type": "object",
      "properties": {
        "Ipv6Support": {
          "type": "boolean",
          "description": "Indicates whether IPv6 is supported."
        },
        "ApplianceModeSupport": {
          "type": "boolean",
          "description": "Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false."
        },
        "DnsSupport": {
          "type": "boolean",
          "description": "Indicates whether DNS is supported."
        },
        "SecurityGroupReferencingSupport": {
          "type": "boolean",
          "description": "Indicates whether security group referencing is enabled for this VPC attachment. The default is true. However, at the core network policy-level the default is set to false."
        }
      }
    }
  }
}