BaseLoadBalancerLookupOptions
- class aws_cdk.aws_elasticloadbalancingv2.BaseLoadBalancerLookupOptions(*, load_balancer_arn=None, load_balancer_tags=None)
Bases:
object
Options for looking up load balancers.
- Parameters:
load_balancer_arn (
Optional
[str
]) – Find by load balancer’s ARN. Default: - does not search by load balancer arnload_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. import aws_cdk.aws_elasticloadbalancingv2 as elbv2 base_load_balancer_lookup_options = elbv2.BaseLoadBalancerLookupOptions( 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