Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit cdb4ac5

Browse files
author
bls20AWS
committed
added oci exaple images
1 parent a8b0154 commit cdb4ac5

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

0.7-PHP-Lambda-functions-with-Docker-container-images/src/index.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
<?php
1+
2+
<?
3+
/* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this
6+
software and associated documentation files (the "Software"), to deal in the Software
7+
without restriction, including without limitation the rights to use, copy, modify,
8+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
9+
permit persons to whom the Software is furnished to do so.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
12+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
13+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
14+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
15+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
16+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
17+
18+
19+
220

321
//hello function
422
function index($data)

0.7-PHP-Lambda-functions-with-Docker-container-images/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31
33
Description: >
44
ociphp2
55
6-
Sample SAM Template for ociphp3
6+
Sample SAM Template for php oci
77
88
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
99
Globals:

0 commit comments

Comments
 (0)