x-apigateway-backend
Meaning: API backend definition.
Scope of effect: Operation Object (2.0)
Example:
paths:
  '/users/{userId}':
    get:
      produces:
        - "application/json"
      responses:
        default:
          description: "default response"
      x-apigateway-request-type: "public"
      x-apigateway-backend:
        type: "backend endpoint type"
 | 
       Parameter  | 
     
       Mandatory  | 
     
       Type  | 
     
       Description  | 
    
|---|---|---|---|
| 
       x-apigateway-backend  | 
     
       Yes  | 
     
       String  | 
     
       Backend service definition.  | 
    
| 
       type  | 
     
       Yes  | 
     
       String  | 
     
       Backend service type. The options include HTTP, HTTP-VPC, FUNCTION, and MOCK.  | 
    
| 
       parameters  | 
     
       No  | 
     
       Backend parameters.  | 
    |
| 
       httpEndpoints  | 
     
       No  | 
     
       HTTP backend service definition.  | 
    |
| 
       httpVpcEndpoints  | 
     
       No  | 
     
       HTTP VPC backend service definition.  | 
    |
| 
       functionEndpoints  | 
     
       No  | 
     
       Function backend service definition.  | 
    |
| 
       mockEndpoints  | 
     
       No  | 
     
       Mock backend service definition.  | 
    
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.