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
4 5 6 7 |
# File 'lib/awspec/helper/finder/codedeploy.rb', line 4 def find_codedeploy_app(name) res = codedeploy_client.get_application(application_name: name) res.application end |
#find_codedeploy_deployment_group(application, group) ⇒ Object
9 10 11 12 |
# File 'lib/awspec/helper/finder/codedeploy.rb', line 9 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 |