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>"
}
}
}
]
}
已回答 1 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 6 個月前
- AWS 官方已更新 2 年前