interface GatewayRouteHostnameRewriteProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty |
Java | software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty |
Python | aws_cdk.aws_appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty |
TypeScript | @aws-cdk/aws-appmesh » CfnGatewayRoute » GatewayRouteHostnameRewriteProperty |
An object representing the gateway route host name to rewrite.
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 gatewayRouteHostnameRewriteProperty: appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty = {
defaultTargetHostname: 'defaultTargetHostname',
};
Properties
Name | Type | Description |
---|---|---|
default | string | The default target host name to write to. |
defaultTargetHostname?
Type:
string
(optional)
The default target host name to write to.