2017-08-12 87 views
0

AWS文檔沒有幫助,只是表示CognitoEvents的屬性爲String: String。我在GitHub上發現了一個話題,暗示它是Event: Lambda ARN,但沒有具體說明這些事件可能是什麼(我會猜想沿着syncTrigger的方向)。用於Cognito身份池創建的CloudFormation CognitoEvent列表

任何想法事件將填充AWS::Cognito::IdentityPool模板的CognitoEvents屬性?

回答

1

結束猜測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

希望這可以幫助其他人!

+0

請將您的答案標記爲正確。這當之無愧 – Birowsky

相關問題