Show / Hide Table of Contents

Class CfnRoute.HeaderMatchMethodProperty

An object that represents the method and value to match with the header value sent in a request.

Inheritance
object
CfnRoute.HeaderMatchMethodProperty
Implements
CfnRoute.IHeaderMatchMethodProperty
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 CfnRoute.HeaderMatchMethodProperty : CfnRoute.IHeaderMatchMethodProperty
Syntax (vb)
Public Class CfnRoute.HeaderMatchMethodProperty Implements CfnRoute.IHeaderMatchMethodProperty
Remarks

Specify one match method.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.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.AWS.AppMesh;

             var headerMatchMethodProperty = new HeaderMatchMethodProperty {
                 Exact = "exact",
                 Prefix = "prefix",
                 Range = new MatchRangeProperty {
                     End = 123,
                     Start = 123
                 },
                 Regex = "regex",
                 Suffix = "suffix"
             };

Synopsis

Constructors

HeaderMatchMethodProperty()

An object that represents the method and value to match with the header value sent in a request.

Properties

Exact

The value sent by the client must match the specified value exactly.

Prefix

The value sent by the client must begin with the specified characters.

Range

An object that represents the range of values to match on.

Regex

The value sent by the client must include the specified characters.

Suffix

The value sent by the client must end with the specified characters.

Constructors

HeaderMatchMethodProperty()

An object that represents the method and value to match with the header value sent in a request.

public HeaderMatchMethodProperty()
Remarks

Specify one match method.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.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.AWS.AppMesh;

             var headerMatchMethodProperty = new HeaderMatchMethodProperty {
                 Exact = "exact",
                 Prefix = "prefix",
                 Range = new MatchRangeProperty {
                     End = 123,
                     Start = 123
                 },
                 Regex = "regex",
                 Suffix = "suffix"
             };

Properties

Exact

The value sent by the client must match the specified value exactly.

public string? Exact { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-exact

Prefix

The value sent by the client must begin with the specified characters.

public string? Prefix { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-prefix

Range

An object that represents the range of values to match on.

public object? Range { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-range

Type union: either IResolvable or CfnRoute.IMatchRangeProperty

Regex

The value sent by the client must include the specified characters.

public string? Regex { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-regex

Suffix

The value sent by the client must end with the specified characters.

public string? Suffix { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-suffix

Implements

CfnRoute.IHeaderMatchMethodProperty
Back to top Generated by DocFX