Module: Awspec::Helper::Finder::Codedeploy

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/codedeploy.rb

Instance Method Summary collapse

Instance Method Details

#find_codedeploy_app(name) ⇒ Object



6
7
8
9
# File 'lib/awspec/helper/finder/codedeploy.rb', line 6

def find_codedeploy_app(name)
  res = codedeploy_client.get_application(application_name: name)
  res.application
end

#find_codedeploy_deployment_group(application, group) ⇒ Object



11
12
13
14
# File 'lib/awspec/helper/finder/codedeploy.rb', line 11

def find_codedeploy_deployment_group(application, group)
  res = codedeploy_client.get_deployment_group(application_name: application, deployment_group_name: group)
  res.deployment_group_info
end