Interface LoadBalancerListenerContextQuery
-
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable,LoadBalancerFilter
- All Known Implementing Classes:
LoadBalancerListenerContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.710Z") @Stability(Stable) public interface LoadBalancerListenerContextQuery extends software.amazon.jsii.JsiiSerializable, LoadBalancerFilter
Query input for looking up a load balancer listener.Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloudassembly.schema.*; Object assumeRoleAdditionalOptions; LoadBalancerListenerContextQuery loadBalancerListenerContextQuery = LoadBalancerListenerContextQuery.builder() .account("account") .loadBalancerType(LoadBalancerType.NETWORK) .region("region") // the properties below are optional .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .listenerArn("listenerArn") .listenerPort(123) .listenerProtocol(LoadBalancerListenerProtocol.HTTP) .loadBalancerArn("loadBalancerArn") .loadBalancerTags(List.of(Tag.builder() .key("key") .value("value") .build())) .lookupRoleArn("lookupRoleArn") .lookupRoleExternalId("lookupRoleExternalId") .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLoadBalancerListenerContextQuery.BuilderA builder forLoadBalancerListenerContextQuerystatic classLoadBalancerListenerContextQuery.Jsii$ProxyAn implementation forLoadBalancerListenerContextQuery
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LoadBalancerListenerContextQuery.Builderbuilder()default StringgetListenerArn()Find by listener's arn.default NumbergetListenerPort()Filter listeners by listener port.default LoadBalancerListenerProtocolgetListenerProtocol()Filter by listener protocol.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegion
-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.LoadBalancerFilter
getLoadBalancerArn, getLoadBalancerTags, getLoadBalancerType
-
-
-
-
Method Detail
-
getListenerArn
@Stability(Stable) @Nullable default String getListenerArn()
Find by listener's arn.Default: - does not find by listener arn
-
getListenerPort
@Stability(Stable) @Nullable default Number getListenerPort()
Filter listeners by listener port.Default: - does not filter by a listener port
-
getListenerProtocol
@Stability(Stable) @Nullable default LoadBalancerListenerProtocol getListenerProtocol()
Filter by listener protocol.Default: - does not filter by listener protocol
-
builder
@Stability(Stable) static LoadBalancerListenerContextQuery.Builder builder()
-
-