Skip to content
v2.274.0

ApplicationProtocolVersion Enum ​

Load balancing protocol version for application load balancers.

Example ​

ts
declare const vpc: ec2.Vpc;

const tg = new elbv2.ApplicationTargetGroup(this, 'TG', {
  targetType: elbv2.TargetType.IP,
  port: 50051,
  protocol: elbv2.ApplicationProtocol.HTTP,
  protocolVersion: elbv2.ApplicationProtocolVersion.GRPC,
  healthCheck: {
    enabled: true,
    healthyGrpcCodes: '0-99',
  },
  vpc,
});

Members ​

MemberDescription
GRPCGRPC.
HTTP1HTTP1.
HTTP2HTTP2.

Referenced by ​