@Internal public static final class IApplicationListener.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IApplicationListener.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIApplicationListener.Jsii$Default, IApplicationListener.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(String id,
AddApplicationActionProps props)
Perform the given action on incoming requests.
|
void |
addCertificates(String id,
List<IListenerCertificate> certificates)
Add one or more certificates to this listener.
|
void |
addTargetGroups(String id,
AddApplicationTargetGroupsProps props)
Load balance incoming requests to the given target groups.
|
ApplicationTargetGroup |
addTargets(String id,
AddApplicationTargetsProps props)
Load balance incoming requests to the given load balancing targets.
|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
Connections |
getConnections()
The network connections associated with this resource.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
String |
getListenerArn()
ARN of the listener.
|
software.constructs.Node |
getNode()
The tree node.
|
Stack |
getStack()
The stack in which this resource is defined.
|
void |
registerConnectable(IConnectable connectable,
Port portRange)
Register that a connectable that has been added to this load balancer.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IApplicationListener.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Stable) @NotNull public final ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface IApplicationListener.Jsii$Default@Stability(value=Stable) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IApplicationListener.Jsii$Default@Stability(value=Stable) @NotNull public final Connections getConnections()
getConnections in interface IConnectablegetConnections in interface IConnectable.Jsii$DefaultgetConnections in interface IApplicationListener.Jsii$Default@Stability(value=Stable) @NotNull public final String getListenerArn()
getListenerArn in interface IApplicationListenergetListenerArn in interface IApplicationListener.Jsii$Default@Stability(value=Stable)
public final void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$DefaultapplyRemovalPolicy in interface IApplicationListener.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable)
public final void addAction(@NotNull
String id,
@NotNull
AddApplicationActionProps props)
This allows full control of the default action of the load balancer,
including Action chaining, fixed responses and redirect responses. See
the ListenerAction class for all options.
It's possible to add routing conditions to the Action added in this way.
It is not possible to add a default action to an imported IApplicationListener.
In order to add actions to an imported IApplicationListener a priority
must be provided.
addAction in interface IApplicationListeneraddAction in interface IApplicationListener.Jsii$Defaultid - This parameter is required.props - This parameter is required.@Stability(value=Stable)
public final void addCertificates(@NotNull
String id,
@NotNull
List<IListenerCertificate> certificates)
addCertificates in interface IApplicationListeneraddCertificates in interface IApplicationListener.Jsii$Defaultid - This parameter is required.certificates - This parameter is required.@Stability(value=Stable)
public final void addTargetGroups(@NotNull
String id,
@NotNull
AddApplicationTargetGroupsProps props)
It's possible to add conditions to the TargetGroups added in this way. At least one TargetGroup must be added without conditions.
addTargetGroups in interface IApplicationListeneraddTargetGroups in interface IApplicationListener.Jsii$Defaultid - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public final ApplicationTargetGroup addTargets(@NotNull String id, @NotNull AddApplicationTargetsProps props)
This method implicitly creates an ApplicationTargetGroup for the targets involved.
It's possible to add conditions to the targets added in this way. At least one set of targets must be added without conditions.
addTargets in interface IApplicationListeneraddTargets in interface IApplicationListener.Jsii$Defaultid - This parameter is required.props - This parameter is required.@Stability(value=Stable)
public final void registerConnectable(@NotNull
IConnectable connectable,
@NotNull
Port portRange)
Don't call this directly. It is called by ApplicationTargetGroup.
registerConnectable in interface IApplicationListenerregisterConnectable in interface IApplicationListener.Jsii$Defaultconnectable - This parameter is required.portRange - This parameter is required.Copyright © 2022. All rights reserved.