mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-08-16 21:24:09 +00:00
29 lines
827 B
YAML
29 lines
827 B
YAML
AWSTemplateFormatVersion: '2010-09-09'
|
|
Transform: 'AWS::Serverless-2016-10-31'
|
|
Description: An AWS Lambda application that calls the Lambda API.
|
|
Resources:
|
|
function:
|
|
Type: AWS::Serverless::Function
|
|
Properties:
|
|
Handler: lambda_function.lambda_handler
|
|
Runtime: python3.8
|
|
CodeUri: function/.
|
|
Description: Call the AWS Lambda API
|
|
Timeout: 10
|
|
# Function's execution role
|
|
Policies:
|
|
- AWSLambdaBasicExecutionRole
|
|
- AWSLambda_ReadOnlyAccess
|
|
- AWSXrayWriteOnlyAccess
|
|
Tracing: Active
|
|
Layers:
|
|
- !Ref libs
|
|
libs:
|
|
Type: AWS::Serverless::LayerVersion
|
|
Properties:
|
|
LayerName: blank-python-lib
|
|
Description: Dependencies for the blank-python sample app.
|
|
ContentUri: package/.
|
|
CompatibleRuntimes:
|
|
- python3.8
|