CFN supports the conditional creation of resource including lambda.e.g.
“Conditions” : {
“CreateLambdaResources” : {“Fn::Equals” : [{“Ref” : “EnvType”}, “prod”]}
},
“NewLambda” : {
“Type” : “AWS::Lambda::Function”,
“Condition” : “CreateLambdaResources”,
…
}
Does serverless frame support it and how?
Thanks