interface GrpcGatewayRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnGatewayRoutePropsMixin_GrpcGatewayRouteProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » CfnGatewayRoutePropsMixin » GrpcGatewayRouteProperty |
An object that represents a gRPC gateway route.
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/cfn-property-mixins';
const grpcGatewayRouteProperty: appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty = {
action: {
rewrite: {
hostname: {
defaultTargetHostname: 'defaultTargetHostname',
},
},
target: {
port: 123,
virtualService: {
virtualServiceName: 'virtualServiceName',
},
},
},
match: {
hostname: {
exact: 'exact',
suffix: 'suffix',
},
metadata: [{
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
name: 'name',
}],
port: 123,
serviceName: 'serviceName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | IResolvable | Grpc | An object that represents the action to take if a match is determined. |
| match? | IResolvable | Grpc | An object that represents the criteria for determining a request match. |
action?
Type:
IResolvable | Grpc
(optional)
An object that represents the action to take if a match is determined.
match?
Type:
IResolvable | Grpc
(optional)
An object that represents the criteria for determining a request match.

.NET
Go
Java
Python
TypeScript