@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.053Z") @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")
.securityGroup(securityGroup)
// the properties below are optional
.defaultPort(123)
.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.
|
ISecurityGroup |
getSecurityGroup()
Security group of the load balancer this listener is associated with.
|
@Stability(value=Stable) @NotNull String getListenerArn()
@Stability(value=Stable) @NotNull ISecurityGroup getSecurityGroup()
@Stability(value=Stable) @Nullable default Number getDefaultPort()
@Stability(value=Stable) static ApplicationListenerAttributes.Builder builder()
Copyright © 2022. All rights reserved.