interface ApplicationListenerLookupOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.ApplicationListenerLookupOptions |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerLookupOptions |
Python | aws_cdk.aws_elasticloadbalancingv2.ApplicationListenerLookupOptions |
TypeScript (source) | @aws-cdk/aws-elasticloadbalancingv2 » ApplicationListenerLookupOptions |
Options for ApplicationListener lookup.
Example
const listener = elbv2.ApplicationListener.fromLookup(this, 'ALBListener', {
loadBalancerArn: 'arn:aws:elasticloadbalancing:us-east-2:123456789012:loadbalancer/app/my-load-balancer/1234567890123456',
listenerProtocol: elbv2.ApplicationProtocol.HTTPS,
listenerPort: 443,
});
Properties
Name | Type | Description |
---|---|---|
listener | string | ARN of the listener to look up. |
listener | number | Filter listeners by listener port. |
listener | Application | Filter listeners by listener protocol. |
load | string | Filter listeners by associated load balancer arn. |
load | { [string]: string } | Filter listeners by associated load balancer tags. |
listenerArn?
Type:
string
(optional, default: does not filter by listener arn)
ARN of the listener to look up.
listenerPort?
Type:
number
(optional, default: does not filter by listener port)
Filter listeners by listener port.
listenerProtocol?
Type:
Application
(optional, default: does not filter by listener protocol)
Filter listeners by listener protocol.
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.