enum TargetType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.TargetType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#TargetType |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.TargetType |
Python | aws_cdk.aws_elasticloadbalancingv2.TargetType |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » TargetType |
How to interpret the load balancing target identifiers.
Example
declare const vpc: ec2.Vpc;
// Target group with slow start mode enabled
const tg = new elbv2.ApplicationTargetGroup(this, 'TG', {
targetType: elbv2.TargetType.INSTANCE,
slowStart: Duration.seconds(60),
port: 80,
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.