@Stability(value=Experimental) public static final class HttpIntegration.Builder extends Object implements software.amazon.jsii.Builder<HttpIntegration>
HttpIntegration.| Modifier and Type | Method and Description |
|---|---|
HttpIntegration |
build() |
HttpIntegration.Builder |
connectionId(String connectionId)
(experimental) The ID of the VPC link for a private integration.
|
HttpIntegration.Builder |
connectionType(HttpConnectionType connectionType)
(experimental) The type of the network connection to the integration endpoint.
|
static HttpIntegration.Builder |
create(software.constructs.Construct scope,
String id) |
HttpIntegration.Builder |
httpApi(IHttpApi httpApi)
(experimental) The HTTP API to which this integration should be bound.
|
HttpIntegration.Builder |
integrationType(HttpIntegrationType integrationType)
(experimental) Integration type.
|
HttpIntegration.Builder |
integrationUri(String integrationUri)
(experimental) Integration URI.
|
HttpIntegration.Builder |
method(HttpMethod method)
(experimental) The HTTP method to use when calling the underlying HTTP proxy.
|
HttpIntegration.Builder |
parameterMapping(ParameterMapping parameterMapping)
(experimental) Specifies how to transform HTTP requests before sending them to the backend.
|
HttpIntegration.Builder |
payloadFormatVersion(PayloadFormatVersion payloadFormatVersion)
(experimental) The version of the payload format.
|
HttpIntegration.Builder |
secureServerName(String secureServerName)
(experimental) Specifies the TLS configuration for a private integration.
|
@Stability(value=Experimental) public static HttpIntegration.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.HttpIntegration.Builder.@Stability(value=Experimental) public HttpIntegration.Builder httpApi(IHttpApi httpApi)
httpApi - The HTTP API to which this integration should be bound. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder integrationType(HttpIntegrationType integrationType)
integrationType - Integration type. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder integrationUri(String integrationUri)
This will be the function ARN in the case of HttpIntegrationType.LAMBDA_PROXY,
or HTTP URL in the case of HttpIntegrationType.HTTP_PROXY.
integrationUri - Integration URI. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder connectionId(String connectionId)
Supported only for HTTP APIs.
Default: - undefined
connectionId - The ID of the VPC link for a private integration. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder connectionType(HttpConnectionType connectionType)
Default: HttpConnectionType.INTERNET
connectionType - The type of the network connection to the integration endpoint. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder method(HttpMethod method)
Default: - none. required if the integration type is `HttpIntegrationType.HTTP_PROXY`.
method - The HTTP method to use when calling the underlying HTTP proxy. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder parameterMapping(ParameterMapping parameterMapping)
Default: undefined requests are sent to the backend unmodified
parameterMapping - Specifies how to transform HTTP requests before sending them to the backend. This parameter is required.thishttps://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html@Stability(value=Experimental) public HttpIntegration.Builder payloadFormatVersion(PayloadFormatVersion payloadFormatVersion)
Default: - defaults to latest in the case of HttpIntegrationType.LAMBDA_PROXY`, irrelevant otherwise.
payloadFormatVersion - The version of the payload format. This parameter is required.thishttps://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html@Stability(value=Experimental) public HttpIntegration.Builder secureServerName(String secureServerName)
Default: undefined private integration traffic will use HTTP protocol
secureServerName - Specifies the TLS configuration for a private integration. This parameter is required.thishttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html@Stability(value=Experimental) public HttpIntegration build()
build in interface software.amazon.jsii.Builder<HttpIntegration>Copyright © 2022. All rights reserved.