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<CloudWatchLogOptions> for CloudWatchLogOptions
impl PartialEq<CloudWatchLogOptions> 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 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