Class: AWSCDK::SAM::CfnFunction::TableStreamSAMPTProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::TableStreamSAMPTProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #stream_name ⇒ String readonly
- #table_name ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(stream_name:, table_name:) ⇒ TableStreamSAMPTProperty
constructor
A new instance of TableStreamSAMPTProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(stream_name:, table_name:) ⇒ TableStreamSAMPTProperty
Returns a new instance of TableStreamSAMPTProperty.
3429 3430 3431 3432 3433 3434 |
# File 'sam/cfn_function.rb', line 3429 def initialize(stream_name:, table_name:) @stream_name = stream_name Jsii::Type.check_type(@stream_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamName") @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") end |
Instance Attribute Details
#stream_name ⇒ String (readonly)
3438 3439 3440 |
# File 'sam/cfn_function.rb', line 3438 def stream_name @stream_name end |
#table_name ⇒ String (readonly)
3441 3442 3443 |
# File 'sam/cfn_function.rb', line 3441 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
3443 3444 3445 3446 3447 3448 |
# File 'sam/cfn_function.rb', line 3443 def self.jsii_properties { :stream_name => "streamName", :table_name => "tableName", } end |
Instance Method Details
#to_jsii ⇒ Object
3450 3451 3452 3453 3454 3455 3456 3457 |
# File 'sam/cfn_function.rb', line 3450 def to_jsii result = {} result.merge!({ "streamName" => @stream_name, "tableName" => @table_name, }) result.compact end |