#[non_exhaustive]pub struct CloudWatchLogOptionsSpecification {
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>
Enable or disable 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>
Set log format. Default format is json
.
Valid values: json
| text
Implementations§
source§impl CloudWatchLogOptionsSpecification
impl CloudWatchLogOptionsSpecification
sourcepub fn log_enabled(&self) -> Option<bool>
pub fn log_enabled(&self) -> Option<bool>
Enable or disable 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>
Set log format. Default format is json
.
Valid values: json
| text
source§impl CloudWatchLogOptionsSpecification
impl CloudWatchLogOptionsSpecification
sourcepub fn builder() -> CloudWatchLogOptionsSpecificationBuilder
pub fn builder() -> CloudWatchLogOptionsSpecificationBuilder
Creates a new builder-style object to manufacture CloudWatchLogOptionsSpecification
.
Trait Implementations§
source§impl Clone for CloudWatchLogOptionsSpecification
impl Clone for CloudWatchLogOptionsSpecification
source§fn clone(&self) -> CloudWatchLogOptionsSpecification
fn clone(&self) -> CloudWatchLogOptionsSpecification
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 PartialEq<CloudWatchLogOptionsSpecification> for CloudWatchLogOptionsSpecification
impl PartialEq<CloudWatchLogOptionsSpecification> for CloudWatchLogOptionsSpecification
source§fn eq(&self, other: &CloudWatchLogOptionsSpecification) -> bool
fn eq(&self, other: &CloudWatchLogOptionsSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchLogOptionsSpecification
Auto Trait Implementations§
impl RefUnwindSafe for CloudWatchLogOptionsSpecification
impl Send for CloudWatchLogOptionsSpecification
impl Sync for CloudWatchLogOptionsSpecification
impl Unpin for CloudWatchLogOptionsSpecification
impl UnwindSafe for CloudWatchLogOptionsSpecification
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