Interface HttpRouteIntegrationConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpRouteIntegrationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:09.577Z")
@Stability(Stable)
public interface HttpRouteIntegrationConfig
extends software.amazon.jsii.JsiiSerializable
Config returned back as a result of the bind.
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.*; IntegrationCredentials integrationCredentials; ParameterMapping parameterMapping; PayloadFormatVersion payloadFormatVersion; HttpRouteIntegrationConfig httpRouteIntegrationConfig = HttpRouteIntegrationConfig.builder() .payloadFormatVersion(payloadFormatVersion) .type(HttpIntegrationType.HTTP_PROXY) // the properties below are optional .connectionId("connectionId") .connectionType(HttpConnectionType.VPC_LINK) .credentials(integrationCredentials) .method(HttpMethod.ANY) .parameterMapping(parameterMapping) .secureServerName("secureServerName") .subtype(HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS) .timeout(Duration.minutes(30)) .uri("uri") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpRouteIntegrationConfig
static final class
An implementation forHttpRouteIntegrationConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
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.default HttpMethod
The HTTP method that must be used to invoke the underlying proxy.default ParameterMapping
Specifies how to transform HTTP requests before sending them to the backend.Payload format version in the case of lambda proxy integration.default String
Specifies the server name to verified by HTTPS when calling the backend integration.default HttpIntegrationSubtype
Integration subtype.default Duration
The maximum amount of time an integration will run before it returns without a response.getType()
Integration type.default String
getUri()
Integration URI.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPayloadFormatVersion
Payload format version in the case of lambda proxy integration.Default: - undefined
- See Also:
-
getType
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
-
getMethod
The HTTP method that must be used to invoke the underlying proxy.Required for
HttpIntegrationType.HTTP_PROXY
Default: - undefined
-
getParameterMapping
Specifies how to transform HTTP requests before sending them to the backend.Default: undefined requests are sent to the backend unmodified
- See Also:
-
getSecureServerName
Specifies the server name to verified by HTTPS when calling the backend integration.Default: undefined private integration traffic will use HTTP protocol
- See Also:
-
getSubtype
Integration subtype.Default: - none, required if no `integrationUri` is defined.
-
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)
-
getUri
Integration URI.Default: - none, required if no `integrationSubtype` is defined.
-
builder
- Returns:
- a
HttpRouteIntegrationConfig.Builder
ofHttpRouteIntegrationConfig
-