aws-cdk-lib.aws_appmesh.HeaderMatchConfig

interface HeaderMatchConfig

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.HeaderMatchConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#HeaderMatchConfig
Javasoftware.amazon.awscdk.services.appmesh.HeaderMatchConfig
Pythonaws_cdk.aws_appmesh.HeaderMatchConfig
TypeScript (source)aws-cdk-lib » aws_appmesh » HeaderMatchConfig

Obtainable from HeaderMatch.bind()

Configuration for HeaderMatch.

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 headerMatchConfig: appmesh.HeaderMatchConfig = {
  headerMatch: {
    name: 'name',

    // the properties below are optional
    invert: false,
    match: {
      exact: 'exact',
      prefix: 'prefix',
      range: {
        end: 123,
        start: 123,
      },
      regex: 'regex',
      suffix: 'suffix',
    },
  },
};

Properties

NameTypeDescription
headerMatchHttpRouteHeaderPropertyRoute CFN configuration for the route header match.

headerMatch

Type: HttpRouteHeaderProperty

Route CFN configuration for the route header match.