Show / Hide Table of Contents

Class IntegrationResponseState

Inheritance
System.Object
InputArgs
ResourceArgs
IntegrationResponseState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ApiGateway
Assembly: Pulumi.Aws.dll
Syntax
public sealed class IntegrationResponseState : ResourceArgs

Constructors

View Source

IntegrationResponseState()

Declaration
public IntegrationResponseState()

Properties

View Source

ContentHandling

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>
View Source

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>
View Source

ResourceId

The API resource ID

Declaration
public Input<string> ResourceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResponseParameters

A map of response parameters that can be read from the backend response. For example: response_parameters = { &quot;method.response.header.X-Some-Header&quot; = &quot;integration.response.header.X-Some-Other-Header&quot; }

Declaration
public InputMap<string> ResponseParameters { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

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>
View Source

RestApi

The ID of the associated REST API

Declaration
public Input<string> RestApi { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

StatusCode

The HTTP status code

Declaration
public Input<string> StatusCode { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.