NetworkLoadBalancerLookupOptions

class aws_cdk.aws_elasticloadbalancingv2.NetworkLoadBalancerLookupOptions(*, load_balancer_arn=None, load_balancer_tags=None)

Bases: BaseLoadBalancerLookupOptions

Options for looking up an NetworkLoadBalancer.

Parameters:
  • load_balancer_arn (Optional[str]) – Find by load balancer’s ARN. Default: - does not search by load balancer arn

  • load_balancer_tags (Optional[Mapping[str, str]]) – Match load balancer tags. Default: - does not match load balancers by tags

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_elasticloadbalancingv2 as elbv2

network_load_balancer_lookup_options = elbv2.NetworkLoadBalancerLookupOptions(
    load_balancer_arn="loadBalancerArn",
    load_balancer_tags={
        "load_balancer_tags_key": "loadBalancerTags"
    }
)

Attributes

load_balancer_arn

Find by load balancer’s ARN.

Default:
  • does not search by load balancer arn

load_balancer_tags

Match load balancer tags.

Default:
  • does not match load balancers by tags