Skip to content

VirtualGatewayFileAccessLog

Source code in docs_src/capo_app_mesh/types/virtual_gateway_file_access_log.py
class VirtualGatewayFileAccessLog(TypedDict, closed=True):
    path: "capo_app_mesh.types.file_path.FilePath"
    """<p>The file path to write access logs to. You can use <code>/dev/stdout</code> to send access logs to standard out and configure your Envoy container to use a log driver, such as <code>awslogs</code>, 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.</p>"""
    format: NotRequired["capo_app_mesh.types.logging_format.LoggingFormat"]
    """<p>The specified format for the virtual gateway access logs. It can be either <code>json_format</code> or <code>text_format</code>.</p>"""

format instance-attribute

format: NotRequired[LoggingFormat]

The specified format for the virtual gateway access logs. It can be either json_format or text_format.

path instance-attribute

path: FilePath

The file path to write access logs to. 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.