-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2370 from aws/release/v1.45.0
Release/v1.45.0
- Loading branch information
Showing
40 changed files
with
2,123 additions
and
7 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
integration/resources/expected/single/basic_function_with_function_url_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"LogicalResourceId": "MyLambdaFunction", | ||
"ResourceType": "AWS::Lambda::Function" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionUrl", | ||
"ResourceType": "AWS::Lambda::Url" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionRole", | ||
"ResourceType": "AWS::IAM::Role" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionUrlPublicPermissions", | ||
"ResourceType": "AWS::Lambda::Permission" | ||
} | ||
] |
26 changes: 26 additions & 0 deletions
26
...ion/resources/expected/single/basic_function_with_function_url_with_autopuplishalias.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"LogicalResourceId": "MyLambdaFunction", | ||
"ResourceType": "AWS::Lambda::Function" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionUrl", | ||
"ResourceType": "AWS::Lambda::Url" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionRole", | ||
"ResourceType": "AWS::IAM::Role" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionAliaslive", | ||
"ResourceType": "AWS::Lambda::Alias" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionVersion", | ||
"ResourceType": "AWS::Lambda::Version" | ||
}, | ||
{ | ||
"LogicalResourceId": "MyLambdaFunctionUrlPublicPermissions", | ||
"ResourceType": "AWS::Lambda::Permission" | ||
} | ||
] |
21 changes: 21 additions & 0 deletions
21
integration/resources/templates/single/basic_function_with_function_url_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Resources: | ||
MyLambdaFunction: | ||
Type: AWS::Serverless::Function | ||
Properties: | ||
Handler: index.handler | ||
Runtime: nodejs12.x | ||
CodeUri: ${codeuri} | ||
MemorySize: 128 | ||
FunctionUrlConfig: | ||
AuthType: NONE | ||
Cors: | ||
AllowOrigins: | ||
- "https://foo.com" | ||
AllowMethods: | ||
- "POST" | ||
AllowCredentials: true | ||
AllowHeaders: | ||
- "x-Custom-Header" | ||
ExposeHeaders: | ||
- "x-amzn-header" | ||
MaxAge: 10 |
22 changes: 22 additions & 0 deletions
22
...on/resources/templates/single/basic_function_with_function_url_with_autopuplishalias.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Resources: | ||
MyLambdaFunction: | ||
Type: AWS::Serverless::Function | ||
Properties: | ||
Handler: index.handler | ||
Runtime: nodejs12.x | ||
CodeUri: ${codeuri} | ||
MemorySize: 128 | ||
AutoPublishAlias: live | ||
FunctionUrlConfig: | ||
AuthType: NONE | ||
Cors: | ||
AllowOrigins: | ||
- "https://foo.com" | ||
AllowMethods: | ||
- "POST" | ||
AllowCredentials: true | ||
AllowHeaders: | ||
- "x-Custom-Header" | ||
ExposeHeaders: | ||
- "x-amzn-header" | ||
MaxAge: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.44.0" | ||
__version__ = "1.45.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.