Class CfnRule.MatchProperty
Describes a rule match.
Inheritance
System.Object
CfnRule.MatchProperty
Implements
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MatchProperty : Object, CfnRule.IMatchProperty
Syntax (vb)
Public Class MatchProperty
Inherits Object
Implements CfnRule.IMatchProperty
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.VpcLattice;
var matchProperty = new MatchProperty {
HttpMatch = new HttpMatchProperty {
HeaderMatches = new [] { new HeaderMatchProperty {
Match = new HeaderMatchTypeProperty {
Contains = "contains",
Exact = "exact",
Prefix = "prefix"
},
Name = "name",
// the properties below are optional
CaseSensitive = false
} },
Method = "method",
PathMatch = new PathMatchProperty {
Match = new PathMatchTypeProperty {
Exact = "exact",
Prefix = "prefix"
},
// the properties below are optional
CaseSensitive = false
}
}
};
Synopsis
Constructors
MatchProperty() |
Properties
HttpMatch | The HTTP criteria that a rule must match. |
Constructors
MatchProperty()
public MatchProperty()
Properties
HttpMatch
The HTTP criteria that a rule must match.
public object HttpMatch { get; set; }
Property Value
System.Object