Class: AWSCDK::Interfaces::AWSGlue::DatabaseReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_glue/database_reference.rb

Overview

A reference to a Database resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database_name:) ⇒ DatabaseReference

Returns a new instance of DatabaseReference.

Parameters:

  • database_name (String)

    The DatabaseName of the Database resource.



8
9
10
11
# File 'interfaces/aws_glue/database_reference.rb', line 8

def initialize(database_name:)
  @database_name = database_name
  Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName")
end

Instance Attribute Details

#database_nameString (readonly)

The DatabaseName of the Database resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_glue/database_reference.rb', line 16

def database_name
  @database_name
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_glue/database_reference.rb', line 18

def self.jsii_properties
  {
    :database_name => "databaseName",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_glue/database_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "databaseName" => @database_name,
  })
  result.compact
end