Created
May 10, 2019 21:43
-
-
Save deeheber/d4ce134a8955d2aedcf017512430aeea to your computer and use it in GitHub Desktop.
Convert To Audio YAML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ConvertToAudio: | |
| Type: AWS::Serverless::Function | |
| Properties: | |
| FunctionName: !Sub ${AWS::StackName}-ConvertToAudio | |
| Description: !Sub | |
| - Stack ${StackTagName} Environment ${EnvironmentTagName} Function ${ResourceName} | |
| - ResourceName: ConvertToAudio | |
| CodeUri: src/ConvertToAudio | |
| Handler: index.handler | |
| Runtime: nodejs8.10 | |
| MemorySize: 3008 | |
| Timeout: 300 | |
| Tracing: Active | |
| Policies: | |
| - AWSXrayWriteOnlyAccess | |
| - Version: 2012-10-17 | |
| Statement: | |
| - Effect: Allow | |
| Resource: !Join [ '', [ !GetAtt FileStore.Arn, /* ] ] | |
| Action: | |
| - s3:PutObject | |
| - s3:PutObjectAcl | |
| - Version: 2012-10-17 | |
| Statement: | |
| - Effect: Allow | |
| Resource: !GetAtt Table.Arn | |
| Action: | |
| - dynamodb:UpdateItem | |
| - Version: 2012-10-17 | |
| Statement: | |
| - Effect: Allow | |
| Resource: '*' | |
| Action: | |
| - polly:SynthesizeSpeech |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment