Class: AWSCDK::Interfaces::AWSRDS::DBSubnetGroupReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRDS::DBSubnetGroupReference
- Defined in:
- interfaces/awsrds/db_subnet_group_reference.rb
Overview
A reference to a DBSubnetGroup resource.
Instance Attribute Summary collapse
-
#db_subnet_group_name ⇒ String
readonly
The DBSubnetGroupName of the DBSubnetGroup resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(db_subnet_group_name:) ⇒ DBSubnetGroupReference
constructor
A new instance of DBSubnetGroupReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(db_subnet_group_name:) ⇒ DBSubnetGroupReference
Returns a new instance of DBSubnetGroupReference.
8 9 10 11 |
# File 'interfaces/awsrds/db_subnet_group_reference.rb', line 8 def initialize(db_subnet_group_name:) @db_subnet_group_name = db_subnet_group_name Jsii::Type.check_type(@db_subnet_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dbSubnetGroupName") end |
Instance Attribute Details
#db_subnet_group_name ⇒ String (readonly)
The DBSubnetGroupName of the DBSubnetGroup resource.
16 17 18 |
# File 'interfaces/awsrds/db_subnet_group_reference.rb', line 16 def db_subnet_group_name @db_subnet_group_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsrds/db_subnet_group_reference.rb', line 18 def self.jsii_properties { :db_subnet_group_name => "dbSubnetGroupName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsrds/db_subnet_group_reference.rb', line 24 def to_jsii result = {} result.merge!({ "dbSubnetGroupName" => @db_subnet_group_name, }) result.compact end |