# FileSystemConfig

FileSystem configurations for the Lambda function.

Extends: FileSystemConfig
Used as props by: FileSystem

- Source: [`aws-lambda/lib/filesystem.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/filesystem.ts#L117)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_lambda as lambda } from 'aws-cdk-lib';
import * as constructs from 'constructs';

declare const connections: ec2.Connections;
declare const dependable: constructs.IDependable;
declare const policyStatement: iam.PolicyStatement;
const fileSystemConfig: lambda.FileSystemConfig = {
  arn: 'arn',
  localMountPath: 'localMountPath',

  // the properties below are optional
  connections: connections,
  dependency: [dependable],
  policies: [policyStatement],
};
```

## Properties

- `arn`: string (required) — ARN of the access point.

- `connections`: [Connections](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Connections.html) — connections object used to allow ingress traffic from lambda function.

  **Default:** no connections required to add extra ingress rules for Lambda function

- `dependency`: [IDependable](/cdk/api/v2/docs/constructs.IDependable.html)[] — array of IDependable that lambda function depends on.

  **Default:** no dependency

- `localMountPath`: string (required) — mount path in the lambda runtime environment.

- `policies`: [PolicyStatement](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.PolicyStatement.html)[] — additional IAM policies required for the lambda function.

  **Default:** no additional policies required
