# FileSystemConfigProperty

Details about the connection between a Lambda function and an [Amazon EFS file system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) .

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const fileSystemConfigProperty: lambda.CfnFunction.FileSystemConfigProperty = {
  arn: 'arn',
  localMountPath: 'localMountPath',

  // the properties below are optional
  s3FilesConfig: {
    directS3Read: 'directS3Read',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

file_system_config_property = lambda.CfnFunction.FileSystemConfigProperty(
    arn="arn",
    local_mount_path="localMountPath",

    # the properties below are optional
    s3_files_config=lambda.CfnFunction.S3FilesConfigProperty(
        direct_s3_read="directS3Read"
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

FileSystemConfigProperty fileSystemConfigProperty = FileSystemConfigProperty.builder()
        .arn("arn")
        .localMountPath("localMountPath")

        // the properties below are optional
        .s3FilesConfig(S3FilesConfigProperty.builder()
                .directS3Read("directS3Read")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var fileSystemConfigProperty = new FileSystemConfigProperty {
    Arn = "arn",
    LocalMountPath = "localMountPath",

    // the properties below are optional
    S3FilesConfig = new S3FilesConfigProperty {
        DirectS3Read = "directS3Read"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

fileSystemConfigProperty := &FileSystemConfigProperty{
	Arn: jsii.String("arn"),
	LocalMountPath: jsii.String("localMountPath"),

	// the properties below are optional
	S3FilesConfig: &S3FilesConfigProperty{
		DirectS3Read: jsii.String("directS3Read"),
	},
}
```

## Properties

- `arn`: string (required) — The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.

- `localMountPath`: string (required) — The path where the function can access the file system, starting with `/mnt/` .

- `s3FilesConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFunction.S3FilesConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnFunction.S3FilesConfigProperty.html) — Setting controls how your function accesses data from an Amazon S3 file system.
