class Chef::Resource::AwsCacheReplicationGroup

AWS Elasticache Replication Group @see See docs.aws.amazon.com/AWSRubySDK/latest/AWS/ElastiCache/Client/V20140930.html#create_replication_group-instance_method

Public Instance Methods

aws_object() click to toggle source
# File lib/chef/resource/aws_cache_replication_group.rb, line 70
def aws_object
  driver.elasticache
        .describe_replication_groups(replication_group_id: group_name)
        .data[:replication_groups].first
rescue ::Aws::ElastiCache::Errors::ReplicationGroupNotFoundFault
  nil
end