0

我正在尝试在本地网页上查看 AWS kinesis 视频流。但是,我不断收到此错误。

AccessDeniedException: User: arn:aws:sts::XXXXXXXXX:assumed-role/XXXXXXXX/CognitoIdentityCredentials is not authorized to perform: kinesisvideo:GetDataEndpoint on resource: XXXX

这是用于关联 IAM 角色的策略。

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "mobileanalytics:PutEvents",
                "cognito-sync:*",
                "kinesisvideo:*",
                "sts:*"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

我正在使用未经身份验证的 Cognito 角色。

对于 sts:assumeRole,我也有类似的例外。

我究竟做错了什么?

4

0 回答 0