NetworkLoadBalancerAttributes

class aws_cdk.aws_elasticloadbalancingv2.NetworkLoadBalancerAttributes(*, load_balancer_arn, load_balancer_canonical_hosted_zone_id=None, load_balancer_dns_name=None)

Bases: object

__init__(*, load_balancer_arn, load_balancer_canonical_hosted_zone_id=None, load_balancer_dns_name=None)

Properties to reference an existing load balancer.

Parameters
  • load_balancer_arn (str) – ARN of the load balancer.

  • load_balancer_canonical_hosted_zone_id (Optional[str]) – The canonical hosted zone ID of this load balancer. Default: - When not provided, LB cannot be used as Route53 Alias target.

  • load_balancer_dns_name (Optional[str]) – The DNS name of this load balancer. Default: - When not provided, LB cannot be used as Route53 Alias target.

Attributes

load_balancer_arn

ARN of the load balancer.

Return type

str

load_balancer_canonical_hosted_zone_id

The canonical hosted zone ID of this load balancer.

default :default: - When not provided, LB cannot be used as Route53 Alias target.

Return type

Optional[str]

load_balancer_dns_name

The DNS name of this load balancer.

default :default: - When not provided, LB cannot be used as Route53 Alias target.

Return type

Optional[str]