interface HttpGatewayRoutePrefixRewriteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnGatewayRoutePropsMixin.HttpGatewayRoutePrefixRewriteProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnGatewayRoutePropsMixin_HttpGatewayRoutePrefixRewriteProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRoutePrefixRewriteProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnGatewayRoutePropsMixin.HttpGatewayRoutePrefixRewriteProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnGatewayRoutePropsMixin » HttpGatewayRoutePrefixRewriteProperty |
An object representing the beginning characters of the 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 httpGatewayRoutePrefixRewriteProperty: appmesh_mixins.CfnGatewayRoutePropsMixin.HttpGatewayRoutePrefixRewriteProperty = {
defaultPrefix: 'defaultPrefix',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| default | string | The default prefix used to replace the incoming route prefix when rewritten. |
| value? | string | The value used to replace the incoming route prefix when rewritten. |
defaultPrefix?
Type:
string
(optional)
The default prefix used to replace the incoming route prefix when rewritten.
value?
Type:
string
(optional)
The value used to replace the incoming route prefix when rewritten.

.NET
Go
Java
Python
TypeScript