ApplicationListenerAttributes Struct
Properties to reference an existing listener.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
declare const securityGroup: ec2.SecurityGroup;
const applicationListenerAttributes: elbv2.ApplicationListenerAttributes = {
listenerArn: 'listenerArn',
securityGroup: securityGroup,
// the properties below are optional
defaultPort: 123,
};
Properties
The default port on which this listener is listening.
ARN of the listener.
securityGroupISecurityGroupsecurity_groupISecurityGroupsecurityGroupISecurityGroupSecurityGroupISecurityGroupSecurityGroupISecurityGrouprequired#Security group of the load balancer this listener is associated with.