Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement