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