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

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]) – (deprecated) 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]) – (deprecated) 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

(deprecated) 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

Deprecated

use securityGroup instead

Stability

deprecated

Return type

Optional[bool]

security_group_id

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

Deprecated

use securityGroup instead

Stability

deprecated

Return type

Optional[str]