ApplicationLoadBalancerAttributes

class aws_cdk.aws_elasticloadbalancingv2.ApplicationLoadBalancerAttributes(*, load_balancer_arn, security_group_id, load_balancer_canonical_hosted_zone_id=None, load_balancer_dns_name=None, security_group_allows_all_outbound=None)

Bases: object

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

Properties to reference an existing load balancer.

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

  • security_group_id (str) – ID of the load balancer’s security group.

  • 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.

  • security_group_allows_all_outbound (Optional[bool]) – Whether the security group allows all outbound traffic or not. Unless set to false, no egress rules will be added to the security group. Default: true

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]

security_group_allows_all_outbound

Whether the security group allows all outbound traffic or not.

Unless set to false, no egress rules will be added to the security group.

default :default: true

Return type

Optional[bool]

security_group_id

ID of the load balancer’s security group.

Return type

str