HttpGatewayRoutePrefixRewriteProperty
Struct External
An object representing the beginning characters of the route to rewrite.
| Source | |
|---|---|
| Type last changed |
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 httpGatewayRoutePrefixRewriteProperty: appmesh.CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty = {
defaultPrefix: 'defaultPrefix',
value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh
http_gateway_route_prefix_rewrite_property = appmesh.CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty(
default_prefix="defaultPrefix",
value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
HttpGatewayRoutePrefixRewriteProperty httpGatewayRoutePrefixRewriteProperty = HttpGatewayRoutePrefixRewriteProperty.builder()
.defaultPrefix("defaultPrefix")
.value("value")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 httpGatewayRoutePrefixRewriteProperty = new HttpGatewayRoutePrefixRewriteProperty {
DefaultPrefix = "defaultPrefix",
Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
httpGatewayRoutePrefixRewriteProperty := &HttpGatewayRoutePrefixRewriteProperty{
DefaultPrefix: jsii.String("defaultPrefix"),
Value: jsii.String("value"),
}
Properties
defaultPrefixoptionalstringdefault_prefixoptionalstrdefaultPrefixoptionalStringDefaultPrefixoptionalstringDefaultPrefixoptional*string #The default prefix used to replace the incoming route prefix when rewritten.
The value used to replace the incoming route prefix when rewritten.