Show / Hide Table of Contents

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html

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

object

Remarks

Default: - false

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html#cfn-vpclattice-rule-headermatch-casesensitive

Type union: either bool or IResolvable

Match

The header match type.

object? Match { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html#cfn-vpclattice-rule-headermatch-match

Type union: either IResolvable or CfnRulePropsMixin.IHeaderMatchTypeProperty

Name

The name of the header.

string? Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html#cfn-vpclattice-rule-headermatch-name

Back to top Generated by DocFX