Skip to content

Commit

Permalink
Created the deleteRole function to delete a lambda function.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabedealmeida committed Dec 2, 2020
1 parent d97c835 commit e9fadbb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/aws/api/iam/deleteRole.js
@@ -0,0 +1,11 @@
const { iam } = require('../sdk');

const deleteRole = (RoleName) => {
const params = {
RoleName,
};

return iam.deleteRole(params).promise();
};

module.exports = deleteRole;

0 comments on commit e9fadbb

Please sign in to comment.