AWS文档没有帮助,只是表示CognitoEvents
的属性为String: String
。我在GitHub上发现了一个话题,暗示它是Event: Lambda ARN
,但没有具体说明这些事件可能是什么(我会猜想沿着syncTrigger
的方向)。用于Cognito身份池创建的CloudFormation CognitoEvent列表
任何想法事件将填充AWS::Cognito::IdentityPool
模板的CognitoEvents
属性?
AWS文档没有帮助,只是表示CognitoEvents
的属性为String: String
。我在GitHub上发现了一个话题,暗示它是Event: Lambda ARN
,但没有具体说明这些事件可能是什么(我会猜想沿着syncTrigger
的方向)。用于Cognito身份池创建的CloudFormation CognitoEvent列表
任何想法事件将填充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
希望这可以帮助其他人!
请将您的答案标记为正确。这当之无愧 – Birowsky