Amazon Elastic Load Balancing Listeners API

Operations for creating and managing listeners

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /?Action=CreateListener Create a listener on a load balancer · Create Listener #
Ask an LLM
“How do I add a listener to an Application Load Balancer?”
“Can I create a listener that terminates HTTPS traffic with a certificate?”
Tell an agent
Create a {protocol} listener on load balancer {load_balancer_arn} that forwards to {default_actions}.
Add an HTTPS listener to {load_balancer_arn} using certificate {certificates} and policy {ssl_policy}.
POST /?Action=DeleteListener Delete a load balancer listener · Delete Listener #
Ask an LLM
“How do I remove a listener from a load balancer?”
“Is a listener deleted when I delete its load balancer?”
Tell an agent destructive · confirm first
Delete listener {listener_arn}.
Remove the listener {listener_arn} from its load balancer.
POST /?Action=DescribeListeners List listeners on a load balancer · Describe Listeners #
Ask an LLM
“Which listeners are attached to my Application Load Balancer?”
“Can I see the default actions of several listeners at once?”
Tell an agent
Describe the listeners on load balancer {load_balancer_arn}.
Show listeners {listener_arns}.
POST /?Action=ModifyListener Change a load balancer listener · Modify Listener #
Ask an LLM
“How do I change the port or protocol of an existing listener?”
“Can I swap an HTTP listener to HTTPS and add a certificate?”
Tell an agent
Change listener {listener_arn} to port {port}.
Modify listener {listener_arn} to use protocol {protocol} and default actions {default_actions}.

Documentation

Specifications

Schemas & Data

Other Resources

🔗
Pricing
https://aws.amazon.com/elasticloadbalancing/pricing/
🔗
FAQ
https://aws.amazon.com/elasticloadbalancing/faqs/
🔗
JSONLD
https://artifacts.apis.io/amazon-elastic-load-balancing/json-ld/amazon-elastic-load-balancing-context.jsonld
🔗
APIsJSON
https://artifacts.apis.io/amazon-elastic-load-balancing/apis.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-add-host-based-routing-rule-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-add-listener-to-existing-load-balancer-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-add-path-maintenance-rule-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-audit-load-balancer-configuration-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-decommission-load-balancer-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-drain-and-deregister-target-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-poll-target-health-until-healthy-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-provision-application-load-balancer-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-provision-network-load-balancer-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-register-targets-and-check-health-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/amazon-elastic-load-balancing/arazzo/amazon-elastic-load-balancing-tune-load-balancer-attributes-workflow.yml

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-listeners-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-listeners-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Elastic Load Balancing Listeners 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=CreateListener:
    post:
      operationId: CreateListener
      summary: Create Listener
      description: 'Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load
        Balancer. For more information, see the following: Listeners for your Application Load Balancers Listeners for your
        Network Load Balancers Listeners for your Gateway Load Balancers This operation is idempotent, which means that it
        completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateListenerOutput'
              example:
                Listeners:
                - Protocol: HTTP
                  DefaultActions:
                  - TargetGroupArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067
                    Type: forward
                  LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
                  Port: 80
                  ListenerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
        '400':
          description: ALPNPolicyNotSupportedException; CertificateNotFoundException; DuplicateListenerException; IncompatibleProtocolsException;
            InvalidConfigurationRequestException; InvalidLoadBalancerActionException; LoadBalancerNotFoundException; SSLPolicyNotFoundException;
            TargetGroupAssociationLimitException; TargetGroupNotFoundException; TooManyActionsException; TooManyCertificatesException;
            TooManyListenersException; TooManyRegistrationsForTargetIdException; TooManyTagsException; TooManyTargetsException;
            TooManyUniqueTargetGroupsPerLoadBalancerException; TrustStoreNotFoundException; TrustStoreNotReadyException; UnsupportedProtocolException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ALPNPolicyNotSupportedException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateListener
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/CreateListenerInput'
            example:
              LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
              Protocol: HTTP
              Port: 80
              DefaultActions:
              - Type: forward
                TargetGroupArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067
      tags:
      - Listeners
  /?Action=DeleteListener:
    post:
      operationId: DeleteListener
      summary: Delete Listener
      description: Deletes the specified listener. Alternatively, your listener is deleted when you delete the load balancer
        to which it is attached.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteListenerOutput'
        '400':
          description: ListenerNotFoundException; ResourceInUseException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ListenerNotFoundException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteListener
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/DeleteListenerInput'
            example:
              ListenerArn: arn:aws:elasticloadbalancing:ua-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
      tags:
      - Listeners
  /?Action=DescribeListeners:
    post:
      operationId: DescribeListeners
      summary: Describe Listeners
      description: Describes the specified listeners or the listeners for the specified Application Load Balancer, Network
        Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DescribeListenersOutput'
              example:
                Listeners:
                - Protocol: HTTP
                  DefaultActions:
                  - TargetGroupArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067
                    Type: forward
                  LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
                  Port: 80
                  ListenerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
        '400':
          description: ListenerNotFoundException; LoadBalancerNotFoundException; UnsupportedProtocolException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ListenerNotFoundException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeListeners
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/DescribeListenersInput'
            example:
              ListenerArns:
              - arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
      tags:
      - Listeners
  /?Action=ModifyListener:
    post:
      operationId: ModifyListener
      summary: Modify Listener
      description: Replaces the specified properties of the specified listener. Any properties that you do not specify remain
        unchanged. Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate
        properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and
        default certificate properties. To add an item to a list, remove an item from a list, or update an item in a list,
        you must provide the entire list. For example, to add an action, specify a list with the current actions plus the
        new action.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ModifyListenerOutput'
              example:
                Listeners:
                - Protocol: HTTP
                  DefaultActions:
                  - TargetGroupArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f
                    Type: forward
                  LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
                  Port: 80
                  ListenerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
        '400':
          description: ALPNPolicyNotSupportedException; CertificateNotFoundException; DuplicateListenerException; IncompatibleProtocolsException;
            InvalidConfigurationRequestException; InvalidLoadBalancerActionException; ListenerNotFoundException; SSLPolicyNotFoundException;
            TargetGroupAssociationLimitException; TargetGroupNotFoundException; TooManyActionsException; TooManyCertificatesException;
            TooManyListenersException; TooManyRegistrationsForTargetIdException; TooManyTargetsException; TooManyUniqueTargetGroupsPerLoadBalancerException;
            TrustStoreNotFoundException; TrustStoreNotReadyException; UnsupportedProtocolException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ALPNPolicyNotSupportedException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ModifyListener
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/ModifyListenerInput'
            example:
              ListenerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
              DefaultActions:
              - Type: forward
                TargetGroupArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f
      tags:
      - Listeners
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:
    ALPNPolicyNotSupportedException:
      type: object
      properties:
        Message:
          type: string
    Action:
      type: object
      properties:
        Type:
          type: string
          enum:
          - forward
          - authenticate-oidc
          - authenticate-cognito
          - redirect
          - fixed-response
          - jwt-validation
          description: The type of action.
        TargetGroupArn:
          type: string
          description: The Amazon Resource Name (ARN) of the target group. Specify only when Type is forward and you want
            to route to a single target group. To route to multiple target groups, you must use ForwardConfig instead.
        AuthenticateOidcConfig:
          $ref: '#/components/schemas/AuthenticateOidcActionConfig'
        AuthenticateCognitoConfig:
          $ref: '#/components/schemas/AuthenticateCognitoActionConfig'
        Order:
          type: integer
          description: The order for the action. This value is required for rules with multiple actions. The action with the
            lowest value for order is performed first.
        RedirectConfig:
          $ref: '#/components/schemas/RedirectActionConfig'
        FixedResponseConfig:
          $ref: '#/components/schemas/FixedResponseActionConfig'
        ForwardConfig:
          $ref: '#/components/schemas/ForwardActionConfig'
        JwtValidationConfig:
          $ref: '#/components/schemas/JwtValidationActionConfig'
      required:
      - Type
    AuthenticateCognitoActionConfig:
      type: object
      properties:
        UserPoolArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
        UserPoolClientId:
          type: string
          description: The ID of the Amazon Cognito user pool client.
        UserPoolDomain:
          type: string
          description: The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
        SessionCookieName:
          type: string
          description: The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
        Scope:
          type: string
          description: The set of user claims to be requested from the IdP. The default is openid. To verify which scope values
            your IdP supports and how to separate multiple values, see the documentation for your IdP.
        SessionTimeout:
          type: integer
          description: The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
        AuthenticationRequestExtraParams:
          type: object
          additionalProperties:
            type: string
          description: The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
        OnUnauthenticatedRequest:
          type: string
          enum:
          - deny
          - allow
          - authenticate
          description: 'The behavior if the user is not authenticated. The following are possible values: deny - Return an
            HTTP 401 Unauthorized error. allow - Allow the request to be forwarded to the target. authenticate - Redirect
            the request to the IdP authorization endpoint. This is the default value.'
      required:
      - UserPoolArn
      - UserPoolClientId
      - UserPoolDomain
    AuthenticateOidcActionConfig:
      type: object
      properties:
        Issuer:
          type: string
          description: The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain,
            and the path.
        AuthorizationEndpoint:
          type: string
          description: The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain,
            and the path.
        TokenEndpoint:
          type: string
          description: The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and
            the path.
        UserInfoEndpoint:
          type: string
          description: The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain,
            and the path.
        ClientId:
          type: string
          description: The OAuth 2.0 client identifier.
        ClientSecret:
          type: string
          description: The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying
            a rule, you can omit this parameter if you set UseExistingClientSecret to true.
        SessionCookieName:
          type: string
          description: The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
        Scope:
          type: string
          description: The set of user claims to be requested from the IdP. The default is openid. To verify which scope values
            your IdP supports and how to separate multiple values, see the documentation for your IdP.
        SessionTimeout:
          type: integer
          description: The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
        AuthenticationRequestExtraParams:
          type: object
          additionalProperties:
            type: string
          description: The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
        OnUnauthenticatedRequest:
          type: string
          enum:
          - deny
          - allow
          - authenticate
          description: 'The behavior if the user is not authenticated. The following are possible values: deny - Return an
            HTTP 401 Unauthorized error. allow - Allow the request to be forwarded to the target. authenticate - Redirect
            the request to the IdP authorization endpoint. This is the default value.'
        UseExistingClientSecret:
          type: boolean
          description: Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule,
            you can omit this parameter or set it to false.
      required:
      - Issuer
      - AuthorizationEndpoint
      - TokenEndpoint
      - UserInfoEndpoint
      - ClientId
    Certificate:
      type: object
      properties:
        CertificateArn:
          type: string
          description: The Amazon Resource Name (ARN) of the certificate.
        IsDefault:
          type: boolean
          description: Indicates whether the certificate is the default certificate. Do not set this value when specifying
            a certificate as an input. This value is not included in the output when describing a listener, but is included
            when describing listener certificates.
    CreateListenerInput:
      type: object
      properties:
        LoadBalancerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the load balancer.
        Protocol:
          type: string
          enum:
          - HTTP
          - HTTPS
          - TCP
          - TLS
          - UDP
          - TCP_UDP
          - GENEVE
          - QUIC
          - TCP_QUIC
          description: The protocol for connections from clients to the load balancer. For Application Load Balancers, the
            supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP,
            TCP_UDP, QUIC, and TCP_QUIC. You can’t specify the UDP, TCP_UDP, QUIC, or TCP_QUIC protocol if dual-stack mode
            is enabled. You can't specify a protocol for a Gateway Load Balancer.
        Port:
          type: integer
          description: The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.
        SslPolicy:
          type: string
          description: '[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
            For more information, see Security policies in the Application Load Balancers Guide and Security policies in the
            Network Load Balancers Guide.'
        Certificates:
          type: array
          items:
            $ref: '#/components/schemas/Certificate'
          description: '[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
            Set CertificateArn to the certificate ARN but do not set IsDefault.'
        DefaultActions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
          description: The actions for the default rule.
        AlpnPolicy:
          type: array
          items:
            type: string
          description: '[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify
            one policy name. The following are the possible values: HTTP1Only HTTP2Only HTTP2Optional HTTP2Preferred None
            For more information, see ALPN policies in the Network Load Balancers Guide.'
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags to assign to the listener.
        MutualAuthentication:
          $ref: '#/components/schemas/MutualAuthenticationAttributes'
      required:
      - LoadBalancerArn
      - DefaultActions
    CreateListenerOutput:
      type: object
      properties:
        Listeners:
          type: array
          items:
            $ref: '#/components/schemas/Listener'
          description: Information about the listener.
    DeleteListenerInput:
      type: object
      properties:
        ListenerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the listener.
      required:
      - ListenerArn
    DeleteListenerOutput:
      type: object
      properties: {}
    DescribeListenersInput:
      type: object
      properties:
        LoadBalancerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the load balancer.
        ListenerArns:
          type: array
          items:
            type: string
          description: The Amazon Resource Names (ARN) of the listeners.
        Marker:
          type: string
          description: The marker for the next set of results. (You received this marker from a previous call.)
        PageSize:
          type: integer
          description: The maximum number of results to return with this call.
    DescribeListenersOutput:
      type: object
      properties:
        Listeners:
          type: array
          items:
            $ref: '#/components/schemas/Listener'
          description: Information about the listeners.
        NextMarker:
          type: string
          description: If there are additional results, this is the marker for the next set of results. Otherwise, this is
            null.
    FixedResponseActionConfig:
      type: object
      properties:
        MessageBody:
          type: string
          description: The message.
        StatusCode:
          type: string
          description: The HTTP response code (2XX, 4XX, or 5XX).
        ContentType:
          type: string
          description: 'The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json'
      required:
      - StatusCode
    ForwardActionConfig:
      type: object
      properties:
        TargetGroups:
          type: array
          items:
            $ref: '#/components/schemas/TargetGroupTuple'
          description: The target groups.
        TargetGroupStickinessConfig:
          $ref: '#/components/schemas/TargetGroupStickinessConfig'
    JwtValidationActionAdditionalClaim:
      type: object
      properties:
        Format:
          type: string
          enum:
          - single-string
          - string-array
          - space-separated-values
          description: The format of the claim value.
        Name:
          type: string
          description: The name of the claim. You can't specify exp, iss, nbf, or iat because we validate them by default.
        Values:
          type: array
          items:
            type: string
          description: The claim value. The maximum size of the list is 10. Each value can be up to 256 characters in length.
            If the format is space-separated-values, the values can't include spaces.
      required:
      - Format
      - Name
      - Values
    JwtValidationActionConfig:
      type: object
      properties:
        JwksEndpoint:
          type: string
          description: The JSON Web Key Set (JWKS) endpoint. This endpoint contains JSON Web Keys (JWK) that are used to validate
            signatures from the provider. This must be a full URL, including the HTTPS protocol, the domain, and the path.
            The maximum length is 256 characters.
        Issuer:
          type: string
          description: The issuer of the JWT. The maximum length is 256 characters.
        AdditionalClaims:
          type: array
          items:
            $ref: '#/components/schemas/JwtValidationActionAdditionalClaim'
          description: Additional claims to validate. The maximum size of the list is 10. We validate the exp, iss, nbf, and
            iat claims by default.
      required:
      - JwksEndpoint
      - Issuer
    Listener:
      type: object
      properties:
        ListenerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the listener.
        LoadBalancerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the load balancer.
        Port:
          type: integer
          description: The port on which the load balancer is listening.
        Protocol:
          type: string
          enum:
          - HTTP
          - HTTPS
          - TCP
          - TLS
          - UDP
          - TCP_UDP
          - GENEVE
          - QUIC
          - TCP_QUIC
          description: The protocol for connections from clients to the load balancer.
        Certificates:
          type: array
          items:
            $ref: '#/components/schemas/Certificate'
          description: '[HTTPS or TLS listener] The default certificate for the listener.'
        SslPolicy:
          type: string
          description: '[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.'
        DefaultActions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
          description: The default actions for the listener.
        AlpnPolicy:
          type: array
          items:
            type: string
          description: '[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.'
        MutualAuthentication:
          $ref: '#/components/schemas/MutualAuthenticationAttributes'
    ListenerNotFoundException:
      type: object
      properties:
        Message:
          type: string
    ModifyListenerInput:
      type: object
      properties:
        ListenerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the listener.
        Port:
          type: integer
          description: The port for connections from clients to the load balancer. You can't specify a port for a Gateway
            Load Balancer.
        Protocol:
          type: string
          enum:
          - HTTP
          - HTTPS
          - TCP
          - TLS
          - UDP
          - TCP_UDP
          - GENEVE
          - QUIC
          - TCP_QUIC
          description: The protocol for connections from clients to the load balancer. Application Load Balancers support
            the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC protocols.
            You can’t change the protocol to UDP, TCP_UDP, QUIC, or TCP_QUIC if dual-stack mode is enabled. You can't specify
            a protocol for a Gateway Load Balancer.
        SslPolicy:
          type: string
          description: '[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
            For more information, see Security policies in the Application Load Balancers Guide or Security policies in the
            Network Load Balancers Guide.'
        Certificates:
          type: array
          items:
            $ref: '#/components/schemas/Certificate'
          description: '[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
            Set CertificateArn to the certificate ARN but do not set IsDefault.'
        DefaultActions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
          description: The actions for the default rule.
        AlpnPolicy:
          type: array
          items:
            type: string
          description: '[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify
            one policy name. The following are the possible values: HTTP1Only HTTP2Only HTTP2Optional HTTP2Preferred None
            For more information, see ALPN policies in the Network Load Balancers Guide.'
        MutualAuthentication:
          $ref: '#/components/schemas/MutualAuthenticationAttributes'
      required:
      - ListenerArn
    ModifyListenerOutput:
      type: object
      properties:
        Listeners:
          type: array
          items:
            $ref: '#/components/schemas/Listener'
          description: Information about the modified listener.
    MutualAuthenticationAttributes:
      type: object
      properties:
        Mode:
          type: string
          description: The client certificate handling method. Options are off, passthrough or verify. The default value is
            off.
        TrustStoreArn:
          type: string
          description: The Amazon Resource Name (ARN) of the trust store.
        IgnoreClientCertificateExpiry:
          type: boolean
          description: Indicates whether expired client certificates are ignored.
        TrustStoreAssociationStatus:
          type: string
          enum:
          - active
          - removed
          description: Indicates a shared trust stores association status.
        AdvertiseTrustStoreCaNames:
          type: string
          enum:
          - 'on'
          - 'off'
          description: Indicates whether trust store CA certificate names are advertised.
    RedirectActionConfig:
      type: object
      properties:
        Protocol:
          type: string
          description: 'The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to
            HTTPS, and HTTPS to HTTPS. You can''t redirect HTTPS to HTTP.'
        Port:
          type: string
          description: 'The port. You can specify a value from 1 to 65535 or #{port}.'
        Host:
          type: string
          description: 'The hostname. This component is not percent-encoded. The hostname can contain #{host}.'
        Path:
          type: string
          description: 'The absolute path, starting with the leading "/". This component is not percent-encoded. The path
            can contain #{host}, #{path}, and #{port}.'
        Query:
          type: string
          description: The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading
            "?", as it is automatically added. You can specify any of the reserved keywords.
        StatusCode:
          type: string
          enum:
          - HTTP_301
          - HTTP_302
          description: The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
      required:
      - StatusCode
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag.
        Value:
          type: string
          description: The value of the tag.
      required:
      - Key
    TargetGroupStickinessConfig:
      type: object
      properties:
        Enabled:
          type: boolean
          description: Indicates whether target group stickiness is enabled.
        DurationSeconds:
          type: integer
          description: '[Application Load Balancers] The time period, in seconds, during which requests from a client should
            be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling
            target group stickiness.'
    TargetGroupTuple:
      type: object
      properties:
        TargetGroupArn:
          type: string
          description: The Amazon Resource Name (ARN) of the target group.
        Weight:
          type: integer
          description: The weight. The range is 0 to 999.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/elastic-load-balancing-v2/service/2015-12-01/elastic-load-balancing-v2-2015-12-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)