interface VirtualRouterBaseProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.VirtualRouterBaseProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#VirtualRouterBaseProps |
Java | software.amazon.awscdk.services.appmesh.VirtualRouterBaseProps |
Python | aws_cdk.aws_appmesh.VirtualRouterBaseProps |
TypeScript (source) | aws-cdk-lib » aws_appmesh » VirtualRouterBaseProps |
Interface with base properties all routers willl inherit.
Example
declare const mesh: appmesh.Mesh;
const router = mesh.addVirtualRouter('router', {
listeners: [appmesh.VirtualRouterListener.http(8080)],
});
Properties
Name | Type | Description |
---|---|---|
listeners? | Virtual [] | Listener specification for the VirtualRouter. |
virtual | string | The name of the VirtualRouter. |
listeners?
Type:
Virtual
[]
(optional, default: A listener on HTTP port 8080)
Listener specification for the VirtualRouter.
virtualRouterName?
Type:
string
(optional, default: A name is automatically determined)
The name of the VirtualRouter.