@@ -4,8 +4,8 @@ Globals Section
4
4
.. contents ::
5
5
6
6
Resources in a SAM template tend to have shared configuration such as Runtime, Memory,
7
- VPC Settings, Environment Variables, Cors etc. Instead of duplicating this information in every resource, you can
8
- write them once in the ``Globals `` section and let all resources inhert it.
7
+ VPC Settings, Environment Variables, Cors, etc. Instead of duplicating this information in every resource, you can
8
+ write them once in the ``Globals `` section and let all resources inherit it.
9
9
10
10
Example:
11
11
@@ -39,7 +39,7 @@ Example:
39
39
40
40
41
41
In the above example, both ``HelloWorldFunction `` and ``ThumbnailFunction `` will use nodejs6.10 runtime, 180 seconds
42
- timeout and index.handler Handler. ``HelloWorldFunction `` adds MESSAGE environnment variable in addition to the
42
+ timeout and index.handler Handler. ``HelloWorldFunction `` adds MESSAGE environment variable in addition to the
43
43
inherited TABLE_NAME. ``ThumbnailFunction `` inherits all the Globals properties and adds an API Event source.
44
44
45
45
Supported Resources
@@ -89,8 +89,8 @@ Globals to override all properties of Implicit APIs as well.
89
89
Unsupported Properties
90
90
~~~~~~~~~~~~~~~~~~~~~~
91
91
92
- Following properties of are **not ** supported in Globals section. We made the explicitly
93
- call to not support them because it either made the template hard to understand or opens scope for potential security
92
+ Following properties are **not ** supported in Globals section. We made the explicit
93
+ call to not support them because it either made the template hard to understand or opened scope for potential security
94
94
issues.
95
95
96
96
**AWS::Serverless::Function: **
@@ -163,7 +163,7 @@ Environment variables of ``MyFunction`` will be set to ``{ TABLE_NAME: "resource
163
163
TABLE_NAME : resource-table
164
164
NEW_VAR : hello
165
165
166
- Lists are additivie
166
+ Lists are additive
167
167
~~~~~~~~~~~~~~~~~~~
168
168
*Also called as arrays *
169
169
0 commit comments