用于创建 Cognito 身份池的 CloudFormation CognitoEvents 列表
List of CloudFormation CognitoEvents for Cognito Identity Pool creation
AWS 文档没有帮助,它只是说 CognitoEvents
的 属性 是 String: String
。我在 GitHub 上找到了一个主题,暗示它是 Event: Lambda ARN
,但没有具体说明事件可能是什么(我猜是 syncTrigger
的内容)。
知道填充 AWS::Cognito::IdentityPool
模板的 CognitoEvents
属性 的事件是什么吗?
最终猜测 SyncTrigger
,结果是正确的(大写 "S")。这是完整配置的示例:
Type: "AWS::Cognito::IdentityPool"
Properties:
IdentityPoolName: YourPoolName
AllowUnauthenticatedIdentities: true | false
DeveloperProviderName: accounts.example.com
SupportedLoginProviders:
graph.facebook.com: xxxx
accounts.google.com: xxxx-xxxx.apps.googleusercontent.com
api.twitter.com: xxxx;xxxx
CognitoEvents:
SyncTrigger: Lambda Function ARN
希望这对其他人有帮助!
AWS 文档没有帮助,它只是说 CognitoEvents
的 属性 是 String: String
。我在 GitHub 上找到了一个主题,暗示它是 Event: Lambda ARN
,但没有具体说明事件可能是什么(我猜是 syncTrigger
的内容)。
知道填充 AWS::Cognito::IdentityPool
模板的 CognitoEvents
属性 的事件是什么吗?
最终猜测 SyncTrigger
,结果是正确的(大写 "S")。这是完整配置的示例:
Type: "AWS::Cognito::IdentityPool"
Properties:
IdentityPoolName: YourPoolName
AllowUnauthenticatedIdentities: true | false
DeveloperProviderName: accounts.example.com
SupportedLoginProviders:
graph.facebook.com: xxxx
accounts.google.com: xxxx-xxxx.apps.googleusercontent.com
api.twitter.com: xxxx;xxxx
CognitoEvents:
SyncTrigger: Lambda Function ARN
希望这对其他人有帮助!