-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathtemplate.yaml
More file actions
26 lines (23 loc) · 993 Bytes
/
template.yaml
File metadata and controls
26 lines (23 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
djl-object-detection-inference-docker-lambda
SAM Template for djl-object-detection-inference-docker-lambda
Resources:
DjlObjectDetectionInferenceFunction:
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Properties:
PackageType: Image
MemorySize: 1536
Timeout: 120
Metadata:
DockerTag: java8-gradle-v1
DockerContext: .
Dockerfile: Dockerfile
Outputs:
DjlObjectDetectionInferenceFunction:
Description: "DjlObjectDetectionInference Lambda Function ARN"
Value: !GetAtt DjlObjectDetectionInferenceFunction.Arn
DjlObjectDetectionInferenceFunctionIamRole:
Description: "Implicit IAM Role created for DjlObjectDetectionInference function"
Value: !GetAtt DjlObjectDetectionInferenceFunctionRole.Arn