Class IntegrationResponseArgs
Inherited Members
Namespace: Pulumi.Aws.ApiGateway
Assembly: Pulumi.Aws.dll
Syntax
public sealed class IntegrationResponseArgs : ResourceArgs
Constructors
View SourceIntegrationResponseArgs()
Declaration
public IntegrationResponseArgs()
Properties
View SourceContentHandling
Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
Declaration
public Input<string> ContentHandling { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HttpMethod
The HTTP method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY)
Declaration
public Input<string> HttpMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceId
The API resource ID
Declaration
public Input<string> ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResponseParameters
A map of response parameters that can be read from the backend response.
For example: response_parameters = { "method.response.header.X-Some-Header" = "integration.response.header.X-Some-Other-Header" }
Declaration
public InputMap<string> ResponseParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
ResponseTemplates
A map specifying the templates used to transform the integration response body
Declaration
public InputMap<string> ResponseTemplates { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
RestApi
The ID of the associated REST API
Declaration
public Input<string> RestApi { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SelectionPattern
Specifies the regular expression pattern used to choose
an integration response based on the response from the backend. Setting this to - makes the integration the default one.
If the backend is an AWS Lambda function, the AWS Lambda function error header is matched.
For all other HTTP and AWS backends, the HTTP status code is matched.
Declaration
public Input<string> SelectionPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StatusCode
The HTTP status code
Declaration
public Input<string> StatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |