interface GatewayRouteHostnameRewriteProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnGatewayRoute_GatewayRouteHostnameRewriteProperty |
Java | software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty |
Python | aws_cdk.aws_appmesh.CfnGatewayRoute.GatewayRouteHostnameRewriteProperty |
TypeScript | aws-cdk-lib » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
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.