Class: Chef::Resource::AwsCacheReplicationGroup
- Inherits:
-
Provisioning::AWSDriver::AWSResource
- Object
- Provisioning::AWSDriver::AWSResource
- Chef::Resource::AwsCacheReplicationGroup
- Defined in:
- lib/chef/resource/aws_cache_replication_group.rb
Overview
AWS Elasticache Replication Group
Instance Method Summary collapse
Instance Method Details
#aws_object ⇒ Object
70 71 72 73 74 75 76 77 78 |
# File 'lib/chef/resource/aws_cache_replication_group.rb', line 70 def aws_object begin driver.elasticache .describe_replication_groups(replication_group_id: group_name) .data[:replication_groups].first rescue AWS::ElastiCache::Errors::ReplicationGroupNotFoundFault nil end end |