Created
April 3, 2023 16:26
-
-
Save jefferyfry/3ea163c050ca0dac7531e22938aec972 to your computer and use it in GitHub Desktop.
LaceworkAmazonSecurityLakeEventFunctionRole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LaceworkAmazonSecurityLakeEventFunctionRole: | |
Type: AWS::IAM::Role | |
Properties: | |
AssumeRolePolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Principal: | |
Service: lambda.amazonaws.com | |
Action: sts:AssumeRole | |
Path: / | |
Policies: | |
- PolicyName: AWS_AmazonSecurityLake_Operations | |
PolicyDocument: | |
Version: 2012-10-17 | |
Statement: | |
- Sid: AmazonSecurityLakeReadBucket | |
Effect: Allow | |
Action: | |
- s3:ListBucket | |
- s3:GetBucketLocation | |
Resource: | |
- !Sub 'arn:aws:s3:::${AmazonSecurityLakeS3BucketName}' | |
- !Sub 'arn:aws:s3:::${AmazonSecurityLakeCacheS3Bucket}' | |
- Sid: AmazonSecurityLakeWrite | |
Effect: Allow | |
Action: | |
- s3:PutObject | |
- s3:PutObjectAcl | |
- s3:GetObject | |
- s3:GetObjectAcl | |
- s3:DeleteObject | |
- s3:GetObjectAttributes | |
Resource: | |
- !Sub 'arn:aws:s3:::${AmazonSecurityLakeS3BucketName}/*' | |
- !Sub 'arn:aws:s3:::${AmazonSecurityLakeCacheS3Bucket}/*' | |
ManagedPolicyArns: | |
- !Sub 'arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaSQSQueueExecutionRole' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment