Class: AWSCDK::SAM::CfnFunction::StateMachineSAMPTProperty

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(state_machine_name:) ⇒ StateMachineSAMPTProperty

Returns a new instance of StateMachineSAMPTProperty.

Parameters:

  • state_machine_name (String)


3341
3342
3343
3344
# File 'sam/cfn_function.rb', line 3341

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

Instance Attribute Details

#state_machine_nameString (readonly)



3348
3349
3350
# File 'sam/cfn_function.rb', line 3348

def state_machine_name
  @state_machine_name
end

Class Method Details

.jsii_propertiesObject



3350
3351
3352
3353
3354
# File 'sam/cfn_function.rb', line 3350

def self.jsii_properties
  {
    :state_machine_name => "stateMachineName",
  }
end

Instance Method Details

#to_jsiiObject



3356
3357
3358
3359
3360
3361
3362
# File 'sam/cfn_function.rb', line 3356

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