Skip to content

Commit

Permalink
Merge pull request #88 from tylersouthwick/lambda-improvements
Browse files Browse the repository at this point in the history
Add NodeJs4.3 and make some properties Token[_] in AWS::Lambda::Function
  • Loading branch information
T.J. Corrigan committed Apr 28, 2016
2 parents e3d69d3 + e1d8a2f commit 2b0ac85
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ class Runtime(val runtime: String)

case object NodeJS extends Runtime("nodejs")

case object `NodeJS4.3` extends Runtime("nodejs4.3")

case object Java8 extends Runtime("java8")

case object Python27 extends Runtime("python2.7")
Expand All @@ -28,9 +30,9 @@ case class `AWS::Lambda::Function`(name: String,
Description: Option[String],
Handler: String,
Runtime: Runtime,
MemorySize: Option[Int] = None,
MemorySize: Option[Token[Int]] = None,
Role: Token[String],
Timeout: Option[Int] = None,
Timeout: Option[Token[Int]] = None,
override val Condition: Option[ConditionRef] = None)
extends Resource[`AWS::Lambda::Function`] with HasArn with Subscribable {

Expand Down

0 comments on commit 2b0ac85

Please sign in to comment.