Package com.pulumi.aws.lb.outputs
Class ListenerRuleCondition
- java.lang.Object
-
- com.pulumi.aws.lb.outputs.ListenerRuleCondition
-
public final class ListenerRuleCondition extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListenerRuleCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListenerRuleCondition.Builderbuilder()static ListenerRuleCondition.Builderbuilder(ListenerRuleCondition defaults)java.util.Optional<ListenerRuleConditionHostHeader>hostHeader()java.util.Optional<ListenerRuleConditionHttpHeader>httpHeader()java.util.Optional<ListenerRuleConditionHttpRequestMethod>httpRequestMethod()java.util.Optional<ListenerRuleConditionPathPattern>pathPattern()java.util.List<ListenerRuleConditionQueryString>queryStrings()java.util.Optional<ListenerRuleConditionSourceIp>sourceIp()
-
-
-
Method Detail
-
hostHeader
public java.util.Optional<ListenerRuleConditionHostHeader> hostHeader()
- Returns:
- Host header patterns to match. Host Header block fields documented below.
-
httpHeader
public java.util.Optional<ListenerRuleConditionHttpHeader> httpHeader()
- Returns:
- HTTP headers to match. HTTP Header block fields documented below.
-
httpRequestMethod
public java.util.Optional<ListenerRuleConditionHttpRequestMethod> httpRequestMethod()
- Returns:
- Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.
-
pathPattern
public java.util.Optional<ListenerRuleConditionPathPattern> pathPattern()
- Returns:
- Path patterns to match against the request URL. Path Pattern block fields documented below.
-
queryStrings
public java.util.List<ListenerRuleConditionQueryString> queryStrings()
- Returns:
- Query strings to match. Query String block fields documented below.
-
sourceIp
public java.util.Optional<ListenerRuleConditionSourceIp> sourceIp()
- Returns:
- Source IP address to match. For ALB, use `values` to specify CIDR ranges. For NLB, use `ipAddressType` to match the IP address type (`ipv4` or `ipv6`). Source IP block fields documented below. > **NOTE::** Exactly one of `hostHeader`, `httpHeader`, `httpRequestMethod`, `pathPattern`, `queryString` or `sourceIp` must be set per condition.
-
builder
public static ListenerRuleCondition.Builder builder()
-
builder
public static ListenerRuleCondition.Builder builder(ListenerRuleCondition defaults)
-
-