@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.450Z") @Stability(value=Stable) public interface AccessLogConfig extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AccessLogConfig.Builder
A builder for
AccessLogConfig |
static class |
AccessLogConfig.Jsii$Proxy
An implementation for
AccessLogConfig |
| Modifier and Type | Method and Description |
|---|---|
static AccessLogConfig.Builder |
builder() |
default CfnVirtualGateway.VirtualGatewayAccessLogProperty |
getVirtualGatewayAccessLog()
VirtualGateway CFN configuration for Access Logging.
|
default CfnVirtualNode.AccessLogProperty |
getVirtualNodeAccessLog()
VirtualNode CFN configuration for Access Logging.
|
@Stability(value=Stable) @Nullable default CfnVirtualGateway.VirtualGatewayAccessLogProperty getVirtualGatewayAccessLog()
Default: - no access logging
@Stability(value=Stable) @Nullable default CfnVirtualNode.AccessLogProperty getVirtualNodeAccessLog()
Default: - no access logging
@Stability(value=Stable) static AccessLogConfig.Builder builder()
AccessLogConfig.Builder of AccessLogConfigCopyright © 2022. All rights reserved.