Class IntegrationResponseArgs


  • public final class IntegrationResponseArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • contentHandling

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> contentHandling()
        Returns:
        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.
      • httpMethod

        public com.pulumi.core.Output<java.lang.String> httpMethod()
        Returns:
        HTTP method (`GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `OPTIONS`, `ANY`).
      • resourceId

        public com.pulumi.core.Output<java.lang.String> resourceId()
        Returns:
        API resource ID.
      • responseParameters

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> responseParameters()
        Returns:
        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" }`.
      • responseTemplates

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> responseTemplates()
        Returns:
        Map of templates used to transform the integration response body.
      • restApi

        public com.pulumi.core.Output<java.lang.String> restApi()
        Returns:
        ID of the associated REST API.
      • selectionPattern

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> selectionPattern()
        Returns:
        Regular expression pattern used to choose an integration response based on the response from the backend. Omit configuring this to make 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.
      • statusCode

        public com.pulumi.core.Output<java.lang.String> statusCode()
        Returns:
        HTTP status code. The following arguments are optional: