interface NetworkLoadBalancerLookupOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.NetworkLoadBalancerLookupOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#NetworkLoadBalancerLookupOptions |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancerLookupOptions |
Python | aws_cdk.aws_elasticloadbalancingv2.NetworkLoadBalancerLookupOptions |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » NetworkLoadBalancerLookupOptions |
Options for looking up an NetworkLoadBalancer.
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 networkLoadBalancerLookupOptions: elbv2.NetworkLoadBalancerLookupOptions = {
loadBalancerArn: 'loadBalancerArn',
loadBalancerTags: {
loadBalancerTagsKey: 'loadBalancerTags',
},
};
Properties
Name | Type | Description |
---|---|---|
load | string | Find by load balancer's ARN. |
load | { [string]: string } | Match load balancer tags. |
loadBalancerArn?
Type:
string
(optional, default: does not search by load balancer arn)
Find by load balancer's ARN.
loadBalancerTags?
Type:
{ [string]: string }
(optional, default: does not match load balancers by tags)
Match load balancer tags.