add docs
This commit is contained in:
@@ -23,7 +23,7 @@ Globals:
|
||||
Architectures:
|
||||
- x86_64
|
||||
Layers:
|
||||
- !Sub arn:aws:lambda:sa-east-1:336641857101:layer:layercake:35
|
||||
- !Sub arn:aws:lambda:sa-east-1:336641857101:layer:layercake:42
|
||||
Environment:
|
||||
Variables:
|
||||
TZ: America/Sao_Paulo
|
||||
@@ -82,6 +82,15 @@ Resources:
|
||||
TableName: !Ref CourseTable
|
||||
- DynamoDBCrudPolicy:
|
||||
TableName: !Ref OrderTable
|
||||
- DynamoDBCrudPolicy:
|
||||
TableName: !Ref EnrollmentTable
|
||||
- Version: 2012-10-17
|
||||
Statement:
|
||||
- Effect: Allow
|
||||
Action:
|
||||
- cognito-idp:AdminGetUser
|
||||
- cognito-idp:AdminSetUserPassword
|
||||
Resource: !Sub arn:aws:cognito-idp:${AWS::Region}:${AWS::AccountId}:userpool/*
|
||||
Events:
|
||||
Preflight:
|
||||
Type: HttpApi
|
||||
|
||||
Reference in New Issue
Block a user