public Function(ReferenceProperty role, string handler, Code code, FunctionRuntime runtime, FunctionMemory memory) : base(ResourceType.AwsLambdaFunction) { this.Code = code; this.Handler = handler; this.Memory = memory; this.Role = role; this.Runtime = runtime; }
public Function(ReferenceProperty role, string handler, Code code, FunctionRuntime runtime) : this(role, handler, code, runtime, FunctionMemory.Megabyte128) { }