Interface CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualGatewayPropsMixin
@Stability(Stable)
public static interface CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents an access log file.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appmesh.*;
VirtualGatewayFileAccessLogProperty virtualGatewayFileAccessLogProperty = VirtualGatewayFileAccessLogProperty.builder()
.format(LoggingFormatProperty.builder()
.json(List.of(JsonFormatRefProperty.builder()
.key("key")
.value("value")
.build()))
.text("text")
.build())
.path("path")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFormat
The specified format for the virtual gateway access logs.It can be either
json_formatortext_format.Returns union: either
IResolvableorCfnVirtualGatewayPropsMixin.LoggingFormatProperty- See Also:
-
getPath
The file path to write access logs to.You can use
/dev/stdoutto send access logs to standard out and configure your Envoy container to use a log driver, such asawslogs, 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.- See Also:
-
builder
@Stability(Stable) static CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder builder()
-