{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elastic-load-balancing/json-schema/amazon-elastic-load-balancing-create-load-balancer-policy-input-schema.json",
  "title": "CreateLoadBalancerPolicyInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elastic-load-balancing-load-balancer-policy-api-openapi.yml#/components/schemas/CreateLoadBalancerPolicyInput",
  "type": "object",
  "properties": {
    "LoadBalancerName": {
      "type": "string",
      "description": "The name of the load balancer."
    },
    "PolicyName": {
      "type": "string",
      "description": "The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer."
    },
    "PolicyTypeName": {
      "type": "string",
      "description": "The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes."
    },
    "PolicyAttributes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PolicyAttribute"
      },
      "description": "The policy attributes."
    }
  },
  "required": [
    "LoadBalancerName",
    "PolicyName",
    "PolicyTypeName"
  ],
  "$defs": {
    "PolicyAttribute": {
      "type": "object",
      "properties": {
        "AttributeName": {
          "type": "string",
          "description": "The name of the attribute."
        },
        "AttributeValue": {
          "type": "string",
          "description": "The value of the attribute."
        }
      }
    }
  }
}