@Stability(value=Stable)
public static interface CfnVirtualGateway.VirtualGatewayFileAccessLogProperty
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.*;
VirtualGatewayFileAccessLogProperty virtualGatewayFileAccessLogProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder
A builder for
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty |
static class |
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Jsii$Proxy
An implementation for
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder |
builder() |
default Object |
getFormat()
`CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Format`.
|
String |
getPath()
The file path to write access logs to.
|
@Stability(value=Stable) @NotNull String getPath()
You can use /dev/stdout to send access logs to standard out and configure your Envoy container to use a log driver, such as awslogs , to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.
@Stability(value=Stable) @Nullable default Object getFormat()
@Stability(value=Stable) static CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder builder()
Copyright © 2022. All rights reserved.