Interface CfnRule.IHeaderMatchProperty
Describes the constraints for a header match.
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.AWS.VpcLattice.dll
Syntax (csharp)
public interface IHeaderMatchProperty
Syntax (vb)
Public Interface IHeaderMatchProperty
Remarks
Matches incoming requests with rule based on request header value before applying rule action.
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 headerMatchProperty = new HeaderMatchProperty {
Match = new HeaderMatchTypeProperty {
Contains = "contains",
Exact = "exact",
Prefix = "prefix"
},
Name = "name",
// the properties below are optional
CaseSensitive = false
};
Synopsis
Properties
CaseSensitive | Indicates whether the match is case sensitive. |
Match | The header match type. |
Name | The name of the header. |
Properties
CaseSensitive
Indicates whether the match is case sensitive.
virtual object CaseSensitive { get; }
Property Value
System.Object
Remarks
Match
The header match type.
object Match { get; }
Property Value
System.Object
Remarks
Name
The name of the header.
string Name { get; }
Property Value
System.String