Class: AWSCDK::SAM::CfnFunction::StreamSAMPTProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::StreamSAMPTProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #stream_name ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(stream_name:) ⇒ StreamSAMPTProperty
constructor
A new instance of StreamSAMPTProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(stream_name:) ⇒ StreamSAMPTProperty
Returns a new instance of StreamSAMPTProperty.
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_name ⇒ String (readonly)
3377 3378 3379 |
# File 'sam/cfn_function.rb', line 3377 def stream_name @stream_name end |
Class Method Details
.jsii_properties ⇒ Object
3379 3380 3381 3382 3383 |
# File 'sam/cfn_function.rb', line 3379 def self.jsii_properties { :stream_name => "streamName", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |