@Stability(value=Stable) public static final class CfnListenerRuleProps.Builder extends Object implements software.amazon.jsii.Builder<CfnListenerRuleProps>
CfnListenerRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnListenerRuleProps.Builder |
actions(IResolvable actions)
Sets the value of
CfnListenerRuleProps.getActions() |
CfnListenerRuleProps.Builder |
actions(List<? extends Object> actions)
Sets the value of
CfnListenerRuleProps.getActions() |
CfnListenerRuleProps |
build()
Builds the configured instance.
|
CfnListenerRuleProps.Builder |
conditions(IResolvable conditions)
Sets the value of
CfnListenerRuleProps.getConditions() |
CfnListenerRuleProps.Builder |
conditions(List<? extends Object> conditions)
Sets the value of
CfnListenerRuleProps.getConditions() |
CfnListenerRuleProps.Builder |
listenerArn(String listenerArn)
Sets the value of
CfnListenerRuleProps.getListenerArn() |
CfnListenerRuleProps.Builder |
priority(Number priority)
Sets the value of
CfnListenerRuleProps.getPriority() |
@Stability(value=Stable) public CfnListenerRuleProps.Builder actions(IResolvable actions)
CfnListenerRuleProps.getActions()actions - The actions. This parameter is required.
The rule must include exactly one of the following types of actions: forward , fixed-response , or redirect , and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.this@Stability(value=Stable) public CfnListenerRuleProps.Builder actions(List<? extends Object> actions)
CfnListenerRuleProps.getActions()actions - The actions. This parameter is required.
The rule must include exactly one of the following types of actions: forward , fixed-response , or redirect , and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.this@Stability(value=Stable) public CfnListenerRuleProps.Builder conditions(IResolvable conditions)
CfnListenerRuleProps.getConditions()conditions - The conditions. This parameter is required.
The rule can optionally include up to one of each of the following conditions: http-request-method , host-header , path-pattern , and source-ip . A rule can also optionally include one or more of each of the following conditions: http-header and query-string .this@Stability(value=Stable) public CfnListenerRuleProps.Builder conditions(List<? extends Object> conditions)
CfnListenerRuleProps.getConditions()conditions - The conditions. This parameter is required.
The rule can optionally include up to one of each of the following conditions: http-request-method , host-header , path-pattern , and source-ip . A rule can also optionally include one or more of each of the following conditions: http-header and query-string .this@Stability(value=Stable) public CfnListenerRuleProps.Builder listenerArn(String listenerArn)
CfnListenerRuleProps.getListenerArn()listenerArn - The Amazon Resource Name (ARN) of the listener. This parameter is required.this@Stability(value=Stable) public CfnListenerRuleProps.Builder priority(Number priority)
CfnListenerRuleProps.getPriority()priority - The rule priority. A listener can't have multiple rules with the same priority. This parameter is required.
If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.this@Stability(value=Stable) public CfnListenerRuleProps build()
build in interface software.amazon.jsii.Builder<CfnListenerRuleProps>CfnListenerRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.