View a markdown version of this page

AWS::Lambda::Function FileSystemConfig - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::Function FileSystemConfig

Details about the connection between a Lambda function and an Amazon EFS file system or an Amazon S3 file system.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Arn" : String, "LocalMountPath" : String, "S3FilesConfig" : S3FilesConfig }

Properties

Arn

The Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files access point that provides access to the file system.

Required: Yes

Type: String

Pattern: ^arn:aws[a-zA-Z-]*:elasticfilesystem:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:access-point/fsap-[a-f0-9]{17}$|^arn:aws[-a-z]*:s3files:[0-9a-z-:]+:file-system/fs-[0-9a-f]{17,40}/access-point/fsap-[0-9a-f]{17,40}$

Maximum: 200

Update requires: No interruption

LocalMountPath

The path where the function can access the file system, starting with /mnt/.

Required: Yes

Type: String

Pattern: ^/mnt/[a-zA-Z0-9-_.]+$

Maximum: 160

Update requires: No interruption

S3FilesConfig

The configuration for how your function accesses data on an Amazon S3 file system. Valid only when the file system access point ARN is an Amazon S3 Files access point. If you specify a different access point type (for example, Amazon Elastic File System), the operation returns an InvalidParameterException.

Required: No

Type: S3FilesConfig

Update requires: No interruption