ApplicationListenerAttributes
- class aws_cdk.aws_elasticloadbalancingv2.ApplicationListenerAttributes(*, listener_arn, security_group, default_port=None)
- Bases: - object- Properties to reference an existing listener. - Parameters:
- listener_arn ( - str) – ARN of the listener.
- security_group ( - ISecurityGroup) – Security group of the load balancer this listener is associated with.
- default_port ( - Union[- int,- float,- None]) – The default port on which this listener is listening.
 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 from aws_cdk import aws_elasticloadbalancingv2 as elbv2 # security_group: ec2.SecurityGroup application_listener_attributes = elbv2.ApplicationListenerAttributes( listener_arn="listenerArn", security_group=security_group, # the properties below are optional default_port=123 ) - Attributes - default_port
- The default port on which this listener is listening. 
 - listener_arn
- ARN of the listener. 
 - security_group
- Security group of the load balancer this listener is associated with.