Skip to content

This repo contains AWS SAM templates and Lambda function code for AWS Lambda with SMB file shares blog post.

Notifications You must be signed in to change notification settings

aws-samples/aws-lambda-smb-shares

Integrating AWS Lambda with SMB file shares

Read the post on AWS Storage blog.

Prerequisites

• AWS credentials that provide the necessary permissions to create the resources. This example uses admin credentials.

• An available SMB file share with valid credentials and a route to the VPC. See the getting started exercise to setup Amazon FSx for Windows File Server.

• DotNet .NET SDK installed if deploying Lambda with .NET core template.

• The AWS SAM CLI installed. As of this writing, tested with SAM CLI, version 1.29.0.

• Clone this repo.

Deployment steps

  1. Navigate to the cloned repo directory, or run sam init then choose ‘Custom Template Location’ and paste the repo URL.

  2. Build the AWS SAM application, replace with Python or DotNet template:

    sam build -t <templateName>

  3. Deploy the AWS SAM application:

    sam deploy –guided

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

This repo contains AWS SAM templates and Lambda function code for AWS Lambda with SMB file shares blog post.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •