Interface IHeaderMatchConfig
Configuration for HeaderMatch
.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHeaderMatchConfig
Syntax (vb)
Public Interface IHeaderMatchConfig
Remarks
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 headerMatchConfig = new HeaderMatchConfig {
HeaderMatch = new HttpRouteHeaderProperty {
Name = "name",
// the properties below are optional
Invert = false,
Match = new HeaderMatchMethodProperty {
Exact = "exact",
Prefix = "prefix",
Range = new MatchRangeProperty {
End = 123,
Start = 123
},
Regex = "regex",
Suffix = "suffix"
}
}
};
Synopsis
Properties
HeaderMatch | Route CFN configuration for the route header match. |
Properties
HeaderMatch
Route CFN configuration for the route header match.
CfnRoute.IHttpRouteHeaderProperty HeaderMatch { get; }
Property Value
CfnRoute.IHttpRouteHeaderProperty