FileSystemConfigProperty Struct
Details about the connection between a Lambda function and an Amazon EFS file system .
Example
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
# 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
// 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();
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"
}
};
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
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
localMountPathstringlocal_mount_pathstrlocalMountPathStringLocalMountPathstringLocalMountPath*stringrequired#The path where the function can access the file system, starting with `/mnt/` .
s3FilesConfigoptionalIResolvable | CfnFunction.S3FilesConfigPropertys3_files_configoptionaltyping.Union[IResolvable, S3FilesConfigProperty]s3FilesConfigoptionalIResolvableS3FilesConfigoptionalIResolvableS3FilesConfigoptionalinterface{}#Setting controls how your function accesses data from an Amazon S3 file system.