Struct aws_sdk_codebuild::types::CloudWatchLogsConfig
source · #[non_exhaustive]pub struct CloudWatchLogsConfig {
pub status: LogsConfigStatusType,
pub group_name: Option<String>,
pub stream_name: Option<String>,
}
Expand description
Information about CloudWatch Logs for a build project.
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.status: LogsConfigStatusType
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
-
ENABLED
: CloudWatch Logs are enabled for this build project. -
DISABLED
: CloudWatch Logs are not enabled for this build project.
group_name: Option<String>
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
stream_name: Option<String>
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
Implementations§
source§impl CloudWatchLogsConfig
impl CloudWatchLogsConfig
sourcepub fn status(&self) -> &LogsConfigStatusType
pub fn status(&self) -> &LogsConfigStatusType
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
-
ENABLED
: CloudWatch Logs are enabled for this build project. -
DISABLED
: CloudWatch Logs are not enabled for this build project.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
source§impl CloudWatchLogsConfig
impl CloudWatchLogsConfig
sourcepub fn builder() -> CloudWatchLogsConfigBuilder
pub fn builder() -> CloudWatchLogsConfigBuilder
Creates a new builder-style object to manufacture CloudWatchLogsConfig
.
Trait Implementations§
source§impl Clone for CloudWatchLogsConfig
impl Clone for CloudWatchLogsConfig
source§fn clone(&self) -> CloudWatchLogsConfig
fn clone(&self) -> CloudWatchLogsConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CloudWatchLogsConfig
impl Debug for CloudWatchLogsConfig
source§impl PartialEq for CloudWatchLogsConfig
impl PartialEq for CloudWatchLogsConfig
source§fn eq(&self, other: &CloudWatchLogsConfig) -> bool
fn eq(&self, other: &CloudWatchLogsConfig) -> bool
self
and other
values to be equal, and is used
by ==
.