Method: Awspec::Helper::Finder::Cloudtrail#get_trail_tags

Defined in:
lib/awspec/helper/finder/cloudtrail.rb

#get_trail_tags(arn) ⇒ Object



20
21
22
23
24
# File 'lib/awspec/helper/finder/cloudtrail.rb', line 20

def get_trail_tags(arn)
  cloudtrail_client.list_tags(
    resource_id_list: [arn]
  )[:resource_tag_list].first[:tags_list]
end