Class: AWSCDK::Interfaces::AWSGlue::TableReference

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

Overview

A reference to a Table resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_id:) ⇒ TableReference

Returns a new instance of TableReference.

Parameters:

  • table_id (String)

    The Id of the Table resource.



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

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

Instance Attribute Details

#table_idString (readonly)

The Id of the Table resource.

Returns:

  • (String)


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

def table_id
  @table_id
end

Class Method Details

.jsii_propertiesObject



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

def self.jsii_properties
  {
    :table_id => "tableId",
  }
end

Instance Method Details

#to_jsiiObject



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

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