Method: Jets::Resource::ChildStack::Authorizer#authorizer_logical_id

Defined in:
lib/jets/resource/child_stack/authorizer.rb

#authorizer_logical_idObject

map the path to a camelized logical_id. IE: ProtectAuthorizer



30
31
32
33
34
# File 'lib/jets/resource/child_stack/authorizer.rb', line 30

def authorizer_logical_id
  regexp = Regexp.new(".*#{Jets.config.project_namespace}-authorizers-")
  authorizer_name = @path.sub(regexp, '').sub('.yml', '')
  authorizer_name.underscore.camelize
end