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