Interface LoadBalancerListenerContextQuery
- All Superinterfaces:
ContextLookupRoleOptions,software.amazon.jsii.JsiiSerializable,LoadBalancerFilter
- All Known Implementing Classes:
LoadBalancerListenerContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:22.518Z")
@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.cloud_assembly_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 ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLoadBalancerListenerContextQuerystatic final classAn implementation forLoadBalancerListenerContextQuery -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringFind by listener's arn.default NumberFilter listeners by listener port.default LoadBalancerListenerProtocolFilter by listener protocol.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.ContextLookupRoleOptions
getAccount, getAssumeRoleAdditionalOptions, getLookupRoleArn, getLookupRoleExternalId, getRegionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.cloud_assembly_schema.LoadBalancerFilter
getLoadBalancerArn, getLoadBalancerTags, getLoadBalancerType
-
Method Details
-
getListenerArn
Find by listener's arn.Default: - does not find by listener arn
-
getListenerPort
Filter listeners by listener port.Default: - does not filter by a listener port
-
getListenerProtocol
Filter by listener protocol.Default: - does not filter by listener protocol
-
builder
-