Show / Hide Table of Contents

Interface IMeshProps

The set of properties used when creating a Mesh.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMeshProps
Syntax (vb)
Public Interface IMeshProps
Remarks

ExampleMetadata: infused

Examples
Stack infraStack;
            Stack appStack;


            var mesh = new Mesh(infraStack, "AppMesh", new MeshProps {
                MeshName = "myAwsMesh",
                EgressFilter = MeshFilterType.ALLOW_ALL
            });

            // the VirtualRouter will belong to 'appStack',
            // even though the Mesh belongs to 'infraStack'
            var router = new VirtualRouter(appStack, "router", new VirtualRouterProps {
                Mesh = mesh,  // notice that mesh is a required property when creating a router with the 'new' statement
                Listeners = new [] { VirtualRouterListener.Http(8081) }
            });

Synopsis

Properties

EgressFilter

Egress filter to be applied to the Mesh.

MeshName

The name of the Mesh being defined.

ServiceDiscovery

Defines how upstream clients will discover VirtualNodes in the Mesh.

Properties

EgressFilter

Egress filter to be applied to the Mesh.

MeshFilterType? EgressFilter { get; }
Property Value

MeshFilterType?

Remarks

Default: DROP_ALL

MeshName

The name of the Mesh being defined.

string? MeshName { get; }
Property Value

string

Remarks

Default: - A name is automatically generated

ServiceDiscovery

Defines how upstream clients will discover VirtualNodes in the Mesh.

IMeshServiceDiscovery? ServiceDiscovery { get; }
Property Value

IMeshServiceDiscovery

Remarks

Default: - No Service Discovery

Back to top Generated by DocFX