class Chef::Resource::AwsRdsSubnetGroup

Public Instance Methods

aws_object() click to toggle source
# File lib/chef/resource/aws_rds_subnet_group.rb, line 17
def aws_object
  driver.rds.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() click to toggle source
# File lib/chef/resource/aws_rds_subnet_group.rb, line 25
def rds_tagging_type
  "subgrp"
end