Class: AWSCDK::Interfaces::AWSNeptune::DBInstanceReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_neptune/db_instance_reference.rb

Overview

A reference to a DBInstance resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db_instance_identifier:) ⇒ DBInstanceReference

Returns a new instance of DBInstanceReference.

Parameters:

  • db_instance_identifier (String)

    The DBInstanceIdentifier of the DBInstance resource.



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_identifierString (readonly)

The DBInstanceIdentifier of the DBInstance resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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