Interface CfnListenerRule.HttpRequestMethodConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnListenerRule.HttpRequestMethodConfigProperty.Jsii$Proxy
- Enclosing class:
CfnListenerRule
@Stability(Stable)
public static interface CfnListenerRule.HttpRequestMethodConfigProperty
extends software.amazon.jsii.JsiiSerializable
Information about an HTTP method condition.
HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the HTTP Method Registry . You can also define custom HTTP methods.
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.*; HttpRequestMethodConfigProperty httpRequestMethodConfigProperty = HttpRequestMethodConfigProperty.builder() .values(List.of("values")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnListenerRule.HttpRequestMethodConfigProperty
static final class
An implementation forCfnListenerRule.HttpRequestMethodConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValues
The name of the request method.The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
-
builder
-