Struct aws_sdk_appmesh::types::FileAccessLog
source · #[non_exhaustive]pub struct FileAccessLog {
pub path: String,
pub format: Option<LoggingFormat>,
}Expand description
An object that represents an access log file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: StringThe 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.
format: Option<LoggingFormat>The specified format for the logs. The format is either json_format or text_format.
Implementations§
source§impl FileAccessLog
impl FileAccessLog
sourcepub fn path(&self) -> &str
pub fn path(&self) -> &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() -> FileAccessLogBuilder
pub fn builder() -> FileAccessLogBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FileAccessLog
impl Debug for FileAccessLog
source§impl PartialEq for FileAccessLog
impl PartialEq for FileAccessLog
impl StructuralPartialEq for FileAccessLog
Auto Trait Implementations§
impl Freeze for FileAccessLog
impl RefUnwindSafe for FileAccessLog
impl Send for FileAccessLog
impl Sync for FileAccessLog
impl Unpin for FileAccessLog
impl UnwindSafe for FileAccessLog
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more