1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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>"
}
}
}
]
}
답변함 일 년 전