@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.300Z") @Stability(value=Experimental) public class Listener extends Resource implements IListener
| Modifier and Type | Class and Description |
|---|---|
static class |
Listener.Builder
(experimental) A fluent builder for
Listener. |
software.amazon.jsii.JsiiObject.InitializationModeIListener.Jsii$Default, IListener.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Listener(software.constructs.Construct scope,
String id,
ListenerProps props) |
protected |
Listener(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Listener(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
EndpointGroup |
addEndpointGroup(String id)
(experimental) Add a new endpoint group to this listener.
|
EndpointGroup |
addEndpointGroup(String id,
EndpointGroupOptions options)
(experimental) Add a new endpoint group to this listener.
|
static IListener |
fromListenerArn(software.constructs.Construct scope,
String id,
String listenerArn)
(experimental) import from ARN.
|
String |
getListenerArn()
(experimental) The ARN of the listener.
|
String |
getListenerName()
(experimental) The name of the listener.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Listener(software.amazon.jsii.JsiiObjectRef objRef)
protected Listener(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Listener(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ListenerProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IListener fromListenerArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String listenerArn)
scope - This parameter is required.id - This parameter is required.listenerArn - This parameter is required.@Stability(value=Experimental) @NotNull public EndpointGroup addEndpointGroup(@NotNull String id, @Nullable EndpointGroupOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull public EndpointGroup addEndpointGroup(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull public String getListenerArn()
getListenerArn in interface IListener@Stability(value=Experimental) @NotNull public String getListenerName()
Copyright © 2021. All rights reserved.