Skip to content

CustomLogSourceProvider

Source code in docs_src/capo_securitylake/types/custom_log_source_provider.py
class CustomLogSourceProvider(TypedDict, closed=True):
    role_arn: NotRequired["capo_securitylake.types.role_arn.RoleArn"]
    """<p>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 <code>logProviderAccountId</code> to assume the role.</p>"""
    location: NotRequired["capo_securitylake.types.s3_uri.S3URI"]
    """<p>The location of the partition in the Amazon S3 bucket for Security Lake.</p>"""

location instance-attribute

location: NotRequired[S3URI]

The location of the partition in the Amazon S3 bucket for Security Lake.

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

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.