interface IMesh
Language | Type name |
---|---|
![]() | aws_cdk.aws_appmesh.IMesh |
![]() | software.amazon.awscdk.services.appmesh.IMesh |
![]() | Amazon.CDK.AWS.AppMesh.IMesh |
![]() | @aws-cdk/aws-appmesh.IMesh |
Implemented by
Mesh
Obtainable from
Mesh
.fromMeshArn()
, Mesh
.fromMeshName()
Interface wich all Mesh based classes MUST implement.
Properties
Name | Type | Description |
---|---|---|
mesh | string | The Amazon Resource Name (ARN) of the AppMesh mesh. |
mesh | string | The name of the AppMesh mesh. |
node | Construct | The construct node in the tree. |
stack | Stack | The stack in which this resource is defined. |
meshArn
Type:
string
The Amazon Resource Name (ARN) of the AppMesh mesh.
meshName
Type:
string
The name of the AppMesh mesh.
node
Type:
Construct
The construct node in the tree.
stack
Type:
Stack
The stack in which this resource is defined.
Methods
Name | Description |
---|---|
add | Adds a VirtualNode to the Mesh. |
add | Adds a VirtualRouter to the Mesh with the given id and props. |
add | Adds a VirtualService with the given id. |
VirtualNode(id, props?)
addpublic addVirtualNode(id: string, props?: VirtualNodeBaseProps): VirtualNode
Parameters
- id
string
- props
Virtual
Node Base Props
Returns
Adds a VirtualNode to the Mesh.
VirtualRouter(id, props?)
addpublic addVirtualRouter(id: string, props?: VirtualRouterBaseProps): VirtualRouter
Parameters
- id
string
- props
Virtual
Router Base Props
Returns
Adds a VirtualRouter to the Mesh with the given id and props.
VirtualService(id, props?)
addpublic addVirtualService(id: string, props?: VirtualServiceBaseProps): VirtualService
Parameters
- id
string
- props
Virtual
Service Base Props
Returns
Adds a VirtualService with the given id.