LoadBalancerTargetProps Struct
Result of attaching a target to load balancer.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
declare const targetJson: any;
const loadBalancerTargetProps: elbv2.LoadBalancerTargetProps = {
targetType: elbv2.TargetType.INSTANCE,
// the properties below are optional
targetJson: targetJson,
};
Properties
JSON representing the target's direct addition to the TargetGroup list.
May be omitted if the target is going to register itself later.
targetTypeTargetTypetarget_typeTargetTypetargetTypeTargetTypeTargetTypeTargetTypeTargetTypeTargetTyperequired#What kind of target this is.