Class: Chef::Resource::AwsCacheSubnetGroup
- Inherits:
-
Provisioning::AWSDriver::AWSResource
- Object
- LWRPBase
- Provisioning::AWSDriver::SuperLWRP
- Provisioning::AWSDriver::AWSResource
- Chef::Resource::AwsCacheSubnetGroup
- Defined in:
- lib/chef/resource/aws_cache_subnet_group.rb
Overview
AWS Elasticache Subnet Group
Constant Summary
Constants inherited from Provisioning::AWSDriver::AWSResource
Provisioning::AWSDriver::AWSResource::NOT_PASSED
Instance Method Summary collapse
Methods inherited from Provisioning::AWSDriver::AWSResource
#action, #action=, #aws_object_id, get_aws_object, get_aws_object_id, #initialize, lookup_options
Methods inherited from Provisioning::AWSDriver::SuperLWRP
Constructor Details
This class inherits a constructor from Chef::Provisioning::AWSDriver::AWSResource
Instance Method Details
#aws_object ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/chef/resource/aws_cache_subnet_group.rb', line 33 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 |