Class: Chef::Resource::AwsRdsSubnetGroup
- Inherits:
-
Provisioning::AWSDriver::AWSRDSResource
- Object
- LWRPBase
- Provisioning::AWSDriver::SuperLWRP
- Provisioning::AWSDriver::AWSResource
- Provisioning::AWSDriver::AWSRDSResource
- Chef::Resource::AwsRdsSubnetGroup
- Includes:
- Provisioning::AWSDriver::AWSTaggable
- Defined in:
- lib/chef/resource/aws_rds_subnet_group.rb
Constant Summary
Constants inherited from Provisioning::AWSDriver::AWSResource
Provisioning::AWSDriver::AWSResource::NOT_PASSED
Instance Method Summary collapse
Methods included from Provisioning::AWSDriver::AWSTaggable
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
17 18 19 20 21 22 23 24 |
# File 'lib/chef/resource/aws_rds_subnet_group.rb', line 17 def aws_object driver.rds.client .describe_db_subnet_groups(db_subnet_group_name: name)[:db_subnet_groups].first rescue AWS::RDS::Errors::DBSubnetGroupNotFoundFault # triggered by describe_db_subnet_groups when the group can't # be found nil end |
#rds_tagging_type ⇒ Object
26 27 28 |
# File 'lib/chef/resource/aws_rds_subnet_group.rb', line 26 def rds_tagging_type "subgrp" end |