comparison template.yaml @ 4:cfd876570008

attach inline policy to function to access screts
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Thu, 16 Sep 2021 18:03:26 +0200
parents 5c36f51105c2
children 54e71cf6e324
comparison
equal deleted inserted replaced
3:5c36f51105c2 4:cfd876570008
155 Properties: 155 Properties:
156 Description: Fetch tweets and analyse sentiment using AWS Comprehend 156 Description: Fetch tweets and analyse sentiment using AWS Comprehend
157 CodeUri: src/ 157 CodeUri: src/
158 Handler: handlers/sentiment.get_tweet_sentiment 158 Handler: handlers/sentiment.get_tweet_sentiment
159 Runtime: python3.9 159 Runtime: python3.9
160 Policies:
161 - AWSSecretsManagerGetSecretValuePolicy:
162 SecretArn:
163 arn:aws:secretsmanager:eu-west-2:339008578167:secret:tweet-analysis-keys-gKo6DQ
160 Events: 164 Events:
161 CallGetTweetSentiment: 165 CallGetTweetSentiment:
162 Type: Api 166 Type: Api
163 Properties: 167 Properties:
164 Path: /sentiment 168 Path: /sentiment