Advertisement
Guest User

Untitled

a guest
May 21st, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. ConvertToAudio:
  2. Type: AWS::Serverless::Function
  3. Properties:
  4. FunctionName: !Sub ${AWS::StackName}-ConvertToAudio
  5. Description: !Sub
  6. - Stack ${StackTagName} Environment ${EnvironmentTagName} Function ${ResourceName}
  7. - ResourceName: ConvertToAudio
  8. CodeUri: src/ConvertToAudio
  9. Handler: index.handler
  10. Runtime: nodejs8.10
  11. MemorySize: 3008
  12. Timeout: 300
  13. Tracing: Active
  14. Policies:
  15. - AWSXrayWriteOnlyAccess
  16. - Version: 2012-10-17
  17. Statement:
  18. - Effect: Allow
  19. Resource: !Join [ '', [ !GetAtt FileStore.Arn, /* ] ]
  20. Action:
  21. - s3:PutObject
  22. - s3:PutObjectAcl
  23. - Version: 2012-10-17
  24. Statement:
  25. - Effect: Allow
  26. Resource: !GetAtt Table.Arn
  27. Action:
  28. - dynamodb:UpdateItem
  29. - Version: 2012-10-17
  30. Statement:
  31. - Effect: Allow
  32. Resource: '*'
  33. Action:
  34. - polly:SynthesizeSpeech
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement