{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-route53-resolver/refs/heads/main/json-schema/amazon-route53-resolver-openapi-ip-address-request-schema.json",
"title": "IpAddressRequest",
"description": "In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). IpAddressRequest also includes the ID of the subnet that contains the IP address.",
"type": "object",
"properties": {
"SubnetId": {
"allOf": [
{
"$ref": "#/components/schemas/SubnetId"
},
{
"description": "The ID of the subnet that contains the IP address. "
}
]
},
"Ip": {
"allOf": [
{
"$ref": "#/components/schemas/Ip"
},
{
"description": "The IPv4 address that you want to use for DNS queries."
}
]
},
"Ipv6": {
"allOf": [
{
"$ref": "#/components/schemas/Ipv6"
},
{
"description": " The IPv6 address that you want to use for DNS queries. "
}
]
}
},
"required": [
"SubnetId"
]
}