Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UserScheduleUserTypeResolver:
- Type: AWS::AppSync::Resolver
- DependsOn: SessionManagerSchema
- Properties:
- ApiId: !GetAtt SessionManagerApi.ApiId
- TypeName: UserSchedule
- FieldName: User
- DataSourceName: !GetAtt LocalDataSource.Name
- RequestMappingTemplate: |
- {
- "version": "2017-02-28",
- "payload": {
- "Username": "${ctx.identity.username}",
- "Email": "${ctx.identity.claims.email}"
- }
- }
- ResponseMappingTemplate: |
- $util.toJson($ctx.result)
Add Comment
Please, Sign In to add comment