#[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 ==.