@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.055Z") @Stability(value=Stable) public class ApplicationListenerRule extends software.constructs.Construct
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.elasticloadbalancingv2.*;
ApplicationListener applicationListener;
ApplicationTargetGroup applicationTargetGroup;
ListenerAction listenerAction;
ListenerCondition listenerCondition;
ApplicationListenerRule applicationListenerRule = ApplicationListenerRule.Builder.create(this, "MyApplicationListenerRule")
.listener(applicationListener)
.priority(123)
// the properties below are optional
.action(listenerAction)
.conditions(List.of(listenerCondition))
.targetGroups(List.of(applicationTargetGroup))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationListenerRule.Builder
A fluent builder for
ApplicationListenerRule. |
| Modifier | Constructor and Description |
|---|---|
|
ApplicationListenerRule(software.constructs.Construct scope,
String id,
ApplicationListenerRuleProps props) |
protected |
ApplicationListenerRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApplicationListenerRule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(ListenerCondition condition)
Add a non-standard condition to this rule.
|
void |
configureAction(ListenerAction action)
Configure the action to perform for this rule.
|
String |
getListenerRuleArn()
The ARN of this rule.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ApplicationListenerRule(software.amazon.jsii.JsiiObjectRef objRef)
protected ApplicationListenerRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ApplicationListenerRule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ApplicationListenerRuleProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable)
public void addCondition(@NotNull
ListenerCondition condition)
condition - This parameter is required.@Stability(value=Stable)
public void configureAction(@NotNull
ListenerAction action)
action - This parameter is required.@Stability(value=Stable) @NotNull public String getListenerRuleArn()
Copyright © 2022. All rights reserved.