@mapbox/cloudfriend
Version:
Helper functions for assembling CloudFormation templates in JavaScript
25 lines (23 loc) • 396 B
JavaScript
;
module.exports = (callback) => {
setImmediate(callback, null, {
AWSTemplateFormatVersion: '2010-09-09',
Parameters: {
OutputThis: {
Type: 'String'
}
},
Resources: {
Topic: {
Type: 'AWS::SNS::Topic'
}
},
Outputs: {
ProvidedValue: {
Value: {
Ref: 'OutputThis'
}
}
}
});
};