Interface HttpRouteIntegrationConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpRouteIntegrationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.368Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpRouteIntegrationConfigstatic final classAn implementation forHttpRouteIntegrationConfig -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ID of the VPC link for a private integration.default HttpConnectionTypeThe type of the network connection to the integration endpoint.default IntegrationCredentialsThe credentials with which to invoke the integration.default HttpMethodThe HTTP method that must be used to invoke the underlying proxy.default ParameterMappingSpecifies how to transform HTTP requests before sending them to the backend.Payload format version in the case of lambda proxy integration.default StringSpecifies the server name to verified by HTTPS when calling the backend integration.default HttpIntegrationSubtypeIntegration subtype.default DurationThe maximum amount of time an integration will run before it returns without a response.getType()Integration type.default StringgetUri()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_PROXYDefault: - 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.BuilderofHttpRouteIntegrationConfig
-