Skip to content

Instantly share code, notes, and snippets.

@yai333
Last active April 11, 2019 04:34
Show Gist options
  • Select an option

  • Save yai333/1c94887d45c9f5eadccfda7c0baa105d to your computer and use it in GitHub Desktop.

Select an option

Save yai333/1c94887d45c9f5eadccfda7c0baa105d to your computer and use it in GitHub Desktop.
custom:
appSync:
mappingTemplates:
- type: Mutation
dataSource: AWSSES
field: sendNotification
request: Mutation-sendNotification-request.vtl
response: Mutation-sendNotification-response.vtl
dataSources:
- type: HTTP
name: AWSSES
description: "send email notification"
config:
endpoint: "https://email.us-east-1.amazonaws.com/"
authorizationConfig:
authorizationType: "AWS_IAM"
awsIamConfig:
signingRegion: "us-east-1"
signingServiceName: "ses"
serviceRoleArn: { Fn::GetAtt: [AppSyncSESserviceRole, Arn] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment