Class: AWSCDK::SAM::CfnFunction::TableStreamSAMPTProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_function.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stream_name:, table_name:) ⇒ TableStreamSAMPTProperty

Returns a new instance of TableStreamSAMPTProperty.

Parameters:

  • stream_name (String)
  • table_name (String)


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_nameString (readonly)



3438
3439
3440
# File 'sam/cfn_function.rb', line 3438

def stream_name
  @stream_name
end

#table_nameString (readonly)



3441
3442
3443
# File 'sam/cfn_function.rb', line 3441

def table_name
  @table_name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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