Class IntegrationState


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

      • apiId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> apiId()
        Returns:
        API identifier.
      • connectionId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectionId()
        Returns:
        ID of the VPC link for a private integration. Supported only for HTTP APIs. Must be between 1 and 1024 characters in length.
      • connectionType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectionType()
        Returns:
        Type of the network connection to the integration endpoint. Valid values: `INTERNET`, `VPC_LINK`. Default is `INTERNET`.
      • contentHandlingStrategy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> contentHandlingStrategy()
        Returns:
        How to handle response payload content type conversions. Valid values: `CONVERT_TO_BINARY`, `CONVERT_TO_TEXT`. Supported only for WebSocket APIs.
      • credentialsArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> credentialsArn()
        Returns:
        Credentials required for the integration, if any.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Description of the integration.
      • integrationMethod

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> integrationMethod()
        Returns:
        Integration's HTTP method. Must be specified if `integrationType` is not `MOCK`.
      • integrationResponseSelectionExpression

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> integrationResponseSelectionExpression()
        Returns:
        [Integration response selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions) for the integration.
      • integrationSubtype

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> integrationSubtype()
        Returns:
        AWS service action to invoke. Supported only for HTTP APIs when `integrationType` is `AWS_PROXY`. See the [AWS service integration reference](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html) documentation for supported values. Must be between 1 and 128 characters in length.
      • integrationType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> integrationType()
        Returns:
        Integration type of an integration. Valid values: `AWS` (supported only for WebSocket APIs), `AWS_PROXY`, `HTTP` (supported only for WebSocket APIs), `HTTP_PROXY`, `MOCK` (supported only for WebSocket APIs). For an HTTP API private integration, use `HTTP_PROXY`.
      • integrationUri

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> integrationUri()
        Returns:
        URI of the Lambda function for a Lambda proxy integration, when `integrationType` is `AWS_PROXY`. For an `HTTP` integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
      • passthroughBehavior

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> passthroughBehavior()
        Returns:
        Pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the `requestTemplates` attribute. Valid values: `WHEN_NO_MATCH`, `WHEN_NO_TEMPLATES`, `NEVER`. Default is `WHEN_NO_MATCH`. Supported only for WebSocket APIs.
      • payloadFormatVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> payloadFormatVersion()
        Returns:
        [Format of the payload](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html#http-api-develop-integrations-lambda.proxy-format) sent to an integration. Valid values: `1.0`, `2.0`. Default is `1.0`.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • requestParameters

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> requestParameters()
        Returns:
        For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. For HTTP APIs with a specified `integrationSubtype`, a key-value map specifying parameters that are passed to `AWS_PROXY` integrations. For HTTP APIs without a specified `integrationSubtype`, a key-value map specifying how to transform HTTP requests before sending them to the backend. See the [Amazon API Gateway Developer Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html) for details.
      • requestTemplates

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> requestTemplates()
        Returns:
        Map of [Velocity](https://velocity.apache.org/) templates that are applied on the request payload based on the value of the Content-Type header sent by the client. Supported only for WebSocket APIs.
      • responseParameters

        public java.util.Optional<com.pulumi.core.Output<java.util.List<IntegrationResponseParameterArgs>>> responseParameters()
        Returns:
        Mappings to transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
      • templateSelectionExpression

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> templateSelectionExpression()
        Returns:
        [Template selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-template-selection-expressions) for the integration.
      • timeoutMilliseconds

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> timeoutMilliseconds()
        Returns:
        Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs. this provider will only perform drift detection of its value when present in a configuration.
      • tlsConfig

        public java.util.Optional<com.pulumi.core.Output<IntegrationTlsConfigArgs>> tlsConfig()
        Returns:
        TLS configuration for a private integration. Supported only for HTTP APIs.