Class: AWSCDK::Interfaces::AWSTimestream::TableReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSTimestream::TableReference
- Defined in:
- interfaces/aws_timestream/table_reference.rb
Overview
A reference to a Table resource.
Instance Attribute Summary collapse
-
#database_name ⇒ String
readonly
The DatabaseName of the Table resource.
-
#table_arn ⇒ String
readonly
The ARN of the Table resource.
-
#table_name ⇒ String
readonly
The TableName of the Table resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database_name:, table_arn:, table_name:) ⇒ TableReference
constructor
A new instance of TableReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database_name:, table_arn:, table_name:) ⇒ TableReference
Returns a new instance of TableReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_timestream/table_reference.rb', line 10 def initialize(database_name:, table_arn:, table_name:) @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") @table_arn = table_arn Jsii::Type.check_type(@table_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableArn") @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") end |
Instance Attribute Details
#database_name ⇒ String (readonly)
The DatabaseName of the Table resource.
22 23 24 |
# File 'interfaces/aws_timestream/table_reference.rb', line 22 def database_name @database_name end |
#table_arn ⇒ String (readonly)
The ARN of the Table resource.
26 27 28 |
# File 'interfaces/aws_timestream/table_reference.rb', line 26 def table_arn @table_arn end |
#table_name ⇒ String (readonly)
The TableName of the Table resource.
30 31 32 |
# File 'interfaces/aws_timestream/table_reference.rb', line 30 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_timestream/table_reference.rb', line 32 def self.jsii_properties { :database_name => "databaseName", :table_arn => "tableArn", :table_name => "tableName", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_timestream/table_reference.rb', line 40 def to_jsii result = {} result.merge!({ "databaseName" => @database_name, "tableArn" => @table_arn, "tableName" => @table_name, }) result.compact end |