Struct aws_sdk_ssm::types::CloudWatchOutputConfig
source · #[non_exhaustive]pub struct CloudWatchOutputConfig {
pub cloud_watch_log_group_name: Option<String>,
pub cloud_watch_output_enabled: bool,
}
Expand description
Configuration options for sending command output to Amazon CloudWatch Logs.
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.cloud_watch_log_group_name: Option<String>
The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:
aws/ssm/SystemsManagerDocumentName
cloud_watch_output_enabled: bool
Enables Systems Manager to send command output to CloudWatch Logs.
Implementations§
source§impl CloudWatchOutputConfig
impl CloudWatchOutputConfig
sourcepub fn cloud_watch_log_group_name(&self) -> Option<&str>
pub fn cloud_watch_log_group_name(&self) -> Option<&str>
The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:
aws/ssm/SystemsManagerDocumentName
sourcepub fn cloud_watch_output_enabled(&self) -> bool
pub fn cloud_watch_output_enabled(&self) -> bool
Enables Systems Manager to send command output to CloudWatch Logs.
source§impl CloudWatchOutputConfig
impl CloudWatchOutputConfig
sourcepub fn builder() -> CloudWatchOutputConfigBuilder
pub fn builder() -> CloudWatchOutputConfigBuilder
Creates a new builder-style object to manufacture CloudWatchOutputConfig
.
Trait Implementations§
source§impl Clone for CloudWatchOutputConfig
impl Clone for CloudWatchOutputConfig
source§fn clone(&self) -> CloudWatchOutputConfig
fn clone(&self) -> CloudWatchOutputConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CloudWatchOutputConfig
impl Debug for CloudWatchOutputConfig
source§impl PartialEq for CloudWatchOutputConfig
impl PartialEq for CloudWatchOutputConfig
impl StructuralPartialEq for CloudWatchOutputConfig
Auto Trait Implementations§
impl Freeze for CloudWatchOutputConfig
impl RefUnwindSafe for CloudWatchOutputConfig
impl Send for CloudWatchOutputConfig
impl Sync for CloudWatchOutputConfig
impl Unpin for CloudWatchOutputConfig
impl UnwindSafe for CloudWatchOutputConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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