Show / Hide Table of Contents

Class HeaderMatchConfig

Configuration for HeaderMatch.

Inheritance
object
HeaderMatchConfig
Implements
IHeaderMatchConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HeaderMatchConfig : IHeaderMatchConfig
Syntax (vb)
Public Class HeaderMatchConfig Implements IHeaderMatchConfig
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.AppMesh;

            var headerMatchConfig = new HeaderMatchConfig {
                HeaderMatch = new HttpRouteHeaderProperty {
                    Name = "name",

                    // the properties below are optional
                    Invert = false,
                    Match = new HeaderMatchMethodProperty {
                        Exact = "exact",
                        Prefix = "prefix",
                        Range = new MatchRangeProperty {
                            End = 123,
                            Start = 123
                        },
                        Regex = "regex",
                        Suffix = "suffix"
                    }
                }
            };

Synopsis

Constructors

HeaderMatchConfig()

Configuration for HeaderMatch.

Properties

HeaderMatch

Route CFN configuration for the route header match.

Constructors

HeaderMatchConfig()

Configuration for HeaderMatch.

public HeaderMatchConfig()
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.AppMesh;

            var headerMatchConfig = new HeaderMatchConfig {
                HeaderMatch = new HttpRouteHeaderProperty {
                    Name = "name",

                    // the properties below are optional
                    Invert = false,
                    Match = new HeaderMatchMethodProperty {
                        Exact = "exact",
                        Prefix = "prefix",
                        Range = new MatchRangeProperty {
                            End = 123,
                            Start = 123
                        },
                        Regex = "regex",
                        Suffix = "suffix"
                    }
                }
            };

Properties

HeaderMatch

Route CFN configuration for the route header match.

public CfnRoute.IHttpRouteHeaderProperty HeaderMatch { get; set; }
Property Value

CfnRoute.IHttpRouteHeaderProperty

Remarks

ExampleMetadata: fixture=_generated

Implements

IHeaderMatchConfig
Back to top Generated by DocFX