Class CfnRule.HeaderMatchProperty
Describes the constraints for a header match.
Inheritance
System.Object
CfnRule.HeaderMatchProperty
Implements
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HeaderMatchProperty : Object, CfnRule.IHeaderMatchProperty
Syntax (vb)
Public Class HeaderMatchProperty
Inherits Object
Implements CfnRule.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
Constructors
HeaderMatchProperty() |
Properties
CaseSensitive | Indicates whether the match is case sensitive. |
Match | The header match type. |
Name | The name of the header. |
Constructors
HeaderMatchProperty()
public HeaderMatchProperty()
Properties
CaseSensitive
Indicates whether the match is case sensitive.
public object CaseSensitive { get; set; }
Property Value
System.Object
Remarks
Match
The header match type.
public object Match { get; set; }
Property Value
System.Object
Remarks
Name
The name of the header.
public string Name { get; set; }
Property Value
System.String