Class: AWSCDK::Interfaces::AWSQLDB::StreamReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSQLDB::StreamReference
- Defined in:
- interfaces/awsqldb/stream_reference.rb
Overview
A reference to a Stream resource.
Instance Attribute Summary collapse
-
#ledger_name ⇒ String
readonly
The LedgerName of the Stream resource.
-
#stream_arn ⇒ String
readonly
The ARN of the Stream resource.
-
#stream_id ⇒ String
readonly
The Id of the Stream resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ledger_name:, stream_arn:, stream_id:) ⇒ StreamReference
constructor
A new instance of StreamReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ledger_name:, stream_arn:, stream_id:) ⇒ StreamReference
Returns a new instance of StreamReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/awsqldb/stream_reference.rb', line 10 def initialize(ledger_name:, stream_arn:, stream_id:) @ledger_name = ledger_name Jsii::Type.check_type(@ledger_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ledgerName") @stream_arn = stream_arn Jsii::Type.check_type(@stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamArn") @stream_id = stream_id Jsii::Type.check_type(@stream_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamId") end |
Instance Attribute Details
#ledger_name ⇒ String (readonly)
The LedgerName of the Stream resource.
22 23 24 |
# File 'interfaces/awsqldb/stream_reference.rb', line 22 def ledger_name @ledger_name end |
#stream_arn ⇒ String (readonly)
The ARN of the Stream resource.
26 27 28 |
# File 'interfaces/awsqldb/stream_reference.rb', line 26 def stream_arn @stream_arn end |
#stream_id ⇒ String (readonly)
The Id of the Stream resource.
30 31 32 |
# File 'interfaces/awsqldb/stream_reference.rb', line 30 def stream_id @stream_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/awsqldb/stream_reference.rb', line 32 def self.jsii_properties { :ledger_name => "ledgerName", :stream_arn => "streamArn", :stream_id => "streamId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/awsqldb/stream_reference.rb', line 40 def to_jsii result = {} result.merge!({ "ledgerName" => @ledger_name, "streamArn" => @stream_arn, "streamId" => @stream_id, }) result.compact end |