0

Aws cognito console screenaws cloudformテンプレートを使用してawsコグニートのユーザープールに必要な属性を設定するにはどうすればよいですか?

私はcloudformテンプレートを使用してユーザープールを作成していましたが、添付した画像リンクに次の属性を追加したかったのです。 AWSのドキュメントで役立つものは何も見つかりませんでした。

これは、aws cloudformation cognito documentationと同様にエイリアス属性を設定できます。

誰でもこれを試したことがありますか、これに関する考えがありますか?

答えて

0

私はcognito :: AWSのスキーマ属性を使用して、それを成し遂げるために管理:: UserPool:

"myApiUserPool": { 
    "Type": "AWS::Cognito::UserPool", 
    "Properties": { 
    "AdminCreateUserConfig": { 
     "AllowAdminCreateUserOnly": true 
    }, 
    "Schema": [ 
     { 
     "Mutable": false, 
     "Name": "email", 
     "Required": true 
     }, 
     { 
     "Mutable": false, 
     "Name": "family_name", 
     "Required": true 
     }, 
     { 
     "Mutable": false, 
     "Name": "name", 
     "Required": true 
     } 
    ], 
    "AutoVerifiedAttributes": [ 
     "email" 
    ], 
    "UserPoolName": { 
     "Fn::Sub": "myApiUserPool${envParameter}" 
    } 
    } 
} 
関連する問題