LoadBalancerContextQuery

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

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.

  • lookup_role_arn (Optional[str]) – The ARN of the role that should be used to look up the missing values. Default: - None

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

lookup_role_arn

The ARN of the role that should be used to look up the missing values.

Default
  • None

Return type

Optional[str]

region

Query region.

Return type

str