Creates a backend service in API Gateway.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreateBackend |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackendName |
string |
Yes |
The name of the backend service. |
testBackendService |
| BackendType |
string |
Yes |
The type of the backend service. |
HTTP |
| Description |
string |
No |
The description. |
HTTP后端 |
| CreateEventBridgeServiceLinkedRole |
boolean |
No |
Specifies to create a EventBridge service-linked role. |
true |
| CreateSlr |
boolean |
No |
Specifies to create a service-linked role. |
true |
| Tag |
array<object> |
No |
The tag of objects that match the rule. You can specify multiple tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The key of the tag. |
key |
| Value |
string |
No |
The value of the tag. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| BackendId |
string |
The ID of the backend service. |
0d105f80a8f340408bd34954d4e4ff22 |
| RequestId |
string |
The ID of the request. |
66D84355-164D-53ED-81FF-03DCF181DE24 |
Examples
Success response
JSON format
{
"BackendId": "0d105f80a8f340408bd34954d4e4ff22",
"RequestId": "66D84355-164D-53ED-81FF-03DCF181DE24"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.