This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
RFC: Permissions for LayerVersions #698
Labels
area/resource/layer-version
maintainer/need-response
stage/needs-feedback
Needs feedback from the community (are you also interested in/experiencing this?)
type/rfc
Background
The ability to share Layers will be integral to their use for any organization or group of teams, or even between individuals. Adding permissions to layer versions is a process that SAM could make easier than it would be in native CloudFormation. This design proposes a new Permissions field in the AWS::Serverless::LayerVersion resource that helps create AWS::Lambda::LayerVersionPermission objects for LayerVersions.
Syntax Proposal
Pros:
Cons:
Example Template
Input yaml:
Output JSON:
Permissions are also a field that can be used in the AWS::Serverless::LayerVersion Globals section, setting permissions for all of the layers in a SAM template. In this example, the users specified in the globals section would be granted permissions to all the layers in the template, resulting in 4 AWS::Lambda::LayerPermission resources (2 for each layer):
FAQ
Links
The text was updated successfully, but these errors were encountered: