Struct aws_sdk_transfer::types::LoggingConfiguration
source · #[non_exhaustive]pub struct LoggingConfiguration {
pub logging_role: Option<String>,
pub log_group_name: Option<String>,
}
Expand description
Consists of the logging role and the log group name.
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.logging_role: Option<String>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
log_group_name: Option<String>
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
Implementations§
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn logging_role(&self) -> Option<&str>
pub fn logging_role(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
sourcepub fn log_group_name(&self) -> Option<&str>
pub fn log_group_name(&self) -> Option<&str>
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn builder() -> LoggingConfigurationBuilder
pub fn builder() -> LoggingConfigurationBuilder
Creates a new builder-style object to manufacture LoggingConfiguration
.
Trait Implementations§
source§impl Clone for LoggingConfiguration
impl Clone for LoggingConfiguration
source§fn clone(&self) -> LoggingConfiguration
fn clone(&self) -> LoggingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoggingConfiguration
impl Debug for LoggingConfiguration
source§impl PartialEq for LoggingConfiguration
impl PartialEq for LoggingConfiguration
source§fn eq(&self, other: &LoggingConfiguration) -> bool
fn eq(&self, other: &LoggingConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.