DEPRECATED-lambda-cfn
DEPRECATED-lambda-cfn copied to clipboard
Reference other resources in the template
Given the following example:
var lambdaCfn = require('lambda-cfn');
module.exports = lambdaCfn(
[
'myHandler.js',
],
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "my stack",
"Resources": {
"AutoScalingGroup": { ... }
}
}
);
How would I go about referencing AutoScalingGroup inside my rule configuration? Specifically, I'd like make the physical id of AutoScalingGroup available to the function. I'm currently only seeing a way to do this with a parameter.
I think the way to do this would be to allow the StreambotEnv to be set/updated by the rule configuration.