You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ new PhpFpmFunction(this, 'MyFunction', {
56
56
It inherits from the AWS CDK [`Function` construct](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html) with these options set by default:
57
57
58
58
-`handler`: `index.php` by default
59
-
-`runtime`: `provided.al2`
59
+
-`runtime`: `provided.al2023`
60
60
-`code`: the code is automatically zipped from the current directory.
61
61
-`layers`: the Bref layer is automatically added.
62
62
-`memorySize`: `1024`
@@ -78,7 +78,7 @@ The following paths are always excluded: `.git`, `.idea`, `cdk.out`, `node_modul
78
78
79
79
The construct also adds the following options:
80
80
81
-
-`phpVersion` (default: `8.1`): the PHP version to use.
81
+
-`phpVersion` (default: `8.4`): the PHP version to use.
82
82
83
83
#### `PhpFunction`
84
84
@@ -92,7 +92,7 @@ new PhpFunction(this, 'MyFunction', {
92
92
93
93
It inherits from the AWS CDK [`Function` construct](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html) with these options set by default:
94
94
95
-
-`runtime`: `provided.al2`
95
+
-`runtime`: `provided.al2023`
96
96
-`code`: the code is automatically zipped from the current directory.
97
97
-`layers`: the Bref layer is automatically added.
98
98
-`memorySize`: `1024`
@@ -115,7 +115,7 @@ The following paths are always excluded: `.git`, `.idea`, `cdk.out`, `node_modul
115
115
116
116
The construct also adds the following options:
117
117
118
-
-`phpVersion` (default: `8.1`): the PHP version to use.
118
+
-`phpVersion` (default: `8.4`): the PHP version to use.
119
119
120
120
#### `ConsoleFunction`
121
121
@@ -129,9 +129,9 @@ new ConsoleFunction(this, 'Artisan', {
129
129
130
130
It inherits from the AWS CDK [`Function` construct](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html) with these options set by default:
131
131
132
-
-`runtime`: `provided.al2`
132
+
-`runtime`: `provided.al2023`
133
133
-`code`: the code is automatically zipped from the current directory.
134
-
-`layers`: the Bref layers are automatically added.
134
+
-`layers`: the Bref layer is automatically added.
135
135
-`memorySize`: `1024`
136
136
-`timeout`: `6` (seconds)
137
137
@@ -152,4 +152,4 @@ The following paths are always excluded: `.git`, `.idea`, `cdk.out`, `node_modul
152
152
153
153
The construct also adds the following options:
154
154
155
-
-`phpVersion` (default: `8.1`): the PHP version to use.
155
+
-`phpVersion` (default: `8.4`): the PHP version to use.
0 commit comments