aws-cdk-lib.aws_appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty

interface GatewayRouteMetadataMatchProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnGatewayRoute_GatewayRouteMetadataMatchProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty
Pythonaws_cdk.aws_appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnGatewayRoute » GatewayRouteMetadataMatchProperty

An object representing the method header to be matched.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const gatewayRouteMetadataMatchProperty: appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty = {
  exact: 'exact',
  prefix: 'prefix',
  range: {
    end: 123,
    start: 123,
  },
  regex: 'regex',
  suffix: 'suffix',
};

Properties

NameTypeDescription
exact?stringThe exact method header to be matched on.
prefix?stringThe specified beginning characters of the method header to be matched on.
range?IResolvable | GatewayRouteRangeMatchPropertyAn object that represents the range of values to match on.
regex?stringThe regex used to match the method header.
suffix?stringThe specified ending characters of the method header to match on.

exact?

Type: string (optional)

The exact method header to be matched on.


prefix?

Type: string (optional)

The specified beginning characters of the method header to be matched on.


range?

Type: IResolvable | GatewayRouteRangeMatchProperty (optional)

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


regex?

Type: string (optional)

The regex used to match the method header.


suffix?

Type: string (optional)

The specified ending characters of the method header to match on.