Interface CfnListenerRule.IHttpRequestMethodConfigProperty
Information about an HTTP method condition.
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpRequestMethodConfigProperty
Syntax (vb)
Public Interface IHttpRequestMethodConfigProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
var httpRequestMethodConfigProperty = new HttpRequestMethodConfigProperty {
Values = new [] { "values" }
};
Synopsis
Properties
Values | The name of the request method. |
Properties
Values
The name of the request method.
virtual string[] Values { get; }
Property Value
System.String[]
Remarks
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.