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
source§fn eq(&self, other: &CloudWatchOutputConfig) -> bool
fn eq(&self, other: &CloudWatchOutputConfig) -> bool
self
and other
values to be equal, and is used
by ==
.