interface HttpGatewayRouteRewriteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnGatewayRoutePropsMixin_HttpGatewayRouteRewriteProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnGatewayRoutePropsMixin » HttpGatewayRouteRewriteProperty |
An object representing the gateway route to rewrite.
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 httpGatewayRouteRewriteProperty: appmesh_mixins.CfnGatewayRoutePropsMixin.HttpGatewayRouteRewriteProperty = {
hostname: {
defaultTargetHostname: 'defaultTargetHostname',
},
path: {
exact: 'exact',
},
prefix: {
defaultPrefix: 'defaultPrefix',
value: 'value',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| hostname? | IResolvable | Gateway | The host name to rewrite. |
| path? | IResolvable | Http | The path to rewrite. |
| prefix? | IResolvable | Http | The specified beginning characters to rewrite. |
hostname?
Type:
IResolvable | Gateway
(optional)
The host name to rewrite.
path?
Type:
IResolvable | Http
(optional)
The path to rewrite.
prefix?
Type:
IResolvable | Http
(optional)
The specified beginning characters to rewrite.

.NET
Go
Java
Python
TypeScript