View a markdown version of this page

FileSystemConfig - AWS Lambda

FileSystemConfig

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

Contents

Arn

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: arn:aws[a-zA-Z-]*:elasticfilesystem:[a-z]{2}((-gov)|(-iso(b?)))?-[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}

Required: Yes

LocalMountPath

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 160.

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

Required: Yes

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.

Type: S3FilesConfig object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: