Class: AWSCDK::SAM::CfnStateMachine::StateMachineSAMPTProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_state_machine.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)


1105
1106
1107
1108
# File 'sam/cfn_state_machine.rb', line 1105

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)



1112
1113
1114
# File 'sam/cfn_state_machine.rb', line 1112

def state_machine_name
  @state_machine_name
end

Class Method Details

.jsii_propertiesObject



1114
1115
1116
1117
1118
# File 'sam/cfn_state_machine.rb', line 1114

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

Instance Method Details

#to_jsiiObject



1120
1121
1122
1123
1124
1125
1126
# File 'sam/cfn_state_machine.rb', line 1120

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