Class: Jets::Cfn::TemplateMappers::ConfigRuleMapper
- Inherits:
-
Object
- Object
- Jets::Cfn::TemplateMappers::ConfigRuleMapper
- Defined in:
- lib/jets/cfn/template_mappers/config_rule_mapper.rb
Instance Method Summary collapse
-
#initialize(task) ⇒ ConfigRuleMapper
constructor
task is a Jets::Job::Task.
-
#lambda_function_logical_id ⇒ Object
Example: “GameRuleProtectLambdaFunction”.
-
#logical_id ⇒ Object
Example: “ConfigRuleGameRuleProtect”.
-
#permission_logical_id ⇒ Object
Example: GameRuleProtectConfigRulePermission.
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_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
Example: GameRuleProtectConfigRulePermission
20 21 22 |
# File 'lib/jets/cfn/template_mappers/config_rule_mapper.rb', line 20 def "#{full_task_name}ConfigRulePermission" end |