Method: Awspec::Helper::Finder::Redshift#find_redshift_cluster_identifier
- Defined in:
- lib/awspec/helper/finder/redshift.rb
#find_redshift_cluster_identifier(id) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/awspec/helper/finder/redshift.rb', line 6 def find_redshift_cluster_identifier(id) res = redshift_client.describe_clusters(cluster_identifier: id) res.clusters.single_resource(id) rescue StandardError nil end |