Class CfnRoute.HeaderMatchMethodProperty
An object that represents the method and value to match with the header value sent in a request.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HeaderMatchMethodProperty : Object, CfnRoute.IHeaderMatchMethodProperty
Syntax (vb)
Public Class HeaderMatchMethodProperty
Inherits Object
Implements CfnRoute.IHeaderMatchMethodProperty
Remarks
Specify one match method.
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.AppMesh;
var headerMatchMethodProperty = new HeaderMatchMethodProperty {
Exact = "exact",
Prefix = "prefix",
Range = new MatchRangeProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
};
Synopsis
Constructors
HeaderMatchMethodProperty() |
Properties
Exact | The value sent by the client must match the specified value exactly. |
Prefix | The value sent by the client must begin with the specified characters. |
Range | An object that represents the range of values to match on. |
Regex | The value sent by the client must include the specified characters. |
Suffix | The value sent by the client must end with the specified characters. |
Constructors
HeaderMatchMethodProperty()
public HeaderMatchMethodProperty()
Properties
Exact
The value sent by the client must match the specified value exactly.
public string Exact { get; set; }
Property Value
System.String
Remarks
Prefix
The value sent by the client must begin with the specified characters.
public string Prefix { get; set; }
Property Value
System.String
Remarks
Range
An object that represents the range of values to match on.
public object Range { get; set; }
Property Value
System.Object
Remarks
Regex
The value sent by the client must include the specified characters.
public string Regex { get; set; }
Property Value
System.String
Remarks
Suffix
The value sent by the client must end with the specified characters.
public string Suffix { get; set; }
Property Value
System.String