Class: Jets::Cfn::TemplateMappers::ConfigRuleMapper

Inherits:
Object
  • Object
show all
Defined in:
lib/jets/cfn/template_mappers/config_rule_mapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(task) ⇒ ConfigRuleMapper

task is a Jets::Job::Task



5
6
7
# File 'lib/jets/cfn/template_mappers/config_rule_mapper.rb', line 5

def initialize(task)
  @task = task
end

Instance Method Details

#lambda_function_logical_idObject

Example: “GameRuleProtectLambdaFunction”



15
16
17
# File 'lib/jets/cfn/template_mappers/config_rule_mapper.rb', line 15

def lambda_function_logical_id
  "#{full_task_name}LambdaFunction"
end

#logical_idObject

Example: “ConfigRuleGameRuleProtect”



10
11
12
# File 'lib/jets/cfn/template_mappers/config_rule_mapper.rb', line 10

def logical_id
  "#{full_task_name}ConfigRule"
end

#permission_logical_idObject

Example: GameRuleProtectConfigRulePermission



20
21
22
# File 'lib/jets/cfn/template_mappers/config_rule_mapper.rb', line 20

def permission_logical_id
  "#{full_task_name}ConfigRulePermission"
end