...
Code Block | ||
---|---|---|
| ||
# LHM Agent IAM Role in the application-host AWS account { "Version": "2012-10-17", "Statement": [ { "Sid": "WriteToDynamoDbAndSqs", "Effect": "Allow", "Action": [ "dynamodb:BatchWriteItem", "dynamodb:PutItem", "dynamodb:UpdateItem", "sqs:SendMessage" ], "Resource": [ "arn:aws:sqs:<optional_region_or_*>:<LHM_App_AWS_Account_Id>:bplm*", "arn:aws:dynamodb:<optional_region_or_*>:<LHM_App_AWS_Account_Id>:table/bplm*" ] } ] } # LHM Application (VM) IAM Role in the application-host AWS account: { "Version": "2012-10-17", "Statement": [ { "Sid": "DynamoAndSQS", "Effect": "Allow", "Action": [ "sqs:DeleteMessage", "dynamodb:CreateTable", "sqs:GetQueueUrl", "dynamodb:UpdateTimeToLive", "dynamodb:DescribeTable", "sqs:ReceiveMessage", "dynamodb:Scan", "dynamodb:Query", "sqs:CreateQueue" ], "Resource": [ "arn:aws:sqs:<optional_source_region_or_*>:<LHM_App_AWS_Account_Id>:bplm*", "arn:aws:dynamodb:<optional_source_region_or_*>:<LHM_App_AWS_Account_Id>:table/bplm*" ] } ] } |
For Trusting Policy, see Source Role Trusting policy ...
above.
Trust policy for the LHM Agent IAM Role in the application-host AWS account:
...