TargetType
- class aws_cdk.aws_elasticloadbalancingv2.TargetType(value)
Bases:
Enum
How to interpret the load balancing target identifiers.
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc tg = elbv2.ApplicationTargetGroup(self, "TG", target_type=elbv2.TargetType.IP, port=50051, protocol=elbv2.ApplicationProtocol.HTTP, protocol_version=elbv2.ApplicationProtocolVersion.GRPC, health_check=elbv2.HealthCheck( enabled=True, healthy_grpc_codes="0-99" ), vpc=vpc )
Attributes
- ALB
Target is a single Application Load Balancer.
- INSTANCE
Targets identified by instance ID.
- IP
Targets identified by IP address.
- LAMBDA
Target is a single Lambda Function.