{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-update-service-network-vpc-association-request-schema.json",
  "title": "UpdateServiceNetworkVpcAssociationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-vpc-lattice-updateservicenetworkvpcassociation-api-openapi.yml#/components/schemas/UpdateServiceNetworkVpcAssociationRequest",
  "type": "object",
  "properties": {
    "serviceNetworkVpcAssociationIdentifier": {
      "type": "string",
      "description": "The ID or ARN of the association."
    },
    "securityGroupIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of the security groups."
    },
    "privateDnsEnabled": {
      "type": "boolean",
      "description": "Indicates if private DNS is enabled for the VPC association."
    },
    "dnsOptions": {
      "$ref": "#/$defs/DnsOptions"
    }
  },
  "required": [
    "serviceNetworkVpcAssociationIdentifier"
  ],
  "$defs": {
    "DnsOptions": {
      "type": "object",
      "properties": {
        "privateDnsPreference": {
          "type": "string",
          "description": "The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource. ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom domain names. VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider. VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the reso"
        },
        "privateDnsSpecifiedDomains": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS or SPECIFIED_DOMAINS_ONLY."
        }
      }
    }
  }
}