@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 |
credentials(IntegrationCredentials credentials)
(experimental) The credentials with which to invoke the integration.
|
HttpIntegration.Builder |
httpApi(IHttpApi httpApi)
(experimental) The HTTP API to which this integration should be bound.
|
HttpIntegration.Builder |
integrationSubtype(HttpIntegrationSubtype integrationSubtype)
(experimental) Integration subtype.
|
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 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 credentials(IntegrationCredentials credentials)
Default: - no credentials, use resource-based permissions on supported AWS services
credentials - The credentials with which to invoke the integration. This parameter is required.this@Stability(value=Experimental) public HttpIntegration.Builder integrationSubtype(HttpIntegrationSubtype integrationSubtype)
Used for AWS Service integrations, specifies the target of the integration.
Default: - none, required if no `integrationUri` is defined.
integrationSubtype - Integration subtype. 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.AWS_PROXY,
or HTTP URL in the case of HttpIntegrationType.HTTP_PROXY.
Default: - none, required if no `integrationSubtype` is defined.
integrationUri - Integration URI. 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.this@Stability(value=Experimental) public HttpIntegration.Builder payloadFormatVersion(PayloadFormatVersion payloadFormatVersion)
Default: - defaults to latest in the case of HttpIntegrationType.AWS_PROXY`, irrelevant otherwise.
payloadFormatVersion - The version of the payload format. This parameter is required.this@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.this@Stability(value=Experimental) public HttpIntegration build()
build in interface software.amazon.jsii.Builder<HttpIntegration>Copyright © 2023. All rights reserved.