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
If you make changes to the transformer and want to verify the resulting CloudFormation template works as expected, you can transform your SAM template into a CloudFormation template using the following process:
90
90
91
-
```shell
92
-
# Optional: You only need to run the package command in certain cases; e.g. when your CodeUri specifies a local path
93
-
# Replace MY_TEMPLATE_PATH with the path to your template and MY_S3_BUCKET with an existing S3 bucket
Copy file name to clipboardExpand all lines: docs/globals.rst
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,10 @@ Example:
23
23
Resources:
24
24
HelloWorldFunction:
25
25
Type: AWS::Serverless::Function
26
-
Environment:
27
-
Variables:
28
-
MESSAGE: "Hello From SAM"
26
+
Properties:
27
+
Environment:
28
+
Variables:
29
+
MESSAGE: "Hello From SAM"
29
30
30
31
ThumbnailFunction:
31
32
Type: AWS::Serverless::Function
@@ -53,7 +54,6 @@ Currently, the following resources and properties are being supported:
53
54
# Properties of AWS::Serverless::Function
54
55
Handler:
55
56
Runtime:
56
-
# Specifying CodeUri on Globals is not yet supported by 'CloudFormation package' https://docs.aws.amazon.com/cli/latest/reference/cloudformation/package.html
57
57
CodeUri:
58
58
DeadLetterQueue:
59
59
Description:
@@ -67,7 +67,8 @@ Currently, the following resources and properties are being supported:
67
67
Layers:
68
68
AutoPublishAlias:
69
69
DeploymentPreference:
70
-
70
+
PermissionsBoundary:
71
+
71
72
Api:
72
73
# Properties of AWS::Serverless::Api
73
74
# Also works with Implicit APIs
@@ -79,7 +80,11 @@ Currently, the following resources and properties are being supported:
Invoke the API's root endpoint `/` without an `auth` query string to see the API respond with a 200. In the SAM template, we explicitly state `Authorizer: NONE` to make this a public/open endpoint (the Authorizer Lambda Function is not invoked).
25
+
Invoke the API's root endpoint `/` without an `auth` query string to see the API respond with a 200 (assuming you followed the optional step above). In the SAM template, we explicitly state `Authorizer: NONE` to make this a public/open endpoint (the Authorizer Lambda Function is not invoked).
Invoke the API's root endpoint `/` without an `Authorization` header to see the API respond with a 200. In the SAM template, we explicitly state `Authorizer: NONE` to make this a public/open endpoint (the Authorizer Lambda Function is not invoked).
25
+
Invoke the API's root endpoint `/` without an `Authorization` header to see the API respond with a 200 (assuming you followed the optional step above). In the SAM template, we explicitly state `Authorizer: NONE` to make this a public/open endpoint (the Authorizer Lambda Function is not invoked).
0 commit comments