Amazon VPC Lattice · Schema
CreateRuleResponse
Amazon Web ServicesMicroservicesService MeshService Networking
Properties
| Name | Type | Description |
|---|---|---|
| arn | string | The Amazon Resource Name (ARN) of the rule. |
| id | string | The ID of the rule. |
| name | string | The name of the rule. |
| match | object | |
| priority | integer | The priority assigned to the rule. The lower the priority number the higher the priority. |
| action | object |
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-rule-response-schema.json",
"title": "CreateRuleResponse",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-vpc-lattice-createrule-api-openapi.yml#/components/schemas/CreateRuleResponse",
"type": "object",
"properties": {
"arn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the rule."
},
"id": {
"type": "string",
"description": "The ID of the rule."
},
"name": {
"type": "string",
"description": "The name of the rule."
},
"match": {
"$ref": "#/$defs/RuleMatch"
},
"priority": {
"type": "integer",
"description": "The priority assigned to the rule. The lower the priority number the higher the priority."
},
"action": {
"$ref": "#/$defs/RuleAction"
}
},
"$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"
]
},
"HeaderMatch": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the header."
},
"match": {
"$ref": "#/$defs/HeaderMatchType"
},
"caseSensitive": {
"type": "boolean",
"description": "Indicates whether the match is case sensitive."
}
},
"required": [
"name",
"match"
]
},
"HeaderMatchType": {
"type": "object",
"properties": {
"exact": {
"type": "string",
"description": "An exact type match."
},
"prefix": {
"type": "string",
"description": "A prefix type match. Matches the value with the prefix."
},
"contains": {
"type": "string",
"description": "A contains type match."
}
},
"description": "Exactly one member is set."
},
"HttpMatch": {
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "The HTTP method type."
},
"pathMatch": {
"$ref": "#/$defs/PathMatch"
},
"headerMatches": {
"type": "array",
"items": {
"$ref": "#/$defs/HeaderMatch"
},
"description": "The header matches. Matches incoming requests with rule based on request header value before applying rule action."
}
}
},
"PathMatch": {
"type": "object",
"properties": {
"match": {
"$ref": "#/$defs/PathMatchType"
},
"caseSensitive": {
"type": "boolean",
"description": "Indicates whether the match is case sensitive."
}
},
"required": [
"match"
]
},
"PathMatchType": {
"type": "object",
"properties": {
"exact": {
"type": "string",
"description": "An exact match of the path."
},
"prefix": {
"type": "string",
"description": "A prefix match of the path."
}
},
"description": "Exactly one member is set."
},
"RuleAction": {
"type": "object",
"properties": {
"forward": {
"$ref": "#/$defs/ForwardAction"
},
"fixedResponse": {
"$ref": "#/$defs/FixedResponseAction"
}
},
"description": "Exactly one member is set."
},
"RuleMatch": {
"type": "object",
"properties": {
"httpMatch": {
"$ref": "#/$defs/HttpMatch"
}
},
"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-rule-response"
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.