Action

Describes an action for a listener or rule

Amazon Web ServicesHigh AvailabilityLoad BalancingNetworkingScalability

Properties

Name Type Description
type string The type of action
targetGroupArn string The ARN of the target group for forward actions
order integer The order for the action
redirectConfig object Configuration for redirect actions
fixedResponseConfig object Configuration for fixed-response actions
View JSON Schema on GitHub

JSON Schema

amazon-elastic-load-balancing-action-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-elastic-load-balancing/refs/heads/main/json-schema/amazon-elastic-load-balancing-action-schema.json",
  "title": "Action",
  "description": "Describes an action for a listener or rule",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of action",
      "enum": [
        "forward",
        "authenticate-oidc",
        "authenticate-cognito",
        "redirect",
        "fixed-response"
      ]
    },
    "targetGroupArn": {
      "type": "string",
      "description": "The ARN of the target group for forward actions"
    },
    "order": {
      "type": "integer",
      "description": "The order for the action"
    },
    "redirectConfig": {
      "type": "object",
      "description": "Configuration for redirect actions",
      "properties": {
        "protocol": {
          "type": "string",
          "description": "The protocol"
        },
        "port": {
          "type": "string",
          "description": "The port"
        },
        "host": {
          "type": "string",
          "description": "The hostname"
        },
        "path": {
          "type": "string",
          "description": "The absolute path"
        },
        "query": {
          "type": "string",
          "description": "The query parameters"
        },
        "statusCode": {
          "type": "string",
          "description": "The HTTP redirect code",
          "enum": [
            "HTTP_301",
            "HTTP_302"
          ]
        }
      }
    },
    "fixedResponseConfig": {
      "type": "object",
      "description": "Configuration for fixed-response actions",
      "properties": {
        "messageBody": {
          "type": "string",
          "description": "The message body"
        },
        "statusCode": {
          "type": "string",
          "description": "The HTTP response code"
        },
        "contentType": {
          "type": "string",
          "description": "The content type"
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-elastic-load-balancing-action"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.