Interface CustomLogSourceProvider.Builder

    • Method Detail

      • location

        CustomLogSourceProvider.Builder location​(String location)

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

        Parameters:
        location - The location of the partition in the Amazon S3 bucket for Security Lake.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CustomLogSourceProvider.Builder roleArn​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.