interface HttpGatewayRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnGatewayRoutePropsMixin_HttpGatewayRouteProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnGatewayRoutePropsMixin » HttpGatewayRouteProperty |
An object that represents an HTTP gateway route.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const httpGatewayRouteProperty: appmesh_mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty = {
action: {
rewrite: {
hostname: {
defaultTargetHostname: 'defaultTargetHostname',
},
path: {
exact: 'exact',
},
prefix: {
defaultPrefix: 'defaultPrefix',
value: 'value',
},
},
target: {
port: 123,
virtualService: {
virtualServiceName: 'virtualServiceName',
},
},
},
match: {
headers: [{
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
name: 'name',
}],
hostname: {
exact: 'exact',
suffix: 'suffix',
},
method: 'method',
path: {
exact: 'exact',
regex: 'regex',
},
port: 123,
prefix: 'prefix',
queryParameters: [{
match: {
exact: 'exact',
},
name: 'name',
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | IResolvable | Http | An object that represents the action to take if a match is determined. |
| match? | IResolvable | Http | An object that represents the criteria for determining a request match. |
action?
Type:
IResolvable | Http
(optional)
An object that represents the action to take if a match is determined.
match?
Type:
IResolvable | Http
(optional)
An object that represents the criteria for determining a request match.

.NET
Go
Java
Python
TypeScript