LoadBalancerContextQuery

class aws_cdk.cloud_assembly_schema.LoadBalancerContextQuery(*, load_balancer_type, load_balancer_arn=None, load_balancer_tags=None, account, region)

Bases: aws_cdk.cloud_assembly_schema.LoadBalancerFilter

Query input for looking up a load balancer.

Parameters
  • load_balancer_type (LoadBalancerType) – Filter load balancers by their type.

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

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

  • account (str) – Query account.

  • region (str) – Query region.

Attributes

account

Query account.

Return type

str

load_balancer_arn

Find by load balancer’s ARN.

Default
  • does not search by load balancer arn

Return type

Optional[str]

load_balancer_tags

Match load balancer tags.

Default
  • does not match load balancers by tags

Return type

Optional[List[Tag]]

load_balancer_type

Filter load balancers by their type.

Return type

LoadBalancerType

region

Query region.

Return type

str