ApplicationListenerAttributes

class aws_cdk.aws_elasticloadbalancingv2.ApplicationListenerAttributes(*, listener_arn, default_port=None, security_group=None, security_group_allows_all_outbound=None, security_group_id=None)

Bases: object

__init__(*, listener_arn, default_port=None, security_group=None, security_group_allows_all_outbound=None, security_group_id=None)

Properties to reference an existing listener.

Parameters
  • listener_arn (str) – ARN of the listener.

  • default_port (Union[int, float, None]) – The default port on which this listener is listening.

  • security_group (Optional[ISecurityGroup]) – Security group of the load balancer this listener is associated with.

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

  • security_group_id (Optional[str]) – Security group ID of the load balancer this listener is associated with.

Attributes

default_port

The default port on which this listener is listening.

Return type

Union[int, float, None]

listener_arn

ARN of the listener.

Return type

str

security_group

Security group of the load balancer this listener is associated with.

Return type

Optional[ISecurityGroup]

security_group_allows_all_outbound

Whether the imported security group allows all outbound traffic or not when imported using securityGroupId.

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

default :default: true

deprecated :deprecated: use securityGroup instead

stability :stability: deprecated

Return type

Optional[bool]

security_group_id

Security group ID of the load balancer this listener is associated with.

deprecated :deprecated: use securityGroup instead

stability :stability: deprecated

Return type

Optional[str]