Interface HttpIntegrationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpIntegrationProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; 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") .timeout(Duration.minutes(30)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpIntegrationProps
static final class
An implementation forHttpIntegrationProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpIntegrationProps.Builder
builder()
default String
The ID of the VPC link for a private integration.default HttpConnectionType
The type of the network connection to the integration endpoint.default IntegrationCredentials
The credentials with which to invoke the integration.The HTTP API to which this integration should be bound.default HttpIntegrationSubtype
Integration subtype.Integration type.default String
Integration URI.default HttpMethod
The HTTP method to use when calling the underlying HTTP proxy.default ParameterMapping
Specifies how to transform HTTP requests before sending them to the backend.default PayloadFormatVersion
The version of the payload format.default String
Specifies the TLS configuration for a private integration.default Duration
The maximum amount of time an integration will run before it returns without a response.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpApi
The HTTP API to which this integration should be bound. -
getIntegrationType
Integration type. -
getConnectionId
The ID of the VPC link for a private integration.Supported only for HTTP APIs.
Default: - undefined
-
getConnectionType
The type of the network connection to the integration endpoint.Default: HttpConnectionType.INTERNET
-
getCredentials
The credentials with which to invoke the integration.Default: - no credentials, use resource-based permissions on supported AWS services
-
getIntegrationSubtype
Integration subtype.Used for AWS Service integrations, specifies the target of the integration.
Default: - none, required if no `integrationUri` is defined.
-
getIntegrationUri
Integration URI.This will be the function ARN in the case of
HttpIntegrationType.AWS_PROXY
, or HTTP URL in the case ofHttpIntegrationType.HTTP_PROXY
.Default: - none, required if no `integrationSubtype` is defined.
-
getMethod
The HTTP method to use when calling the underlying HTTP proxy.Default: - none. required if the integration type is `HttpIntegrationType.HTTP_PROXY`.
-
getParameterMapping
Specifies how to transform HTTP requests before sending them to the backend.Default: undefined requests are sent to the backend unmodified
- See Also:
-
getPayloadFormatVersion
The version of the payload format.Default: - defaults to latest in the case of HttpIntegrationType.AWS_PROXY`, irrelevant otherwise.
- See Also:
-
getSecureServerName
Specifies the TLS configuration for a private integration.Default: undefined private integration traffic will use HTTP protocol
- See Also:
-
getTimeout
The maximum amount of time an integration will run before it returns without a response.Must be between 50 milliseconds and 29 seconds.
Default: Duration.seconds(29)
-
builder
- Returns:
- a
HttpIntegrationProps.Builder
ofHttpIntegrationProps
-