lib/chef/resource/aws_cache_cluster.rb
# Note: There isn't actually an SDK class for Elasticache.
There isn't actually an SDK class for Elasticache.
There isn ' t actually an SDK class for Elasticache .
def aws_object
    driver.elasticache
          .describe_cache_clusters(cache_cluster_id: cluster_name)
          .data[:cache_clusters].first
  rescue ::Aws::ElastiCache::Errors::CacheClusterNotFound
    nil
  end
def aws_object driver . elasticache . describe_cache_clusters ( cache_cluster_id : cluster_name ) . data [ :cache_clusters ] . first rescue :: Aws :: ElastiCache :: Errors :: CacheClusterNotFound nil end
Note: There isn't actually an SDK class for Elasticache.
Note : There isn ' t actually an SDK class for Elasticache .