Struct aws_sdk_ec2::types::VerifiedAccessLogs
source · #[non_exhaustive]pub struct VerifiedAccessLogs {
pub s3: Option<VerifiedAccessLogS3Destination>,
pub cloud_watch_logs: Option<VerifiedAccessLogCloudWatchLogsDestination>,
pub kinesis_data_firehose: Option<VerifiedAccessLogKinesisDataFirehoseDestination>,
pub log_version: Option<String>,
pub include_trust_context: Option<bool>,
}
Expand description
Describes the options for Verified Access 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.s3: Option<VerifiedAccessLogS3Destination>
Amazon S3 logging options.
cloud_watch_logs: Option<VerifiedAccessLogCloudWatchLogsDestination>
CloudWatch Logs logging destination.
kinesis_data_firehose: Option<VerifiedAccessLogKinesisDataFirehoseDestination>
Kinesis logging destination.
log_version: Option<String>
The log version.
include_trust_context: Option<bool>
Indicates whether trust data is included in the logs.
Implementations§
source§impl VerifiedAccessLogs
impl VerifiedAccessLogs
sourcepub fn s3(&self) -> Option<&VerifiedAccessLogS3Destination>
pub fn s3(&self) -> Option<&VerifiedAccessLogS3Destination>
Amazon S3 logging options.
sourcepub fn cloud_watch_logs(
&self
) -> Option<&VerifiedAccessLogCloudWatchLogsDestination>
pub fn cloud_watch_logs( &self ) -> Option<&VerifiedAccessLogCloudWatchLogsDestination>
CloudWatch Logs logging destination.
sourcepub fn kinesis_data_firehose(
&self
) -> Option<&VerifiedAccessLogKinesisDataFirehoseDestination>
pub fn kinesis_data_firehose( &self ) -> Option<&VerifiedAccessLogKinesisDataFirehoseDestination>
Kinesis logging destination.
sourcepub fn log_version(&self) -> Option<&str>
pub fn log_version(&self) -> Option<&str>
The log version.
sourcepub fn include_trust_context(&self) -> Option<bool>
pub fn include_trust_context(&self) -> Option<bool>
Indicates whether trust data is included in the logs.
source§impl VerifiedAccessLogs
impl VerifiedAccessLogs
sourcepub fn builder() -> VerifiedAccessLogsBuilder
pub fn builder() -> VerifiedAccessLogsBuilder
Creates a new builder-style object to manufacture VerifiedAccessLogs
.
Trait Implementations§
source§impl Clone for VerifiedAccessLogs
impl Clone for VerifiedAccessLogs
source§fn clone(&self) -> VerifiedAccessLogs
fn clone(&self) -> VerifiedAccessLogs
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 VerifiedAccessLogs
impl Debug for VerifiedAccessLogs
source§impl PartialEq for VerifiedAccessLogs
impl PartialEq for VerifiedAccessLogs
source§fn eq(&self, other: &VerifiedAccessLogs) -> bool
fn eq(&self, other: &VerifiedAccessLogs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VerifiedAccessLogs
Auto Trait Implementations§
impl Freeze for VerifiedAccessLogs
impl RefUnwindSafe for VerifiedAccessLogs
impl Send for VerifiedAccessLogs
impl Sync for VerifiedAccessLogs
impl Unpin for VerifiedAccessLogs
impl UnwindSafe for VerifiedAccessLogs
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.