Show / Hide Table of Contents

Interface IVirtualGatewayBaseProps

Basic configuration properties for a VirtualGateway.

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

ExampleMetadata: infused

Examples
Mesh mesh;


            var gateway = mesh.AddVirtualGateway("gateway", new VirtualGatewayBaseProps {
                AccessLog = AccessLog.FromFilePath("/dev/stdout"),
                VirtualGatewayName = "virtualGateway",
                Listeners = new [] { VirtualGatewayListener.Http(new HttpGatewayListenerOptions {
                    Port = 443,
                    HealthCheck = HealthCheck.Http(new HttpHealthCheckOptions {
                        Interval = Duration.Seconds(10)
                    })
                }) }
            });

Synopsis

Properties

AccessLog

Access Logging Configuration for the VirtualGateway.

BackendDefaults

Default Configuration Virtual Node uses to communicate with Virtual Service.

Listeners

Listeners for the VirtualGateway.

VirtualGatewayName

Name of the VirtualGateway.

Properties

AccessLog

Access Logging Configuration for the VirtualGateway.

AccessLog? AccessLog { get; }
Property Value

AccessLog

Remarks

Default: - no access logging

BackendDefaults

Default Configuration Virtual Node uses to communicate with Virtual Service.

IBackendDefaults? BackendDefaults { get; }
Property Value

IBackendDefaults

Remarks

Default: - No Config

Listeners

Listeners for the VirtualGateway.

VirtualGatewayListener[]? Listeners { get; }
Property Value

VirtualGatewayListener[]

Remarks

Only one is supported.

Default: - Single HTTP listener on port 8080

VirtualGatewayName

Name of the VirtualGateway.

string? VirtualGatewayName { get; }
Property Value

string

Remarks

Default: - A name is automatically determined

Back to top Generated by DocFX