Spaces:
Configuration error

chat / template.yaml
yonkasoft's picture
Upload 15 files
681c53e verified
raw
history blame
623 Bytes
Resources:
MyLambdaFunction:
Type: AWS::Serverless::Function
Properties:
Handler: app.lambda_handler
Runtime: python3.10
CodeUri: sam_tutorial-demo/
MemorySize: 128
Timeout: 10
Environment:
Variables:
DYNAMODB_TABLE_NAME: input_to_users
Policies:
- DynamoDBCrudPolicy:
TableName: input_to_users
- AWSSecretsManagerReadWrite # Secrets Manager'dan erişim sağlamak için politika
Events:
ApiEvent:
Type: Api
Properties:
Path: /save
Method: post