Struct aws_sdk_iot::types::CloudwatchLogsAction
source · #[non_exhaustive]pub struct CloudwatchLogsAction {
pub role_arn: String,
pub log_group_name: String,
pub batch_mode: Option<bool>,
}
Expand description
Describes an action that sends data to CloudWatch Logs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: String
The IAM role that allows access to the CloudWatch log.
log_group_name: String
The CloudWatch log group to which the action sends data.
batch_mode: Option<bool>
Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include true
or false
(default).
Implementations§
source§impl CloudwatchLogsAction
impl CloudwatchLogsAction
sourcepub fn log_group_name(&self) -> &str
pub fn log_group_name(&self) -> &str
The CloudWatch log group to which the action sends data.
sourcepub fn batch_mode(&self) -> Option<bool>
pub fn batch_mode(&self) -> Option<bool>
Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include true
or false
(default).
source§impl CloudwatchLogsAction
impl CloudwatchLogsAction
sourcepub fn builder() -> CloudwatchLogsActionBuilder
pub fn builder() -> CloudwatchLogsActionBuilder
Creates a new builder-style object to manufacture CloudwatchLogsAction
.
Trait Implementations§
source§impl Clone for CloudwatchLogsAction
impl Clone for CloudwatchLogsAction
source§fn clone(&self) -> CloudwatchLogsAction
fn clone(&self) -> CloudwatchLogsAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CloudwatchLogsAction
impl Debug for CloudwatchLogsAction
source§impl PartialEq for CloudwatchLogsAction
impl PartialEq for CloudwatchLogsAction
source§fn eq(&self, other: &CloudwatchLogsAction) -> bool
fn eq(&self, other: &CloudwatchLogsAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudwatchLogsAction
Auto Trait Implementations§
impl Freeze for CloudwatchLogsAction
impl RefUnwindSafe for CloudwatchLogsAction
impl Send for CloudwatchLogsAction
impl Sync for CloudwatchLogsAction
impl Unpin for CloudwatchLogsAction
impl UnwindSafe for CloudwatchLogsAction
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.