interface GatewayRouteMetadataMatchProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty |
Java | software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty |
Python | aws_cdk.aws_appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty |
TypeScript | @aws-cdk/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 * as appmesh from '@aws-cdk/aws-appmesh';
const gatewayRouteMetadataMatchProperty: appmesh.CfnGatewayRoute.GatewayRouteMetadataMatchProperty = {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
};
Properties
Name | Type | Description |
---|---|---|
exact? | string | The exact method header to be matched on. |
prefix? | string | The specified beginning characters of the method header to be matched on. |
range? | IResolvable | Gateway | An object that represents the range of values to match on. |
regex? | string | The regex used to match the method header. |
suffix? | string | The 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
|
Gateway
(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.