Class FileSystemConfig
FileSystem configurations for the Lambda function.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FileSystemConfig : Object, IFileSystemConfig
Syntax (vb)
Public Class FileSystemConfig
Inherits Object
Implements IFileSystemConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.Lambda;
using Constructs;
Connections connections;
IDependable dependable;
PolicyStatement policyStatement;
var fileSystemConfig = new FileSystemConfig {
Arn = "arn",
LocalMountPath = "localMountPath",
// the properties below are optional
Connections = connections,
Dependency = new [] { dependable },
Policies = new [] { policyStatement }
};
Synopsis
Constructors
FileSystemConfig() |
Properties
Arn | ARN of the access point. |
Connections | connections object used to allow ingress traffic from lambda function. |
Dependency | array of IDependable that lambda function depends on. |
LocalMountPath | mount path in the lambda runtime environment. |
Policies | additional IAM policies required for the lambda function. |
Constructors
FileSystemConfig()
public FileSystemConfig()
Properties
Arn
ARN of the access point.
public string Arn { get; set; }
Property Value
System.String
Connections
connections object used to allow ingress traffic from lambda function.
public Connections_ Connections { get; set; }
Property Value
Remarks
Default: - no connections required to add extra ingress rules for Lambda function
Dependency
array of IDependable that lambda function depends on.
public IDependable[] Dependency { get; set; }
Property Value
Constructs.IDependable[]
Remarks
Default: - no dependency
LocalMountPath
mount path in the lambda runtime environment.
public string LocalMountPath { get; set; }
Property Value
System.String
Policies
additional IAM policies required for the lambda function.
public PolicyStatement[] Policies { get; set; }
Property Value
Remarks
Default: - no additional policies required