Fugue.AWS.Lambda.Permission

This is the preferred interface for making Lambda Permissions with Fugue. If you want to manage a Lambda Permission with Fugue, the new function is the right place to start.

Table of Contents

Module Members

new

(Function)

new Lambda Permission (Constructor)

Call this constructor to create a new Fugue.Core.AWS.Lambda.Permission value.

Type Signature

 fun { action: Action,
       principal: String,
       qualifier: Optional<Qualifier>,
       source: Optional<Source> } -> Permission
Argument: action

The Lambda.Action to allow in this permission.

Type: Action

Argument: principal

The principal who is getting this permission, such as “s3.amazonaws.com”.

Type: String

Argument: qualifier

The Lambda.Qualifier for the permission to limit the permission to a specific alias or version.

Type: Optional<Qualifier>

Argument: source

The Lambda.Source for which the permission is being granted.

Type: Optional<Source>

Returns:

A Fugue.Core.AWS.Lambda.Permission value.

Type: Permission