Show / Hide Table of Contents

Interface CfnGatewayRoute.IHttpGatewayRouteHeaderProperty

An object that represents the HTTP header in the gateway route.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGatewayRoute.IHttpGatewayRouteHeaderProperty
Syntax (vb)
Public Interface CfnGatewayRoute.IHttpGatewayRouteHeaderProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.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 httpGatewayRouteHeaderProperty = new HttpGatewayRouteHeaderProperty {
                 Name = "name",

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

Synopsis

Properties

Invert

Specify True to match anything except the match criteria.

Match

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

Name

A name for the HTTP header in the gateway route that will be matched on.

Properties

Invert

Specify True to match anything except the match criteria.

object? Invert { get; }
Property Value

object

Remarks

The default value is False .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html#cfn-appmesh-gatewayroute-httpgatewayrouteheader-invert

Type union: either bool or IResolvable

Match

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

object? Match { get; }
Property Value

object

Remarks

Specify one match method.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html#cfn-appmesh-gatewayroute-httpgatewayrouteheader-match

Type union: either IResolvable or CfnGatewayRoute.IHttpGatewayRouteHeaderMatchProperty

Name

A name for the HTTP header in the gateway route that will be matched on.

string Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html#cfn-appmesh-gatewayroute-httpgatewayrouteheader-name

Back to top Generated by DocFX