Sha256: 9793aca77b127fda9ad8dfd5136dfd6f4d69fa19b24cc8c7c7e9253ca20b2a7f

Contents?: true

Size: 408 Bytes

Versions: 8

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

module Awspec::Type
  class RdsDbSubnetGroup < ResourceBase
    aws_resource Aws::RDS::Types::DBSubnetGroup

    def resource_via_client
      @resource_via_client ||= find_db_subnet_group(@display_name)
    end

    def id
      @id ||= resource_via_client.db_subnet_group_name if resource_via_client
    end

    def vpc_id
      resource_via_client.vpc_id
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.29.3 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.29.2 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.29.1 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.29.0 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.28.2 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.28.1 lib/awspec/type/rds_db_subnet_group.rb
awspec-1.28.0 lib/awspec/type/rds_db_subnet_group.rb