Class: AWSCDK::SAM::CfnFunction::StreamSAMPTProperty

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:) ⇒ StreamSAMPTProperty

Returns a new instance of StreamSAMPTProperty.

Parameters:

  • stream_name (String)


3370
3371
3372
3373
# File 'sam/cfn_function.rb', line 3370

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

Instance Attribute Details

#stream_nameString (readonly)



3377
3378
3379
# File 'sam/cfn_function.rb', line 3377

def stream_name
  @stream_name
end

Class Method Details

.jsii_propertiesObject



3379
3380
3381
3382
3383
# File 'sam/cfn_function.rb', line 3379

def self.jsii_properties
  {
    :stream_name => "streamName",
  }
end

Instance Method Details

#to_jsiiObject



3385
3386
3387
3388
3389
3390
3391
# File 'sam/cfn_function.rb', line 3385

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