Interface ApplicationListenerAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApplicationListenerAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-05-31T18:44:15.754Z")
@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") // the properties below are optional .defaultPort(123) .securityGroup(securityGroup) .securityGroupAllowsAllOutbound(false) .securityGroupId("securityGroupId") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forApplicationListenerAttributes
static final class
An implementation forApplicationListenerAttributes
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The default port on which this listener is listening.ARN of the listener.default ISecurityGroup
Security group of the load balancer this listener is associated with.default Boolean
Deprecated.use `securityGroup` insteaddefault String
Deprecated.use `securityGroup` insteadMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getListenerArn
ARN of the listener. -
getDefaultPort
The default port on which this listener is listening. -
getSecurityGroup
Security group of the load balancer this listener is associated with. -
getSecurityGroupAllowsAllOutbound
Deprecated.use `securityGroup` instead(deprecated) Whether the imported security group allows all outbound traffic or not when imported using `securityGroupId`.Unless set to
false
, no egress rules will be added to the security group.Default: true
-
getSecurityGroupId
Deprecated.use `securityGroup` instead(deprecated) Security group ID of the load balancer this listener is associated with. -
builder
-