aws-cdk-lib.aws_elasticloadbalancingv2.BaseListenerLookupOptions

interface BaseListenerLookupOptions

LanguageType name
.NETAmazon.CDK.AWS.ElasticLoadBalancingV2.BaseListenerLookupOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#BaseListenerLookupOptions
Javasoftware.amazon.awscdk.services.elasticloadbalancingv2.BaseListenerLookupOptions
Pythonaws_cdk.aws_elasticloadbalancingv2.BaseListenerLookupOptions
TypeScript (source)aws-cdk-lib » aws_elasticloadbalancingv2 » BaseListenerLookupOptions

Options for listener lookup.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const baseListenerLookupOptions: elbv2.BaseListenerLookupOptions = {
  listenerPort: 123,
  loadBalancerArn: 'loadBalancerArn',
  loadBalancerTags: {
    loadBalancerTagsKey: 'loadBalancerTags',
  },
};

Properties

NameTypeDescription
listenerPort?numberFilter listeners by listener port.
loadBalancerArn?stringFilter listeners by associated load balancer arn.
loadBalancerTags?{ [string]: string }Filter listeners by associated load balancer tags.

listenerPort?

Type: number (optional, default: does not filter by listener port)

Filter listeners by listener port.


loadBalancerArn?

Type: string (optional, default: does not filter by load balancer arn)

Filter listeners by associated load balancer arn.


loadBalancerTags?

Type: { [string]: string } (optional, default: does not filter by load balancer tags)

Filter listeners by associated load balancer tags.