#[non_exhaustive]pub struct AwsLogSourceConfiguration {
pub accounts: Option<Vec<String>>,
pub regions: Vec<String>,
pub source_name: AwsLogSourceName,
pub source_version: String,
}Expand description
The Security Lake logs source configuration file describes the information needed to generate Security Lake logs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.accounts: Option<Vec<String>>Specify the Amazon Web Services account information where you want to enable Security Lake.
regions: Vec<String>Specify the Regions where you want to enable Security Lake.
source_name: AwsLogSourceNameThe name for a Amazon Web Services source. This must be a Regionally unique value.
source_version: StringThe version for a Amazon Web Services source. This must be a Regionally unique value.
Implementations§
source§impl AwsLogSourceConfiguration
impl AwsLogSourceConfiguration
sourcepub fn accounts(&self) -> &[String]
pub fn accounts(&self) -> &[String]
Specify the Amazon Web Services account information where you want to enable Security Lake.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accounts.is_none().
sourcepub fn source_name(&self) -> &AwsLogSourceName
pub fn source_name(&self) -> &AwsLogSourceName
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn source_version(&self) -> &str
pub fn source_version(&self) -> &str
The version for a Amazon Web Services source. This must be a Regionally unique value.
source§impl AwsLogSourceConfiguration
impl AwsLogSourceConfiguration
sourcepub fn builder() -> AwsLogSourceConfigurationBuilder
pub fn builder() -> AwsLogSourceConfigurationBuilder
Creates a new builder-style object to manufacture AwsLogSourceConfiguration.
Trait Implementations§
source§impl Clone for AwsLogSourceConfiguration
impl Clone for AwsLogSourceConfiguration
source§fn clone(&self) -> AwsLogSourceConfiguration
fn clone(&self) -> AwsLogSourceConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsLogSourceConfiguration
impl Debug for AwsLogSourceConfiguration
source§impl PartialEq for AwsLogSourceConfiguration
impl PartialEq for AwsLogSourceConfiguration
source§fn eq(&self, other: &AwsLogSourceConfiguration) -> bool
fn eq(&self, other: &AwsLogSourceConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsLogSourceConfiguration
Auto Trait Implementations§
impl Freeze for AwsLogSourceConfiguration
impl RefUnwindSafe for AwsLogSourceConfiguration
impl Send for AwsLogSourceConfiguration
impl Sync for AwsLogSourceConfiguration
impl Unpin for AwsLogSourceConfiguration
impl UnwindSafe for AwsLogSourceConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more