Amazon Elastic Load Balancing · JSON Structure

Amazon Elastic Load Balancing Load Balancer Structure

Describes a load balancer

Type: object Properties: 12
Amazon Web ServicesHigh AvailabilityLoad BalancingNetworkingScalability

LoadBalancer is a JSON Structure definition published by Amazon Elastic Load Balancing, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

loadBalancerArn dnsName canonicalHostedZoneId createdTime loadBalancerName scheme vpcId state type availabilityZones securityGroups ipAddressType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-elastic-load-balancing/refs/heads/main/json-structure/amazon-elastic-load-balancing-load-balancer-structure.json",
  "name": "LoadBalancer",
  "description": "Describes a load balancer",
  "type": "object",
  "properties": {
    "loadBalancerArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the load balancer"
    },
    "dnsName": {
      "type": "string",
      "description": "The public DNS name of the load balancer"
    },
    "canonicalHostedZoneId": {
      "type": "string",
      "description": "The ID of the Amazon Route 53 hosted zone for the load balancer"
    },
    "createdTime": {
      "type": "datetime",
      "description": "The date and time the load balancer was created"
    },
    "loadBalancerName": {
      "type": "string",
      "description": "The name of the load balancer"
    },
    "scheme": {
      "type": "string",
      "description": "The scheme of the load balancer",
      "enum": [
        "internet-facing",
        "internal"
      ]
    },
    "vpcId": {
      "type": "string",
      "description": "The ID of the VPC for the load balancer"
    },
    "state": {
      "type": "object",
      "description": "The state of the load balancer",
      "properties": {
        "code": {
          "type": "string",
          "description": "The state code",
          "enum": [
            "active",
            "provisioning",
            "active_impaired",
            "failed"
          ]
        },
        "reason": {
          "type": "string",
          "description": "A description of the state"
        }
      }
    },
    "type": {
      "type": "string",
      "description": "The type of load balancer",
      "enum": [
        "application",
        "network",
        "gateway"
      ]
    },
    "availabilityZones": {
      "type": "array",
      "description": "The subnets for the load balancer",
      "items": {
        "type": "object",
        "properties": {
          "zoneName": {
            "type": "string",
            "description": "The name of the Availability Zone"
          },
          "subnetId": {
            "type": "string",
            "description": "The ID of the subnet"
          }
        }
      }
    },
    "securityGroups": {
      "type": "array",
      "description": "The IDs of the security groups for the load balancer",
      "items": {
        "type": "string"
      }
    },
    "ipAddressType": {
      "type": "string",
      "description": "The type of IP addresses used by the subnets",
      "enum": [
        "ipv4",
        "dualstack"
      ]
    }
  }
}