Skip to content

Conversation

brettstack
Copy link
Contributor

SAM v1.10.0 Release: Conditions for Serverless resources

You can now define conditions on AWS::Serverless resources. Conditions are statements that let you define the circumstances under which resources get created or configured. With this release, you can conditionally create AWS::Serverless resources. For example, if you deploy your serverless application to multiple environments such as test and prod, you can choose to only deploy specific AWS::Serverless::Functions to your test environment. Conditions on AWS::Serverless resources are also applied to other generated resources (#755), and the swagger definitions generated by SAM on AWS::Serverless::Api resources (#804).

Change Log:

Policy Templates

(#620 #686) Add GSIs to DynamoDBReadPolicy and DynamoDBCrudPolicy
(#615) Add DynamoDBReconfigurePolicy
(#426) Add CostExplorerReadOnlyPolicy and OrganizationsListAccountsPolicy
(#556) Add EKSDescribePolicy
(#715) Add SESBulkTemplatedCrudPolicy
(#729) Add FilterLogEventsPolicy
(#625) Add SSMParameterReadPolicy
(#723) Add SESEmailTemplateCrudPolicy
(#769) Add s3:PutObjectAcl to S3CrudPolicy

Other changes

(#464) Add allow_credentials CORS option
(#643) Add support for AccessLogSetting and CanarySetting Serverless::Api properties
(#657 Add support for X-Ray in Serverless::Api
(#786 Add support for MinimumCompressionSize in Serverless::Api
(#682 Add Auth to Serverless::Api globals
(#763 Remove trailing slashes from APIGW permissions
(#648 Add SNS FilterPolicy and an example application
(#690 Add Enabled property to Serverless::Function event sources
(#782 Add support for PermissionsBoundary in Serverless::Function
(#697 Fix boto3 client initialization
(#700 Add PublicAccessBlockConfiguration property to S3 bucket resource
(#705 Make PAY_PER_REQUEST default mode for Serverless::SimpleTable
(#709 Add limited support for resolving intrinsics in Serverless::LayerVersion
(#720 SAM now uses Flake8
(#737 Add example application for S3 Events written in Go
(#604 #632 #644 #741) Updated several example applications

rohandalvi and others added 30 commits October 1, 2018 09:19
- add EKSDescribePolicy - Gives permission to describe or list Amazon EKS clusters
* Add GSIs to `DynamoDBCrudPolicy'.
Per #628, `nose` isn't needed as a dependency anymore.
s3 Buckets and lambdas were being generated but lambda didn't have
permissions for s3 buckets. Started using prefix and Sub to
intrinsically tie them together to circumvent circular dependency
issues.
chore: merge master back into develop
* document new property FilterPolicy in the SNS event source

* add unit test for sns event source

* implement new property FilterPolicy for SNS event source

* reorder the filter elements in the translated CloudFormation templates to align with the order in the original SAM template.

* add example lambda_sns_filter_policy

* add newline at the end of the yaml file
Adds support for Condition to the following SAM resource types:

* AWS::Serverless::Function
* AWS::Serverless::Api
* AWS::Serverless::SimpleTable
Bring recent changes in examples/ as well as new CodeCov report feature into develop
…ption (#709)

This fixes a bug where the layer logical ids were not changing when intrinsic functions were used in certain fields.
This commit adds a new policy to the policy templates
that grants permission to call the filter-log-events API,
given a Log Group name.
sthulb and others added 23 commits January 18, 2019 12:07
* Adds a fix for #665

* remove comment of code structure

* Update samtranslator/model/eventsources/push.py

Co-Authored-By: sthulb <[email protected]>

* Update samtranslator/model/eventsources/push.py

Co-Authored-By: sthulb <[email protected]>

* updates regex based on suggestion

* adds extra test case for singular /
* Allow Api.Auth in Globals section

* Add Auth to expected error for error_globals_api_with_stage_name

* Added auth check to globals_for_api

* Added valid swagger body to explicitApi for global auth test

* Added definition body to us-gov and cn global_for_api tests

* Fixed output for normal partition for api globals test

* us-gov test for api globals passes

* update tests for aws-cn

* Updated tests for py27

* Updated other deployment hashes
Properly scoped `Environment` key to `HelloWorldFuntion`'s `Properties`
* Override Auth NONE

Added how to make specific Functions public in case of global authorizer configured

* docs: fix grammar
@brettstack brettstack requested review from jlhood and keetonian March 6, 2019 22:07
Copy link
Contributor

@jlhood jlhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do it! 🚀

@brettstack brettstack merged commit 805cc85 into master Mar 6, 2019
@jfuss jfuss deleted the release/v1.10.0 branch October 8, 2021 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.