Interface ApplicationListenerAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApplicationListenerAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:08.087Z")
@Stability(Stable)
public interface ApplicationListenerAttributes
extends software.amazon.jsii.JsiiSerializable
Properties to reference an existing 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.services.ec2.*;
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
SecurityGroup securityGroup;
ApplicationListenerAttributes applicationListenerAttributes = ApplicationListenerAttributes.builder()
.listenerArn("listenerArn")
.securityGroup(securityGroup)
// the properties below are optional
.defaultPort(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forApplicationListenerAttributesstatic final classAn implementation forApplicationListenerAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getListenerArn
ARN of the listener. -
getSecurityGroup
Security group of the load balancer this listener is associated with. -
getDefaultPort
The default port on which this listener is listening. -
builder
-