@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.142Z") @Stability(value=Stable) 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)
.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()
The default port on which this listener is listening.
|
String |
getListenerArn()
ARN of the listener.
|
default ISecurityGroup |
getSecurityGroup()
Security group of the load balancer this listener is associated with.
|
@Stability(value=Stable) @NotNull String getListenerArn()
@Stability(value=Stable) @Nullable default Number getDefaultPort()
@Stability(value=Stable) @Nullable default ISecurityGroup getSecurityGroup()
@Stability(value=Stable) static ApplicationListenerAttributes.Builder builder()
Copyright © 2022. All rights reserved.