Struct aws_sdk_ec2::types::CloudWatchLogOptions
source · #[non_exhaustive]pub struct CloudWatchLogOptions {
pub log_enabled: Option<bool>,
pub log_group_arn: Option<String>,
pub log_output_format: Option<String>,
}
Expand description
Options for sending VPN tunnel logs to CloudWatch.
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.log_enabled: Option<bool>
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
log_output_format: Option<String>
Configured log format. Default format is json
.
Valid values: json
| text
Implementations§
source§impl CloudWatchLogOptions
impl CloudWatchLogOptions
sourcepub fn log_enabled(&self) -> Option<bool>
pub fn log_enabled(&self) -> Option<bool>
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
sourcepub fn log_group_arn(&self) -> Option<&str>
pub fn log_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
sourcepub fn log_output_format(&self) -> Option<&str>
pub fn log_output_format(&self) -> Option<&str>
Configured log format. Default format is json
.
Valid values: json
| text
source§impl CloudWatchLogOptions
impl CloudWatchLogOptions
sourcepub fn builder() -> CloudWatchLogOptionsBuilder
pub fn builder() -> CloudWatchLogOptionsBuilder
Creates a new builder-style object to manufacture CloudWatchLogOptions
.
Trait Implementations§
source§impl Clone for CloudWatchLogOptions
impl Clone for CloudWatchLogOptions
source§fn clone(&self) -> CloudWatchLogOptions
fn clone(&self) -> CloudWatchLogOptions
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 CloudWatchLogOptions
impl Debug for CloudWatchLogOptions
source§impl PartialEq for CloudWatchLogOptions
impl PartialEq for CloudWatchLogOptions
source§fn eq(&self, other: &CloudWatchLogOptions) -> bool
fn eq(&self, other: &CloudWatchLogOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchLogOptions
Auto Trait Implementations§
impl Freeze for CloudWatchLogOptions
impl RefUnwindSafe for CloudWatchLogOptions
impl Send for CloudWatchLogOptions
impl Sync for CloudWatchLogOptions
impl Unpin for CloudWatchLogOptions
impl UnwindSafe for CloudWatchLogOptions
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.