aws-cdk-lib.aws_appmesh.CfnRoute.GrpcRouteMetadataMatchMethodProperty

interface GrpcRouteMetadataMatchMethodProperty

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

An object that represents the match method.

Specify one of the match values.

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 grpcRouteMetadataMatchMethodProperty: appmesh.CfnRoute.GrpcRouteMetadataMatchMethodProperty = {
  exact: 'exact',
  prefix: 'prefix',
  range: {
    end: 123,
    start: 123,
  },
  regex: 'regex',
  suffix: 'suffix',
};

Properties

NameTypeDescription
exact?stringThe value sent by the client must match the specified value exactly.
prefix?stringThe value sent by the client must begin with the specified characters.
range?IResolvable | MatchRangePropertyAn object that represents the range of values to match on.
regex?stringThe value sent by the client must include the specified characters.
suffix?stringThe value sent by the client must end with the specified characters.

exact?

Type: string (optional)

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


prefix?

Type: string (optional)

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


range?

Type: IResolvable | MatchRangeProperty (optional)

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


regex?

Type: string (optional)

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


suffix?

Type: string (optional)

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