interface GatewayRouteProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.GatewayRouteProps |
Java | software.amazon.awscdk.services.appmesh.GatewayRouteProps |
Python | aws_cdk.aws_appmesh.GatewayRouteProps |
TypeScript (source) | @aws-cdk/aws-appmesh » GatewayRouteProps |
Properties to define a new GatewayRoute.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appmesh from '@aws-cdk/aws-appmesh';
declare const gatewayRouteSpec: appmesh.GatewayRouteSpec;
declare const virtualGateway: appmesh.VirtualGateway;
const gatewayRouteProps: appmesh.GatewayRouteProps = {
routeSpec: gatewayRouteSpec,
virtualGateway: virtualGateway,
// the properties below are optional
gatewayRouteName: 'gatewayRouteName',
};
Properties
Name | Type | Description |
---|---|---|
route | Gateway | What protocol the route uses. |
virtual | IVirtual | The VirtualGateway this GatewayRoute is associated with. |
gateway | string | The name of the GatewayRoute. |
routeSpec
Type:
Gateway
What protocol the route uses.
virtualGateway
Type:
IVirtual
The VirtualGateway this GatewayRoute is associated with.
gatewayRouteName?
Type:
string
(optional, default: an automatically generated name)
The name of the GatewayRoute.