interface GrpcGatewayRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnGatewayRoutePropsMixin_GrpcGatewayRouteProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const grpcGatewayRouteProperty: appmesh_mixins.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