BaseListenerLookupOptions
- class aws_cdk.aws_elasticloadbalancingv2.BaseListenerLookupOptions(*, listener_port=None, load_balancer_arn=None, load_balancer_tags=None)
Bases:
object
Options for listener lookup.
- Parameters:
listener_port (
Union
[int
,float
,None
]) – Filter listeners by listener port. Default: - does not filter by listener portload_balancer_arn (
Optional
[str
]) – Filter listeners by associated load balancer arn. Default: - does not filter by load balancer arnload_balancer_tags (
Optional
[Mapping
[str
,str
]]) – Filter listeners by associated load balancer tags. Default: - does not filter by load balancer tags
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_elasticloadbalancingv2 as elbv2 base_listener_lookup_options = elbv2.BaseListenerLookupOptions( listener_port=123, load_balancer_arn="loadBalancerArn", load_balancer_tags={ "load_balancer_tags_key": "loadBalancerTags" } )
Attributes
- listener_port
Filter listeners by listener port.
- Default:
does not filter by listener port
- load_balancer_arn
Filter listeners by associated load balancer arn.
- Default:
does not filter by load balancer arn
- load_balancer_tags
Filter listeners by associated load balancer tags.
- Default:
does not filter by load balancer tags