@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:25.710Z") @Stability(value=Experimental) public abstract class HttpHeaderMatch extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
HttpHeaderMatch() |
protected |
HttpHeaderMatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HttpHeaderMatch(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
abstract HttpHeaderMatchConfig |
bind(Construct scope)
(experimental) Returns the header match configuration.
|
static HttpHeaderMatch |
valueDoesNotEndWith(String headerName,
String suffix)
(experimental) The value of the header with the given name in the request must not end with the specified characters.
|
static HttpHeaderMatch |
valueDoesNotMatchRegex(String headerName,
String regex)
(experimental) The value of the header with the given name in the request must not include the specified characters.
|
static HttpHeaderMatch |
valueDoesNotStartWith(String headerName,
String prefix)
(experimental) The value of the header with the given name in the request must not start with the specified characters.
|
static HttpHeaderMatch |
valueEndsWith(String headerName,
String suffix)
(experimental) The value of the header with the given name in the request must end with the specified characters.
|
static HttpHeaderMatch |
valueIs(String headerName,
String headerValue)
(experimental) The value of the header with the given name in the request must match the specified value exactly.
|
static HttpHeaderMatch |
valueIsNot(String headerName,
String headerValue)
(experimental) The value of the header with the given name in the request must not match the specified value exactly.
|
static HttpHeaderMatch |
valueMatchesRegex(String headerName,
String regex)
(experimental) The value of the header with the given name in the request must include the specified characters.
|
static HttpHeaderMatch |
valuesIsInRange(String headerName,
Number start,
Number end)
(experimental) The value of the header with the given name in the request must be in a range of values.
|
static HttpHeaderMatch |
valuesIsNotInRange(String headerName,
Number start,
Number end)
(experimental) The value of the header with the given name in the request must not be in a range of values.
|
static HttpHeaderMatch |
valueStartsWith(String headerName,
String prefix)
(experimental) The value of the header with the given name in the request must start with the specified characters.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected HttpHeaderMatch(software.amazon.jsii.JsiiObjectRef objRef)
protected HttpHeaderMatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected HttpHeaderMatch()
@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueDoesNotEndWith(@NotNull String headerName, @NotNull String suffix)
headerName - the name of the HTTP header to match against. This parameter is required.suffix - The suffix to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueDoesNotMatchRegex(@NotNull String headerName, @NotNull String regex)
headerName - the name of the HTTP header to match against. This parameter is required.regex - The regex to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueDoesNotStartWith(@NotNull String headerName, @NotNull String prefix)
headerName - the name of the HTTP header to match against. This parameter is required.prefix - The prefix to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueEndsWith(@NotNull String headerName, @NotNull String suffix)
headerName - the name of the HTTP header to match against. This parameter is required.suffix - The suffix to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueIs(@NotNull String headerName, @NotNull String headerValue)
headerName - the name of the HTTP header to match against. This parameter is required.headerValue - The exact value to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueIsNot(@NotNull String headerName, @NotNull String headerValue)
headerName - the name of the HTTP header to match against. This parameter is required.headerValue - The exact value to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueMatchesRegex(@NotNull String headerName, @NotNull String regex)
headerName - the name of the HTTP header to match against. This parameter is required.regex - The regex to test against. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valuesIsInRange(@NotNull String headerName, @NotNull Number start, @NotNull Number end)
headerName - the name of the HTTP header to match against. This parameter is required.start - Match on values starting at and including this value. This parameter is required.end - Match on values up to but not including this value. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valuesIsNotInRange(@NotNull String headerName, @NotNull Number start, @NotNull Number end)
headerName - the name of the HTTP header to match against. This parameter is required.start - Match on values starting at and including this value. This parameter is required.end - Match on values up to but not including this value. This parameter is required.@Stability(value=Experimental) @NotNull public static HttpHeaderMatch valueStartsWith(@NotNull String headerName, @NotNull String prefix)
headerName - the name of the HTTP header to match against. This parameter is required.prefix - The prefix to test against. This parameter is required.@Stability(value=Experimental) @NotNull public abstract HttpHeaderMatchConfig bind(@NotNull Construct scope)
scope - This parameter is required.Copyright © 2021. All rights reserved.