无服务器Appsync IdentityPoolRoleMap部署错误

时间:2019-03-05 04:41:46

标签: amazon-cognito aws-appsync

我正在使用“ serverless-appsync-plugin”生成g Appsync Api和Cogntio Userpool以及联合身份,除“ IdentityPoolRoleMap”外,其他所有内容均已正确部署并且工作正常,

ServerlessError:发生错误:IdentityPoolRoleMap-空(服务:AmazonCognitoIdentity;状态代码:500;错误代码:InternalFailure;)

添加IdentityPoolRoleMap的示例

IdentityPoolRoleMap:
      Type: AWS::Cognito::IdentityPoolRoleAttachment
      Properties:
        IdentityPoolId: { Ref: IdentityPool }
        Roles:
          unauthenticated: { Fn::GetAtt: [ UnauthRole, Arn ]}
          authenticated: { Fn::GetAtt: [ AuthRole, Arn ]}

注意:IdentityPool,UnauthRole和AuthRole已正确创建。

0 个答案:

没有答案
相关问题