interface GatewayRouteProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.GatewayRouteProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#GatewayRouteProps |
Java | software.amazon.awscdk.services.appmesh.GatewayRouteProps |
Python | aws_cdk.aws_appmesh.GatewayRouteProps |
TypeScript (source) | aws-cdk-lib » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
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.