interface FileSystemConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.FileSystemConfig |
Java | software.amazon.awscdk.services.lambda.FileSystemConfig |
Python | aws_cdk.aws_lambda.FileSystemConfig |
TypeScript (source) | @aws-cdk/aws-lambda » FileSystemConfig |
FileSystem configurations for the Lambda function.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
import * as iam from '@aws-cdk/aws-iam';
import * as lambda from '@aws-cdk/aws-lambda';
import * as cdk from '@aws-cdk/core';
declare const connections: ec2.Connections;
declare const dependable: cdk.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
| Name | Type | Description |
|---|---|---|
| arn | string | ARN of the access point. |
| local | string | mount path in the lambda runtime environment. |
| connections? | Connections | connections object used to allow ingress traffic from lambda function. |
| dependency? | IDependable[] | array of IDependable that lambda function depends on. |
| policies? | Policy[] | additional IAM policies required for the lambda function. |
arn
Type:
string
ARN of the access point.
localMountPath
Type:
string
mount path in the lambda runtime environment.
connections?
Type:
Connections
(optional, default: no connections required to add extra ingress rules for Lambda function)
connections object used to allow ingress traffic from lambda function.
dependency?
Type:
IDependable[]
(optional, default: no dependency)
array of IDependable that lambda function depends on.
policies?
Type:
Policy[]
(optional, default: no additional policies required)
additional IAM policies required for the lambda function.

.NET
Java
Python
TypeScript (