enum TargetType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.TargetType |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#TargetType |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.TargetType |
![]() | aws_cdk.aws_elasticloadbalancingv2.TargetType |
![]() | aws-cdk-lib » aws_elasticloadbalancingv2 » TargetType |
How to interpret the load balancing target identifiers.
Example
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
Name | Description |
---|---|
INSTANCE | Targets identified by instance ID. |
IP | Targets identified by IP address. |
LAMBDA | Target is a single Lambda Function. |
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.
ALB
Target is a single Application Load Balancer.