Created
May 12, 2019 17:24
-
-
Save theburningmonk/d51a53c25f7aefd503b35d79bd6508b1 to your computer and use it in GitHub Desktop.
How to include a SAR application in a Serverless.yml
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: sar-app-in-sls-demo | |
provider: | |
name: aws | |
runtime: nodejs8.10 | |
functions: | |
hello: | |
handler: handler.hello | |
resources: | |
Transform: AWS::Serverless-2016-10-31 | |
Resources: | |
SubscribeToApiGatewayLogs: | |
Type: AWS::Serverless::Application | |
Properties: | |
Location: | |
ApplicationId: arn:aws:serverlessrepo:us-east-1:374852340823:applications/auto-subscribe-log-group-to-arn | |
SemanticVersion: 1.1.0 | |
Parameters: | |
DestinationArn: !GetAtt HelloLambdaFunction.Arn | |
Prefix: "API-Gateway-Execution-Logs" | |
FilterPattern: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment