#[non_exhaustive]pub struct CustomLogSourceProvider {
pub role_arn: Option<String>,
pub location: Option<String>,
}
Expand description
The details of the log provider for a third-party custom source.
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.role_arn: Option<String>
The ARN of the IAM role to be used by the entity putting logs into your custom source partition. Security Lake will apply the correct access policies to this role, but you must first manually create the trust policy for this role. The IAM role name must start with the text 'Security Lake'. The IAM role must trust the logProviderAccountId
to assume the role.
location: Option<String>
The location of the partition in the Amazon S3 bucket for Security Lake.
Implementations§
source§impl CustomLogSourceProvider
impl CustomLogSourceProvider
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the IAM role to be used by the entity putting logs into your custom source partition. Security Lake will apply the correct access policies to this role, but you must first manually create the trust policy for this role. The IAM role name must start with the text 'Security Lake'. The IAM role must trust the logProviderAccountId
to assume the role.
source§impl CustomLogSourceProvider
impl CustomLogSourceProvider
sourcepub fn builder() -> CustomLogSourceProviderBuilder
pub fn builder() -> CustomLogSourceProviderBuilder
Creates a new builder-style object to manufacture CustomLogSourceProvider
.
Trait Implementations§
source§impl Clone for CustomLogSourceProvider
impl Clone for CustomLogSourceProvider
source§fn clone(&self) -> CustomLogSourceProvider
fn clone(&self) -> CustomLogSourceProvider
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomLogSourceProvider
impl Debug for CustomLogSourceProvider
source§impl PartialEq for CustomLogSourceProvider
impl PartialEq for CustomLogSourceProvider
source§fn eq(&self, other: &CustomLogSourceProvider) -> bool
fn eq(&self, other: &CustomLogSourceProvider) -> bool
self
and other
values to be equal, and is used
by ==
.