Interface VirtualGatewayBaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
VirtualGatewayProps
- All Known Implementing Classes:
VirtualGatewayBaseProps.Jsii$Proxy
,VirtualGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.177Z")
@Stability(Stable)
public interface VirtualGatewayBaseProps
extends software.amazon.jsii.JsiiSerializable
Basic configuration properties for a VirtualGateway.
Example:
Mesh mesh; VirtualGateway gateway = mesh.addVirtualGateway("gateway", VirtualGatewayBaseProps.builder() .accessLog(AccessLog.fromFilePath("/dev/stdout")) .virtualGatewayName("virtualGateway") .listeners(List.of(VirtualGatewayListener.http(HttpGatewayListenerOptions.builder() .port(443) .healthCheck(HealthCheck.http(HttpHealthCheckOptions.builder() .interval(Duration.seconds(10)) .build())) .build()))) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVirtualGatewayBaseProps
static final class
An implementation forVirtualGatewayBaseProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default AccessLog
Access Logging Configuration for the VirtualGateway.default BackendDefaults
Default Configuration Virtual Node uses to communicate with Virtual Service.default List<VirtualGatewayListener>
Listeners for the VirtualGateway.default String
Name of the VirtualGateway.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessLog
Access Logging Configuration for the VirtualGateway.Default: - no access logging
-
getBackendDefaults
Default Configuration Virtual Node uses to communicate with Virtual Service.Default: - No Config
-
getListeners
Listeners for the VirtualGateway.Only one is supported.
Default: - Single HTTP listener on port 8080
-
getVirtualGatewayName
Name of the VirtualGateway.Default: - A name is automatically determined
-
builder
- Returns:
- a
VirtualGatewayBaseProps.Builder
ofVirtualGatewayBaseProps
-