Spaces:
Configuration error

File size: 623 Bytes
0d97454
681c53e
0d97454
 
681c53e
 
 
0d97454
681c53e
0d97454
 
681c53e
0d97454
681c53e
 
 
0d97454
681c53e
0d97454
 
681c53e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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