#[non_exhaustive]pub struct CloudWatchLogsConfigurationType {
pub log_group_arn: Option<String>,
}
Expand description
The CloudWatch logging destination of a user pool detailed activity logging configuration.
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.log_group_arn: Option<String>
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
Implementations§
source§impl CloudWatchLogsConfigurationType
impl CloudWatchLogsConfigurationType
sourcepub fn log_group_arn(&self) -> Option<&str>
pub fn log_group_arn(&self) -> Option<&str>
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
source§impl CloudWatchLogsConfigurationType
impl CloudWatchLogsConfigurationType
sourcepub fn builder() -> CloudWatchLogsConfigurationTypeBuilder
pub fn builder() -> CloudWatchLogsConfigurationTypeBuilder
Creates a new builder-style object to manufacture CloudWatchLogsConfigurationType
.
Trait Implementations§
source§impl Clone for CloudWatchLogsConfigurationType
impl Clone for CloudWatchLogsConfigurationType
source§fn clone(&self) -> CloudWatchLogsConfigurationType
fn clone(&self) -> CloudWatchLogsConfigurationType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CloudWatchLogsConfigurationType
impl PartialEq for CloudWatchLogsConfigurationType
source§fn eq(&self, other: &CloudWatchLogsConfigurationType) -> bool
fn eq(&self, other: &CloudWatchLogsConfigurationType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchLogsConfigurationType
Auto Trait Implementations§
impl Freeze for CloudWatchLogsConfigurationType
impl RefUnwindSafe for CloudWatchLogsConfigurationType
impl Send for CloudWatchLogsConfigurationType
impl Sync for CloudWatchLogsConfigurationType
impl Unpin for CloudWatchLogsConfigurationType
impl UnwindSafe for CloudWatchLogsConfigurationType
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> 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