Class: Jets::Cfn::Resource::Codebuild::Project::Lambda

Inherits:
Ec2
  • Object
show all
Defined in:
lib/jets/cfn/resource/codebuild/project/lambda.rb

Instance Method Summary collapse

Methods inherited from Ec2

#build_spec, #definition, #environment, #environment_variables, #finalize_properties, #outputs, #props, #timeout_in_minutes

Methods inherited from Base

#attributes, #config, #logical_id, #normalize_tags, #outputs, #parameters, #properties, #replacements, #replacer, #standarize, #template, truncate_id, #type

Methods included from Util::Camelize

#camelize

Methods included from Util::Logging

#log

Instance Method Details

#codebuild_logical_idObject



3
4
5
# File 'lib/jets/cfn/resource/codebuild/project/lambda.rb', line 3

def codebuild_logical_id
  "CodebuildLambda"
end

#compute_typeObject



11
12
13
# File 'lib/jets/cfn/resource/codebuild/project/lambda.rb', line 11

def compute_type
  config.codebuild.lambda.project.compute_type
end

#project_nameObject



7
8
9
# File 'lib/jets/cfn/resource/codebuild/project/lambda.rb', line 7

def project_name
  "#{Jets.project.namespace}-remote-lambda"
end