Enum IntegrationType
- All Implemented Interfaces:
Serializable
,Comparable<IntegrationType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-30T03:43:20.032Z")
@Stability(Stable)
public enum IntegrationType
extends Enum<IntegrationType>
Example:
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) .integrationHttpMethod("ANY") .options(IntegrationOptions.builder() .connectionType(ConnectionType.VPC_LINK) .vpcLink(link) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFor integrating the API method request with an AWS service action, including the Lambda function-invoking action.For integrating the API method request with the Lambda function-invoking action with the client request passed through as-is.For integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC.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.For integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend. -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegrationType
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.
-
Enum Constant Details
-
AWS
For integrating the API method request with an AWS service action, including the Lambda function-invoking action.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.
-
AWS_PROXY
For integrating the API method request with the Lambda function-invoking action with the client request passed through as-is.This integration is also referred to as the Lambda proxy integration
-
HTTP
For integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC.This integration is also referred to as the HTTP custom integration.
-
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.This is also referred to as the HTTP proxy integration
-
MOCK
For integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-