@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:06.478Z") @Stability(value=Experimental) public interface ApplicationListenerAttributes extends software.amazon.jsii.JsiiSerializable
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 Number |
getDefaultPort()
(experimental) The default port on which this listener is listening.
|
String |
getListenerArn()
(experimental) ARN of the listener.
|
default ISecurityGroup |
getSecurityGroup()
(experimental) Security group of the load balancer this listener is associated with.
|
default Boolean |
getSecurityGroupAllowsAllOutbound()
Deprecated.
use `securityGroup` instead
|
default String |
getSecurityGroupId()
Deprecated.
use `securityGroup` instead
|
@Stability(value=Experimental) @NotNull String getListenerArn()
@Stability(value=Experimental) @Nullable default Number getDefaultPort()
@Stability(value=Experimental) @Nullable default ISecurityGroup getSecurityGroup()
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getSecurityGroupAllowsAllOutbound()
Unless set to false, no egress rules will be added to the security group.
Default: true
@Stability(value=Deprecated) @Deprecated @Nullable default String getSecurityGroupId()
@Stability(value=Experimental) static ApplicationListenerAttributes.Builder builder()
Copyright © 2022. All rights reserved.