enum Protocol
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.Protocol |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.Protocol |
Python | aws_cdk.aws_elasticloadbalancingv2.Protocol |
TypeScript (source) | @aws-cdk/aws-elasticloadbalancingv2 » Protocol |
Backend protocol for network load balancers and health checks.
Example
const listener = elbv2.NetworkListener.fromLookup(this, 'ALBListener', {
loadBalancerTags: {
Cluster: 'MyClusterName',
},
listenerProtocol: elbv2.Protocol.TCP,
listenerPort: 12345,
});
Members
Name | Description |
---|---|
HTTP | HTTP (ALB health checks and NLB health checks). |
HTTPS | HTTPS (ALB health checks and NLB health checks). |
TCP | TCP (NLB, NLB health checks). |
TLS | TLS (NLB). |
UDP | UDP (NLB). |
TCP_UDP | Listen to both TCP and UDP on the same port (NLB). |
HTTP
HTTP (ALB health checks and NLB health checks).
HTTPS
HTTPS (ALB health checks and NLB health checks).
TCP
TCP (NLB, NLB health checks).
TLS
TLS (NLB).
UDP
UDP (NLB).
TCP_UDP
Listen to both TCP and UDP on the same port (NLB).