#[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 ==.impl StructuralPartialEq for CustomLogSourceProvider
Auto Trait Implementations§
impl Freeze for CustomLogSourceProvider
impl RefUnwindSafe for CustomLogSourceProvider
impl Send for CustomLogSourceProvider
impl Sync for CustomLogSourceProvider
impl Unpin for CustomLogSourceProvider
impl UnwindSafe for CustomLogSourceProvider
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> 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