AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Lambda::Permission

CfnPermission

L1 CloudFormation construct for AWS::Lambda::Permission

Import

import { CfnPermission } from 'aws-cdk-lib/aws-lambda';

Or use the module namespace:

import * as lambda from 'aws-cdk-lib/aws-lambda';
// lambda.CfnPermission

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the AWS Lambda Cheat Sheet

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

Download Free Infographic