INNER CODE UNIT · JavaScript

getPermissions

serverless-operations/serverless-step-functions · lib/deploy/stepFunctions/iamStrategies/index.js:142

function getPermissions(state, context) {
  const normalizedArn = normalizeArn(state.Resource);
  const handler = registry.get(normalizedArn);
  if (handler) {
    return handler(state, context);
  }
  return lambda.getFallbackPermissions(state, context);
}

module.exports = { getPermissions };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…