Interface FileSystemConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
FileSystemConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:26.537Z") @Stability(Stable) public interface FileSystemConfig extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
 import software.amazon.awscdk.services.iam.*;
 import software.amazon.awscdk.services.lambda.*;
 import software.constructs.*;
 Connections connections;
 IDependable dependable;
 PolicyStatement policyStatement;
 FileSystemConfig fileSystemConfig = FileSystemConfig.builder()
         .arn("arn")
         .localMountPath("localMountPath")
         // the properties below are optional
         .connections(connections)
         .dependency(List.of(dependable))
         .policies(List.of(policyStatement))
         .build();
 
  • Method Details

    • getArn

      @Stability(Stable) @NotNull String getArn()
      ARN of the access point.
    • getLocalMountPath

      @Stability(Stable) @NotNull String getLocalMountPath()
      mount path in the lambda runtime environment.
    • getConnections

      @Stability(Stable) @Nullable default Connections getConnections()
      connections object used to allow ingress traffic from lambda function.

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

    • getDependency

      @Stability(Stable) @Nullable default List<software.constructs.IDependable> getDependency()
      array of IDependable that lambda function depends on.

      Default: - no dependency

    • getPolicies

      @Stability(Stable) @Nullable default List<PolicyStatement> getPolicies()
      additional IAM policies required for the lambda function.

      Default: - no additional policies required

    • builder

      @Stability(Stable) static FileSystemConfig.Builder builder()
      Returns:
      a FileSystemConfig.Builder of FileSystemConfig