Show / Hide Table of Contents

Using

The Using section, in the LambdaSharp Module, lists modules that the current module uses. During deployment, the LambdaSharp CLI checks if the used modules are present. If not, it will attempt to find and deploy them, resolving their dependencies recursively.

Syntax

Module: String
Description: String

Properties

Description

The Description attribute specifies the description for the module dependency.

Required: No

Type: String

Module

The Module attribute specifies the full name of the required module with an optional version and origin. The format must be Namespace.Name[:Version][@Origin]. Parts in brackets ([ ]) are optional. Without a version specifier, LambdaSharp uses the latest version it can find that is compatible with the LambdaSharp CLI. Without an origin, LambdaSharp uses the deployment bucket name of the active deployment tier as origin. Compilation fails if the LambdaSharp CLI cannot find a published module that matches the criteria.

Required: Yes

Type: String

Examples

List the LambdaSharp.S3.IO module as a dependency

Using:

  - Module: LambdaSharp.S3.IO

List a dependency with a specific version number

Using:

  - Module: My.OtherModule:2.5

List a dependency with a specific version number and origin bucket

Using:

  - Module: My.OtherModule:2.5@SomeBucket
In This Article
Back to top Generated by DocFX