lib/chef/resource/aws_cache_subnet_group.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_subnet_groups(cache_subnet_group_name: group_name)
          .data[:cache_subnet_groups].first
  rescue ::Aws::ElastiCache::Errors::CacheSubnetGroupNotFoundFault
    nil
  end
def aws_object driver . elasticache . describe_cache_subnet_groups ( cache_subnet_group_name : group_name ) . data [ :cache_subnet_groups ] . first rescue :: Aws :: ElastiCache :: Errors :: CacheSubnetGroupNotFoundFault nil end
Note: There isn't actually an SDK class for Elasticache.
Note : There isn ' t actually an SDK class for Elasticache .