Interface CfnRulePropsMixin.IHeaderMatchProperty
Describes the constraints for a header match.
Namespace: Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnRulePropsMixin.IHeaderMatchProperty
Syntax (vb)
Public Interface CfnRulePropsMixin.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.Mixins.Preview.AWS.VpcLattice.Mixins;
var headerMatchProperty = new HeaderMatchProperty {
CaseSensitive = false,
Match = new HeaderMatchTypeProperty {
Contains = "contains",
Exact = "exact",
Prefix = "prefix"
},
Name = "name"
};
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.
object? CaseSensitive { get; }
Property Value
Remarks
Default: - false
Type union: either bool or IResolvable
Match
The header match type.
object? Match { get; }
Property Value
Remarks
Name
The name of the header.
string? Name { get; }