Interface AccessLogConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AccessLogConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:14.004Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAccessLogConfigstatic final classAn implementation forAccessLogConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessLogConfig.Builderbuilder()VirtualGateway CFN configuration for Access Logging.default CfnVirtualNode.AccessLogPropertyVirtualNode 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.BuilderofAccessLogConfig
-