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
impl StructuralPartialEq for CloudWatchLogsConfig
Auto Trait Implementations§
impl Freeze for CloudWatchLogsConfig
impl RefUnwindSafe for CloudWatchLogsConfig
impl Send for CloudWatchLogsConfig
impl Sync for CloudWatchLogsConfig
impl Unpin for CloudWatchLogsConfig
impl UnwindSafe for CloudWatchLogsConfig
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