Class CfnRoute.HeaderMatchMethodProperty
An object that represents the method and value to match with the header value sent in a request.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRoute.HeaderMatchMethodProperty : CfnRoute.IHeaderMatchMethodProperty
Syntax (vb)
Public Class CfnRoute.HeaderMatchMethodProperty 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() | An object that represents the method and value to match with the header value sent in a request. |
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()
An object that represents the method and value to match with the header value sent in a request.
public HeaderMatchMethodProperty()
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"
};
Properties
Exact
The value sent by the client must match the specified value exactly.
public string? Exact { get; set; }
Property Value
Remarks
Prefix
The value sent by the client must begin with the specified characters.
public string? Prefix { get; set; }
Property Value
Remarks
Range
An object that represents the range of values to match on.
public object? Range { get; set; }
Property Value
Remarks
Regex
The value sent by the client must include the specified characters.
public string? Regex { get; set; }
Property Value
Remarks
Suffix
The value sent by the client must end with the specified characters.
public string? Suffix { get; set; }