LoadBalancerTargetProps

class aws_cdk.aws_elasticloadbalancingv2.LoadBalancerTargetProps(*, target_type, target_json=None)

Bases: object

__init__(*, target_type, target_json=None)

Result of attaching a target to load balancer.

Parameters
  • target_type (TargetType) – What kind of target this is.

  • target_json (Optional[Any]) – JSON representing the target’s direct addition to the TargetGroup list. May be omitted if the target is going to register itself later.

Attributes

target_json

JSON representing the target’s direct addition to the TargetGroup list.

May be omitted if the target is going to register itself later.

Return type

Any

target_type

What kind of target this is.

Return type

TargetType