AWS Fundamentals Logo
AWS Fundamentals
AWS::Lambda::LayerVersionPermission

Lambda LayerVersionPermission

Schema for Lambda LayerVersionPermission

Properties

4 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Action
string
RequiredCreate-only
LayerVersionArn
string
RequiredCreate-only
Principal
string
RequiredCreate-only
OrganizationId
string
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
IdstringID generated by service

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lambda::LayerVersionPermission

Resources:
  MyResource:
    Type: AWS::Lambda::LayerVersionPermission
    Properties:
      LayerVersionArn: "arn:aws:service:region:account:resource"
      Action: "value"
      Principal: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

lambda:AddLayerVersionPermission

read

lambda:GetLayerVersionPolicy

delete

lambda:GetLayerVersionPolicylambda:RemoveLayerVersionPermission

list

lambda:GetLayerVersionPolicy

Get the Lambda Cheat Sheet

Everything you need to know about Lambda on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceLambda
Properties5
Required3
TaggingNot supported
Primary IDId

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

OrganizationIdPrincipalActionLayerVersionArn

External Links