Struct aws_sdk_appmesh::model::FileAccessLog
source · #[non_exhaustive]pub struct FileAccessLog { /* private fields */ }
Expand description
An object that represents an access log file.
Implementations§
source§impl FileAccessLog
impl FileAccessLog
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
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.
The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.
sourcepub fn format(&self) -> Option<&LoggingFormat>
pub fn format(&self) -> Option<&LoggingFormat>
The specified format for the logs. The format is either json_format
or text_format
.
source§impl FileAccessLog
impl FileAccessLog
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FileAccessLog
.
Trait Implementations§
source§impl Clone for FileAccessLog
impl Clone for FileAccessLog
source§fn clone(&self) -> FileAccessLog
fn clone(&self) -> FileAccessLog
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileAccessLog
impl Debug for FileAccessLog
source§impl PartialEq<FileAccessLog> for FileAccessLog
impl PartialEq<FileAccessLog> for FileAccessLog
source§fn eq(&self, other: &FileAccessLog) -> bool
fn eq(&self, other: &FileAccessLog) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.