@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:23.611Z") @Stability(value=Experimental) public interface HttpIntegrationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
HttpApi httpApi;
IntegrationCredentials integrationCredentials;
ParameterMapping parameterMapping;
PayloadFormatVersion payloadFormatVersion;
HttpIntegrationProps httpIntegrationProps = HttpIntegrationProps.builder()
.httpApi(httpApi)
.integrationType(HttpIntegrationType.HTTP_PROXY)
// the properties below are optional
.connectionId("connectionId")
.connectionType(HttpConnectionType.VPC_LINK)
.credentials(integrationCredentials)
.integrationSubtype(HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS)
.integrationUri("integrationUri")
.method(HttpMethod.ANY)
.parameterMapping(parameterMapping)
.payloadFormatVersion(payloadFormatVersion)
.secureServerName("secureServerName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpIntegrationProps.Builder
A builder for
HttpIntegrationProps |
static class |
HttpIntegrationProps.Jsii$Proxy
An implementation for
HttpIntegrationProps |
| Modifier and Type | Method and Description |
|---|---|
static HttpIntegrationProps.Builder |
builder() |
default String |
getConnectionId()
(experimental) The ID of the VPC link for a private integration.
|
default HttpConnectionType |
getConnectionType()
(experimental) The type of the network connection to the integration endpoint.
|
default IntegrationCredentials |
getCredentials()
(experimental) The credentials with which to invoke the integration.
|
IHttpApi |
getHttpApi()
(experimental) The HTTP API to which this integration should be bound.
|
default HttpIntegrationSubtype |
getIntegrationSubtype()
(experimental) Integration subtype.
|
HttpIntegrationType |
getIntegrationType()
(experimental) Integration type.
|
default String |
getIntegrationUri()
(experimental) Integration URI.
|
default HttpMethod |
getMethod()
(experimental) The HTTP method to use when calling the underlying HTTP proxy.
|
default ParameterMapping |
getParameterMapping()
(experimental) Specifies how to transform HTTP requests before sending them to the backend.
|
default PayloadFormatVersion |
getPayloadFormatVersion()
(experimental) The version of the payload format.
|
default String |
getSecureServerName()
(experimental) Specifies the TLS configuration for a private integration.
|
@Stability(value=Experimental) @NotNull IHttpApi getHttpApi()
@Stability(value=Experimental) @NotNull HttpIntegrationType getIntegrationType()
@Stability(value=Experimental) @Nullable default String getConnectionId()
Supported only for HTTP APIs.
Default: - undefined
@Stability(value=Experimental) @Nullable default HttpConnectionType getConnectionType()
Default: HttpConnectionType.INTERNET
@Stability(value=Experimental) @Nullable default IntegrationCredentials getCredentials()
Default: - no credentials, use resource-based permissions on supported AWS services
@Stability(value=Experimental) @Nullable default HttpIntegrationSubtype getIntegrationSubtype()
Used for AWS Service integrations, specifies the target of the integration.
Default: - none, required if no `integrationUri` is defined.
@Stability(value=Experimental) @Nullable default String getIntegrationUri()
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.
@Stability(value=Experimental) @Nullable default HttpMethod getMethod()
Default: - none. required if the integration type is `HttpIntegrationType.HTTP_PROXY`.
@Stability(value=Experimental) @Nullable default ParameterMapping getParameterMapping()
Default: undefined requests are sent to the backend unmodified
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html@Stability(value=Experimental) @Nullable default PayloadFormatVersion getPayloadFormatVersion()
Default: - defaults to latest in the case of HttpIntegrationType.AWS_PROXY`, irrelevant otherwise.
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html@Stability(value=Experimental) @Nullable default String getSecureServerName()
Default: undefined private integration traffic will use HTTP protocol
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html@Stability(value=Experimental) static HttpIntegrationProps.Builder builder()
HttpIntegrationProps.Builder of HttpIntegrationPropsCopyright © 2022. All rights reserved.