@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.174Z") @Stability(value=Stable) public enum IntegrationType extends Enum<IntegrationType>
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
Vpc vpc = new Vpc(this, "VPC");
NetworkLoadBalancer nlb = NetworkLoadBalancer.Builder.create(this, "NLB")
.vpc(vpc)
.build();
VpcLink link = VpcLink.Builder.create(this, "link")
.targets(List.of(nlb))
.build();
Integration integration = Integration.Builder.create()
.type(IntegrationType.HTTP_PROXY)
.options(IntegrationOptions.builder()
.connectionType(ConnectionType.VPC_LINK)
.vpcLink(link)
.build())
.build();
| Enum Constant and Description |
|---|
AWS
For integrating the API method request with an AWS service action, including the Lambda function-invoking action.
|
AWS_PROXY
For integrating the API method request with the Lambda function-invoking action with the client request passed through as-is.
|
HTTP
For integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC.
|
HTTP_PROXY
For integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is.
|
MOCK
For integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.
|
| Modifier and Type | Method and Description |
|---|---|
static IntegrationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntegrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final IntegrationType AWS
With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.
@Stability(value=Stable) public static final IntegrationType AWS_PROXY
This integration is also referred to as the Lambda proxy integration
@Stability(value=Stable) public static final IntegrationType HTTP
This integration is also referred to as the HTTP custom integration.
@Stability(value=Stable) public static final IntegrationType HTTP_PROXY
This is also referred to as the HTTP proxy integration
@Stability(value=Stable) public static final IntegrationType MOCK
public static IntegrationType[] values()
for (IntegrationType c : IntegrationType.values()) System.out.println(c);
public static IntegrationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.