Interface CfnListenerRulePropsMixin.HttpRequestMethodConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnListenerRulePropsMixin.HttpRequestMethodConfigProperty.Jsii$Proxy
- Enclosing class:
CfnListenerRulePropsMixin
@Stability(Stable)
public static interface CfnListenerRulePropsMixin.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.cfnpropertymixins.services.elasticloadbalancingv2.*;
HttpRequestMethodConfigProperty httpRequestMethodConfigProperty = HttpRequestMethodConfigProperty.builder()
.values(List.of("values"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnListenerRulePropsMixin.HttpRequestMethodConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValues
The name of the request method.The maximum length 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.
- See Also:
-
builder
@Stability(Stable) static CfnListenerRulePropsMixin.HttpRequestMethodConfigProperty.Builder builder()
-