{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-vpc-destination-configuration-schema.json",
  "title": "VpcDestinationConfiguration",
  "description": "The configuration information for a virtual private cloud (VPC) destination.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-destinations-api-openapi.yml#/components/schemas/VpcDestinationConfiguration",
  "type": "object",
  "required": [
    "subnetIds",
    "vpcId",
    "roleArn"
  ],
  "properties": {
    "subnetIds": {
      "allOf": [
        {
          "$ref": "#/$defs/SubnetIdList"
        },
        {
          "description": "The subnet IDs of the VPC destination."
        }
      ]
    },
    "securityGroups": {
      "allOf": [
        {
          "$ref": "#/$defs/SecurityGroupList"
        },
        {
          "description": "The security groups of the VPC destination."
        }
      ]
    },
    "vpcId": {
      "allOf": [
        {
          "$ref": "#/$defs/VpcId"
        },
        {
          "description": "The ID of the VPC."
        }
      ]
    },
    "roleArn": {
      "allOf": [
        {
          "$ref": "#/$defs/AwsArn"
        },
        {
          "description": "The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs)."
        }
      ]
    }
  },
  "$defs": {
    "AwsArn": {
      "type": "string"
    },
    "SecurityGroupId": {
      "type": "string"
    },
    "SecurityGroupList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SecurityGroupId"
      }
    },
    "SubnetId": {
      "type": "string"
    },
    "SubnetIdList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubnetId"
      }
    },
    "VpcId": {
      "type": "string"
    }
  }
}