I hereby claim:
- I am dsandor on github.
- I am dsandor (https://keybase.io/dsandor) on keybase.
- I have a public key ASCmCwOje9FkvgCByw49ng6RysmaFVUJLKfp9qLvoEfvQgo
To claim this, I am signing this object:
HelloWorldApi: | |
Type: AWS::Serverless::Api | |
Properties: | |
Name: hello-world-api | |
StageName: v1 | |
MethodSettings: | |
- LoggingLevel: INFO | |
ResourcePath: '/*' # allows logging on any resource | |
HttpMethod: '*' # allows logging on all methods | |
Cors: |
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: AWS::Serverless-2016-10-31 | |
Description: > | |
hello-world-api | |
API example of using a request authorizer with API Gateway. | |
Globals: | |
Function: | |
Timeout: 120 |
{ | |
"Records": [ | |
{ | |
"eventVersion": "2.1", | |
"eventSource": "aws:s3", | |
"awsRegion": "us-east-1", | |
"eventTime": "2020-01-03T15:11:20.855Z", | |
"eventName": "ObjectCreated:Put", | |
"userIdentity": { | |
"principalId": "AWS:AAAAAAAAAAAAAAAAAAAAA" |
module.exports.handler = (event) => { | |
console.log('event:\n', JSON.stringify(event)); | |
}; |
AWSTemplateFormatVersion: 2010-09-09 | |
Transform: AWS::Serverless-2016-10-31 | |
Globals: | |
Function: | |
MemorySize: 128 | |
Timeout: 15 | |
Resources: | |
# S3 Bucket |
AWSTemplateFormatVersion: 2010-09-09 | |
Transform: AWS::Serverless-2016-10-31 | |
Globals: | |
Function: | |
MemorySize: 128 | |
Timeout: 15 | |
Resources: | |
# Permissions |
AWSTemplateFormatVersion: 2010-09-09 | |
Transform: AWS::Serverless-2016-10-31 | |
Globals: | |
Function: | |
MemorySize: 128 | |
Timeout: 15 | |
Resources: | |
# Roles |
I hereby claim:
To claim this, I am signing this object: