@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:07.765Z")
public interface ApplicationListenerAttributes
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();
Modifier and Type | Interface and Description |
---|---|
static class |
ApplicationListenerAttributes.Builder
A builder for
ApplicationListenerAttributes |
static class |
ApplicationListenerAttributes.Jsii$Proxy
An implementation for
ApplicationListenerAttributes |
Modifier and Type | Method and Description |
---|---|
static ApplicationListenerAttributes.Builder |
builder() |
default java.lang.Number |
getDefaultPort()
The default port on which this listener is listening.
|
java.lang.String |
getListenerArn()
ARN of the listener.
|
default ISecurityGroup |
getSecurityGroup()
Security group of the load balancer this listener is associated with.
|
default java.lang.Boolean |
getSecurityGroupAllowsAllOutbound()
Deprecated.
use `securityGroup` instead
|
default java.lang.String |
getSecurityGroupId()
Deprecated.
use `securityGroup` instead
|
java.lang.String getListenerArn()
default java.lang.Number getDefaultPort()
default ISecurityGroup getSecurityGroup()
@Deprecated default java.lang.Boolean getSecurityGroupAllowsAllOutbound()
Unless set to false
, no egress rules will be added to the security group.
Default: true
@Deprecated default java.lang.String getSecurityGroupId()
static ApplicationListenerAttributes.Builder builder()