Skip to content
v2.273.0

GatewayRouteHostnameRewriteProperty Struct ​

An object representing the gateway route host name to rewrite.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const gatewayRouteHostnameRewriteProperty: appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty = {
  defaultTargetHostname: 'defaultTargetHostname',
};

Properties ​

defaultTargetHostnamestringdefault_target_hostnamestrdefaultTargetHostnameStringDefaultTargetHostnamestringDefaultTargetHostname*string#
The default target host name to write to.