@Internal public static interface IApplicationListener.Jsii$Default extends IApplicationListener, IResource.Jsii$Default, IConnectable.Jsii$Default
IApplicationListener.IApplicationListener.Jsii$Default, IApplicationListener.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default void |
addCertificates(String id,
List<IListenerCertificate> certificates)
(experimental) Add one or more certificates to this listener.
|
default void |
addTargetGroups(String id,
AddApplicationTargetGroupsProps props)
(experimental) Load balance incoming requests to the given target groups.
|
default ApplicationTargetGroup |
addTargets(String id,
AddApplicationTargetsProps props)
(experimental) Load balance incoming requests to the given load balancing targets.
|
default Connections |
getConnections() |
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default String |
getListenerArn()
(experimental) ARN of the listener.
|
default software.constructs.Node |
getNode()
The tree node.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default void |
registerConnectable(IConnectable connectable,
Port portRange)
(experimental) Register that a connectable that has been added to this load balancer.
|
@Stability(value=Stable) @NotNull default software.constructs.Node getNode()
getNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$DefaultgetNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default 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$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default Connections getConnections()
getConnections in interface IConnectablegetConnections in interface IConnectable.Jsii$Default@Stability(value=Experimental) @NotNull default String getListenerArn()
getListenerArn in interface IApplicationListener@Stability(value=Experimental)
default void addCertificates(@NotNull
String id,
@NotNull
List<IListenerCertificate> certificates)
addCertificates in interface IApplicationListenerid - This parameter is required.certificates - This parameter is required.@Stability(value=Experimental)
default 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 IApplicationListenerid - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull default 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 IApplicationListenerid - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
default void registerConnectable(@NotNull
IConnectable connectable,
@NotNull
Port portRange)
Don't call this directly. It is called by ApplicationTargetGroup.
registerConnectable in interface IApplicationListenerconnectable - This parameter is required.portRange - This parameter is required.Copyright © 2021. All rights reserved.