Interface IMesh
Interface which all Mesh based classes MUST implement.
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public interface IMesh : IResource, IConstruct, IDependable
Syntax (vb)
Public Interface IMesh
Inherits IResource, IConstruct, IConstruct, IDependable
Synopsis
Properties
MeshArn | The Amazon Resource Name (ARN) of the AppMesh mesh. |
MeshName | The name of the AppMesh mesh. |
Methods
AddVirtualGateway(String, IVirtualGatewayBaseProps) | Creates a new VirtualGateway in this Mesh. |
AddVirtualNode(String, IVirtualNodeBaseProps) | Creates a new VirtualNode in this Mesh. |
AddVirtualRouter(String, IVirtualRouterBaseProps) | Creates a new VirtualRouter in this Mesh. |
Properties
MeshArn
The Amazon Resource Name (ARN) of the AppMesh mesh.
string MeshArn { get; }
Property Value
System.String
Remarks
Attribute: true
MeshName
The name of the AppMesh mesh.
string MeshName { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
AddVirtualGateway(String, IVirtualGatewayBaseProps)
Creates a new VirtualGateway in this Mesh.
VirtualGateway AddVirtualGateway(string id, IVirtualGatewayBaseProps props = null)
Parameters
- id System.String
- props IVirtualGatewayBaseProps
Returns
Remarks
Note that the Gateway is created in the same Stack that this Mesh belongs to, which might be different than the current stack.
AddVirtualNode(String, IVirtualNodeBaseProps)
Creates a new VirtualNode in this Mesh.
VirtualNode AddVirtualNode(string id, IVirtualNodeBaseProps props = null)
Parameters
- id System.String
- props IVirtualNodeBaseProps
Returns
Remarks
Note that the Node is created in the same Stack that this Mesh belongs to, which might be different than the current stack.
AddVirtualRouter(String, IVirtualRouterBaseProps)
Creates a new VirtualRouter in this Mesh.
VirtualRouter AddVirtualRouter(string id, IVirtualRouterBaseProps props = null)
Parameters
- id System.String
- props IVirtualRouterBaseProps
Returns
Remarks
Note that the Router is created in the same Stack that this Mesh belongs to, which might be different than the current stack.