Interface LoadBalancerFilter

All Superinterfaces:
ContextLookupRoleOptions, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
LoadBalancerContextQuery, LoadBalancerListenerContextQuery
All Known Implementing Classes:
LoadBalancerContextQuery.Jsii$Proxy, LoadBalancerFilter.Jsii$Proxy, LoadBalancerListenerContextQuery.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:18.377Z") @Stability(Stable) public interface LoadBalancerFilter extends software.amazon.jsii.JsiiSerializable, ContextLookupRoleOptions
Filters for selecting load balancers.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloud_assembly_schema.*;
 Object assumeRoleAdditionalOptions;
 LoadBalancerFilter loadBalancerFilter = LoadBalancerFilter.builder()
         .account("account")
         .loadBalancerType(LoadBalancerType.NETWORK)
         .region("region")
         // the properties below are optional
         .assumeRoleAdditionalOptions(Map.of(
                 "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
         .loadBalancerArn("loadBalancerArn")
         .loadBalancerTags(List.of(Tag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .lookupRoleArn("lookupRoleArn")
         .lookupRoleExternalId("lookupRoleExternalId")
         .build();
 
  • Method Details

    • getLoadBalancerType

      @Stability(Stable) @NotNull LoadBalancerType getLoadBalancerType()
      Filter load balancers by their type.
    • getLoadBalancerArn

      @Stability(Stable) @Nullable default String getLoadBalancerArn()
      Find by load balancer's ARN.

      Default: - does not search by load balancer arn

    • getLoadBalancerTags

      @Stability(Stable) @Nullable default List<Tag> getLoadBalancerTags()
      Match load balancer tags.

      Default: - does not match load balancers by tags

    • builder

      @Stability(Stable) static LoadBalancerFilter.Builder builder()
      Returns:
      a LoadBalancerFilter.Builder of LoadBalancerFilter