1 Answer
- Newest
- Most votes
- Most comments
4
I think what you are asking is to allow lambda to assume this role and only THAT lambda? in that case here is an example of trust relationship.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"aws:SourceArn": "arn:aws:lambda:<region>:<account-id>:function:<lambda-function-name>"
}
}
}
]
}
answered a year ago
Relevant content
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago