AWS Fundamentals Logo
AWS Fundamentals
L1 Construct

CfnLayerVersion

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion.

Import

import { CfnLayerVersion } from 'aws-cdk-lib/aws-sam';

Or use the module namespace:

import * as sam from 'aws-cdk-lib/aws-sam';
// sam.CfnLayerVersion

Properties

Configuration passed to the constructor as CfnLayerVersionProps.

compatibleRuntimesOptional
string[]
contentUriOptional
string | IResolvable | S3LocationProperty
descriptionOptional
string
layerNameOptional
string
licenseInfoOptional
string
retentionPolicyOptional
string

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-sam
Properties6

External Links