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