Class CfnGatewayRoute.HttpGatewayRouteRewriteProperty
An object representing the gateway route to rewrite.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGatewayRoute.HttpGatewayRouteRewriteProperty : CfnGatewayRoute.IHttpGatewayRouteRewriteProperty
Syntax (vb)
Public Class CfnGatewayRoute.HttpGatewayRouteRewriteProperty Implements CfnGatewayRoute.IHttpGatewayRouteRewriteProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var httpGatewayRouteRewriteProperty = new HttpGatewayRouteRewriteProperty {
Hostname = new GatewayRouteHostnameRewriteProperty {
DefaultTargetHostname = "defaultTargetHostname"
},
Path = new HttpGatewayRoutePathRewriteProperty {
Exact = "exact"
},
Prefix = new HttpGatewayRoutePrefixRewriteProperty {
DefaultPrefix = "defaultPrefix",
Value = "value"
}
};
Synopsis
Constructors
| HttpGatewayRouteRewriteProperty() | An object representing the gateway route to rewrite. |
Properties
| Hostname | The host name to rewrite. |
| Path | The path to rewrite. |
| Prefix | The specified beginning characters to rewrite. |
Constructors
HttpGatewayRouteRewriteProperty()
An object representing the gateway route to rewrite.
public HttpGatewayRouteRewriteProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var httpGatewayRouteRewriteProperty = new HttpGatewayRouteRewriteProperty {
Hostname = new GatewayRouteHostnameRewriteProperty {
DefaultTargetHostname = "defaultTargetHostname"
},
Path = new HttpGatewayRoutePathRewriteProperty {
Exact = "exact"
},
Prefix = new HttpGatewayRoutePrefixRewriteProperty {
DefaultPrefix = "defaultPrefix",
Value = "value"
}
};
Properties
Hostname
The host name to rewrite.
public object? Hostname { get; set; }
Property Value
Remarks
Path
The path to rewrite.
public object? Path { get; set; }
Property Value
Remarks
Prefix
The specified beginning characters to rewrite.
public object? Prefix { get; set; }