Interface AccessLogConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AccessLogConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:53.070Z")
@Stability(Stable)
public interface AccessLogConfig
extends software.amazon.jsii.JsiiSerializable
All Properties for Envoy Access logs for mesh endpoints.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; AccessLogConfig accessLogConfig = AccessLogConfig.builder() .virtualGatewayAccessLog(VirtualGatewayAccessLogProperty.builder() .file(VirtualGatewayFileAccessLogProperty.builder() .path("path") // the properties below are optional .format(LoggingFormatProperty.builder() .json(List.of(JsonFormatRefProperty.builder() .key("key") .value("value") .build())) .text("text") .build()) .build()) .build()) .virtualNodeAccessLog(AccessLogProperty.builder() .file(FileAccessLogProperty.builder() .path("path") // the properties below are optional .format(LoggingFormatProperty.builder() .json(List.of(JsonFormatRefProperty.builder() .key("key") .value("value") .build())) .text("text") .build()) .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAccessLogConfig
static final class
An implementation forAccessLogConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessLogConfig.Builder
builder()
VirtualGateway CFN configuration for Access Logging.default CfnVirtualNode.AccessLogProperty
VirtualNode CFN configuration for Access Logging.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVirtualGatewayAccessLog
@Stability(Stable) @Nullable default CfnVirtualGateway.VirtualGatewayAccessLogProperty getVirtualGatewayAccessLog()VirtualGateway CFN configuration for Access Logging.Default: - no access logging
-
getVirtualNodeAccessLog
VirtualNode CFN configuration for Access Logging.Default: - no access logging
-
builder
- Returns:
- a
AccessLogConfig.Builder
ofAccessLogConfig
-