Amazon VPC Lattice · Schema
CreateListenerRequest
Amazon Web ServicesMicroservicesService MeshService Networking
Properties
| Name | Type | Description |
|---|---|---|
| serviceIdentifier | string | The ID or ARN of the service. |
| name | string | The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately aft |
| protocol | string | The listener protocol. |
| port | integer | The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443. |
| defaultAction | object | |
| clientToken | string | A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry |
| tags | object | The tags for the listener. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-create-listener-request-schema.json",
"title": "CreateListenerRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-vpc-lattice-createlistener-api-openapi.yml#/components/schemas/CreateListenerRequest",
"type": "object",
"properties": {
"serviceIdentifier": {
"type": "string",
"description": "The ID or ARN of the service."
},
"name": {
"type": "string",
"description": "The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen."
},
"protocol": {
"type": "string",
"description": "The listener protocol."
},
"port": {
"type": "integer",
"description": "The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443."
},
"defaultAction": {
"$ref": "#/$defs/RuleAction"
},
"clientToken": {
"type": "string",
"description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags for the listener."
}
},
"required": [
"serviceIdentifier",
"name",
"protocol",
"defaultAction"
],
"$defs": {
"FixedResponseAction": {
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"description": "The HTTP response code. Only 404 and 500 status codes are supported."
}
},
"required": [
"statusCode"
]
},
"ForwardAction": {
"type": "object",
"properties": {
"targetGroups": {
"type": "array",
"items": {
"$ref": "#/$defs/WeightedTargetGroup"
},
"description": "The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group."
}
},
"required": [
"targetGroups"
]
},
"RuleAction": {
"type": "object",
"properties": {
"forward": {
"$ref": "#/$defs/ForwardAction"
},
"fixedResponse": {
"$ref": "#/$defs/FixedResponseAction"
}
},
"description": "Exactly one member is set."
},
"WeightedTargetGroup": {
"type": "object",
"properties": {
"targetGroupIdentifier": {
"type": "string",
"description": "The ID or ARN of the target group."
},
"weight": {
"type": "integer",
"description": "Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100."
}
},
"required": [
"targetGroupIdentifier"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-vpc-lattice-create-listener-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.