Class HttpAlbIntegration.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.integrations.HttpAlbIntegration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpAlbIntegration>
- Enclosing class:
- HttpAlbIntegration
@Stability(Experimental)
public static final class HttpAlbIntegration.Builder
extends Object
implements software.amazon.jsii.Builder<HttpAlbIntegration>
(experimental) A fluent builder for
HttpAlbIntegration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static HttpAlbIntegration.Builder
create
(String id, IApplicationListener listener) method
(HttpMethod method) (experimental) The HTTP method that must be used to invoke the underlying HTTP proxy.parameterMapping
(ParameterMapping parameterMapping) (experimental) Specifies how to transform HTTP requests before sending them to the backend.secureServerName
(String secureServerName) (experimental) Specifies the server name to verified by HTTPS when calling the backend integration.(experimental) The vpc link to be used for the private integration.
-
Method Details
-
create
@Stability(Experimental) public static HttpAlbIntegration.Builder create(String id, IApplicationListener listener) - Parameters:
id
- id of the underlying integration construct. This parameter is required.listener
- the ELB application listener. This parameter is required.- Returns:
- a new instance of
HttpAlbIntegration.Builder
.
-
method
(experimental) The HTTP method that must be used to invoke the underlying HTTP proxy.Default: HttpMethod.ANY
- Parameters:
method
- The HTTP method that must be used to invoke the underlying HTTP proxy. This parameter is required.- Returns:
this
-
parameterMapping
@Stability(Experimental) public HttpAlbIntegration.Builder parameterMapping(ParameterMapping parameterMapping) (experimental) Specifies how to transform HTTP requests before sending them to the backend.Default: undefined requests are sent to the backend unmodified
- Parameters:
parameterMapping
- Specifies how to transform HTTP requests before sending them to the backend. This parameter is required.- Returns:
this
- See Also:
-
secureServerName
@Stability(Experimental) public HttpAlbIntegration.Builder secureServerName(String secureServerName) (experimental) Specifies the server name to verified by HTTPS when calling the backend integration.Default: undefined private integration traffic will use HTTP protocol
- Parameters:
secureServerName
- Specifies the server name to verified by HTTPS when calling the backend integration. This parameter is required.- Returns:
this
- See Also:
-
vpcLink
(experimental) The vpc link to be used for the private integration.Default: - a new VpcLink is created
- Parameters:
vpcLink
- The vpc link to be used for the private integration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpAlbIntegration>
- Returns:
- a newly built instance of
HttpAlbIntegration
.
-