Amazon Elastic Load Balancing · Schema
SetSubnetsInput
Amazon Web ServicesHigh AvailabilityLoad BalancingNetworkingScalability
Properties
| Name | Type | Description |
|---|---|---|
| LoadBalancerArn | string | The Amazon Resource Name (ARN) of the load balancer. |
| Subnets | array | The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at |
| SubnetMappings | array | The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at |
| IpAddressType | string | The IP address type. [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and priva |
| EnablePrefixForIpv6SourceNat | string | [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be dualstack. The default value is off. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-elastic-load-balancing/json-schema/amazon-elastic-load-balancing-set-subnets-input-schema.json",
"title": "SetSubnetsInput",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-elastic-load-balancing-operations-api-openapi.yml#/components/schemas/SetSubnetsInput",
"type": "object",
"properties": {
"LoadBalancerArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the load balancer."
},
"Subnets": {
"type": "array",
"items": {
"type": "string"
},
"description": "The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You must include all s"
},
"SubnetMappings": {
"type": "array",
"items": {
"$ref": "#/$defs/SubnetMapping"
},
"description": "The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You can't specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet i"
},
"IpAddressType": {
"type": "string",
"enum": [
"ipv4",
"dualstack",
"dualstack-without-public-ipv4"
],
"description": "The IP address type. [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and private IPv4 and IPv6 addresses). [Network Load Balancers and Gateway Load Balancers] The possible values are ipv4 (IPv4 addresses) and dualstack (IPv4 and IPv6 addresses)."
},
"EnablePrefixForIpv6SourceNat": {
"type": "string",
"enum": [
"on",
"off"
],
"description": "[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be dualstack. The default value is off."
}
},
"required": [
"LoadBalancerArn"
],
"$defs": {
"SubnetMapping": {
"type": "object",
"properties": {
"SubnetId": {
"type": "string",
"description": "The ID of the subnet."
},
"AllocationId": {
"type": "string",
"description": "[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer."
},
"PrivateIPv4Address": {
"type": "string",
"description": "[Network Load Balancers] The private IPv4 address for an internal load balancer."
},
"IPv6Address": {
"type": "string",
"description": "[Network Load Balancers] The IPv6 address."
},
"SourceNatIpv6Prefix": {
"type": "string",
"description": "[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-elastic-load-balancing-set-subnets-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.