小编use*_*195的帖子

通过Cloudformation将角色添加到AWS Cognito Identity Pool

我正在尝试编写CloudFormation模板,以使用Google身份验证和使用预先存在的角色创建新的Cognito身份池.

此代码使用Google身份验证创建新的标识池 -

Resources:
 cognitoid:
  Type: "AWS::Cognito::IdentityPool"
  Properties:
   "AllowUnauthenticatedIdentities": false
   "SupportedLoginProviders": { "accounts.google.com": "<Google client id>" }
Run Code Online (Sandbox Code Playgroud)

对于角色,AWS::Cognito::IdentityPool在附加角色的属性中没有任何内容.

amazon-web-services aws-cloudformation

7
推荐指数
1
解决办法
1275
查看次数