Amazon Elastic Load Balancing Elastic Load Balancing Load Balancer Policy API

The Elastic Load Balancing Load Balancer Policy API from Amazon Elastic Load Balancing — 4 operation(s) for elastic load balancing load balancer policy.

GitHub OpenAPI

Operations 4

POST /?Action=CreateLoadBalancerPolicy Create Load Balancer Policy #
POST /?Action=DeleteLoadBalancerPolicy Delete Load Balancer Policy #
POST /?Action=DescribeLoadBalancerPolicies Describe Load Balancer Policies #
POST /?Action=SetLoadBalancerPoliciesForBackendServer Set Load Balancer Policies For Backend Server #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-elastic-load-balancing:amazon-elastic-load-balancing-load-balancer-policy-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

amazon-elastic-load-balancing-load-balancer-policy-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Elastic Load Balancing Load Balancer Policy API
  version: '2015-12-01'
  description: Generated from AWS's published Smithy model for Elastic Load Balancing. 4 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://elasticloadbalancing.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=CreateLoadBalancerPolicy:
    post:
      operationId: CreateLoadBalancerPolicy
      summary: Create Load Balancer Policy
      description: Creates a policy with the specified attributes for the specified load balancer. Policies are settings that
        are saved for your load balancer and that can be applied to the listener or the application server, depending on the
        policy type.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateLoadBalancerPolicyOutput'
        '400':
          description: AccessPointNotFoundException; DuplicatePolicyNameException; PolicyTypeNotFoundException; TooManyPoliciesException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AccessPointNotFoundException'
        '409':
          description: InvalidConfigurationRequestException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidConfigurationRequestException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateLoadBalancerPolicy
                  Version:
                    type: string
                    const: '2012-06-01'
              - $ref: '#/components/schemas/CreateLoadBalancerPolicyInput'
            example:
              LoadBalancerName: my-load-balancer
              PolicyName: my-ProxyProtocol-policy
              PolicyTypeName: ProxyProtocolPolicyType
              PolicyAttributes:
              - AttributeName: ProxyProtocol
                AttributeValue: 'true'
      tags:
      - Load Balancer Policy
  /?Action=DeleteLoadBalancerPolicy:
    post:
      operationId: DeleteLoadBalancerPolicy
      summary: Delete Load Balancer Policy
      description: Deletes the specified policy from the specified load balancer. This policy must not be enabled for any
        listeners.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteLoadBalancerPolicyOutput'
        '400':
          description: AccessPointNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AccessPointNotFoundException'
        '409':
          description: InvalidConfigurationRequestException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidConfigurationRequestException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteLoadBalancerPolicy
                  Version:
                    type: string
                    const: '2012-06-01'
              - $ref: '#/components/schemas/DeleteLoadBalancerPolicyInput'
            example:
              LoadBalancerName: my-load-balancer
              PolicyName: my-duration-cookie-policy
      tags:
      - Load Balancer Policy
  /?Action=DescribeLoadBalancerPolicies:
    post:
      operationId: DescribeLoadBalancerPolicies
      summary: Describe Load Balancer Policies
      description: Describes the specified policies. If you specify a load balancer name, the action returns the descriptions
        of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the
        action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions
        of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the
        ELBSample- prefix.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DescribeLoadBalancerPoliciesOutput'
              example:
                PolicyDescriptions:
                - PolicyAttributeDescriptions:
                  - AttributeName: PublicKeyPolicyName
                    AttributeValue: my-PublicKey-policy
                  PolicyName: my-authentication-policy
                  PolicyTypeName: BackendServerAuthenticationPolicyType
        '400':
          description: AccessPointNotFoundException; PolicyNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AccessPointNotFoundException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeLoadBalancerPolicies
                  Version:
                    type: string
                    const: '2012-06-01'
              - $ref: '#/components/schemas/DescribeLoadBalancerPoliciesInput'
            example:
              LoadBalancerName: my-load-balancer
              PolicyNames:
              - my-authentication-policy
      tags:
      - Load Balancer Policy
  /?Action=SetLoadBalancerPoliciesForBackendServer:
    post:
      operationId: SetLoadBalancerPoliciesForBackendServer
      summary: Set Load Balancer Policies For Backend Server
      description: Replaces the set of policies associated with the specified port on which the EC2 instance is listening
        with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the
        instance ports; this policy type is composed of multiple public key policies. Each time you use SetLoadBalancerPoliciesForBackendServer
        to enable the policies, use the PolicyNames parameter to list the policies that you want to enable. You can use DescribeLoadBalancers
        or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance. For more information
        about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load
        Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load
        Balancers Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/SetLoadBalancerPoliciesForBackendServerOutput'
        '400':
          description: AccessPointNotFoundException; PolicyNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AccessPointNotFoundException'
        '409':
          description: InvalidConfigurationRequestException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidConfigurationRequestException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: SetLoadBalancerPoliciesForBackendServer
                  Version:
                    type: string
                    const: '2012-06-01'
              - $ref: '#/components/schemas/SetLoadBalancerPoliciesForBackendServerInput'
            example:
              LoadBalancerName: my-load-balancer
              InstancePort: 80
              PolicyNames:
              - my-ProxyProtocol-policy
      tags:
      - Load Balancer Policy
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: elasticloadbalancing
  schemas:
    AccessPointNotFoundException:
      type: object
      properties:
        Message:
          type: string
    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: '#/components/schemas/PolicyAttribute'
          description: The policy attributes.
      required:
      - LoadBalancerName
      - PolicyName
      - PolicyTypeName
    CreateLoadBalancerPolicyOutput:
      type: object
      properties: {}
    DeleteLoadBalancerPolicyInput:
      type: object
      properties:
        LoadBalancerName:
          type: string
          description: The name of the load balancer.
        PolicyName:
          type: string
          description: The name of the policy.
      required:
      - LoadBalancerName
      - PolicyName
    DeleteLoadBalancerPolicyOutput:
      type: object
      properties: {}
    DescribeLoadBalancerPoliciesInput:
      type: object
      properties:
        LoadBalancerName:
          type: string
          description: The name of the load balancer.
        PolicyNames:
          type: array
          items:
            type: string
          description: The names of the policies.
    DescribeLoadBalancerPoliciesOutput:
      type: object
      properties:
        PolicyDescriptions:
          type: array
          items:
            $ref: '#/components/schemas/PolicyDescription'
          description: Information about the policies.
    InvalidConfigurationRequestException:
      type: object
      properties:
        Message:
          type: string
    PolicyAttribute:
      type: object
      properties:
        AttributeName:
          type: string
          description: The name of the attribute.
        AttributeValue:
          type: string
          description: The value of the attribute.
    PolicyAttributeDescription:
      type: object
      properties:
        AttributeName:
          type: string
          description: The name of the attribute.
        AttributeValue:
          type: string
          description: The value of the attribute.
    PolicyDescription:
      type: object
      properties:
        PolicyName:
          type: string
          description: The name of the policy.
        PolicyTypeName:
          type: string
          description: The name of the policy type.
        PolicyAttributeDescriptions:
          type: array
          items:
            $ref: '#/components/schemas/PolicyAttributeDescription'
          description: The policy attributes.
    SetLoadBalancerPoliciesForBackendServerInput:
      type: object
      properties:
        LoadBalancerName:
          type: string
          description: The name of the load balancer.
        InstancePort:
          type: integer
          description: The port number associated with the EC2 instance.
        PolicyNames:
          type: array
          items:
            type: string
          description: The names of the policies. If the list is empty, then all current polices are removed from the EC2
            instance.
      required:
      - LoadBalancerName
      - InstancePort
      - PolicyNames
    SetLoadBalancerPoliciesForBackendServerOutput:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/elastic-load-balancing/service/2012-06-01/elastic-load-balancing-2012-06-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)