Last active
May 24, 2018 08:16
-
-
Save adhorn/ad128de50371dacad7c4168b46e5df1e to your computer and use it in GitHub Desktop.
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
| stream: arn:aws:dynamodb:us-east-1:xxxxxxxxxxx:table/global2/stream/2018-05-14T21:09:15.761 |
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
| stream: arn:aws:dynamodb:us-west-2:xxxxxxxxxxx:table/global2/stream/2018-05-14T21:09:25.664 |
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
| service: comp | |
| provider: | |
| name: aws | |
| runtime: python2.7 | |
| memorySize: 512 | |
| iamRoleStatements: | |
| - Effect: "Allow" | |
| Action: | |
| - "dynamodb:*" | |
| Resource: | |
| - "arn:aws:dynamodb:${opt:region}:xxxxxxxxx:table/global2" | |
| - Effect: "Allow" | |
| Action: | |
| - "comprehend:DetectSentiment" | |
| - "logs:CreateLogGroup" | |
| - "logs:CreateLogStream" | |
| - "logs:PutLogEvents" | |
| - "xray:PutTraceSegments" | |
| - "xray:PutTelemetryRecords" | |
| Resource: | |
| - "*" | |
| package: | |
| include: | |
| - vendored/** | |
| exclude: | |
| - .git/** | |
| functions: | |
| streamFunction: | |
| handler: stream_handler.handler | |
| events: | |
| - stream: ${file(env_${opt:region}.yml):stream} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment