我想在我的 Secrets Manager 密钥上添加资源权限,但出现以下语法错误:
This resource policy contains a syntax error
谁能帮我?这是政策:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "secretsmanager.amazonaws.com"
},
"Action": "lambda:InvokeFunction",
"Resource": "..."
}
]
}