Class: AWSCDK::RoboMaker::CfnSimulationApplication::SimulationSoftwareSuiteProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
robo_maker/cfn_simulation_application.rb

Overview

Information about a simulation software suite.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, version: nil) ⇒ SimulationSoftwareSuiteProperty

Returns a new instance of SimulationSoftwareSuiteProperty.

Parameters:

  • name (String)

    The name of the simulation software suite.

  • version (String, nil) (defaults to: nil)

    The version of the simulation software suite.



709
710
711
712
713
714
# File 'robo_maker/cfn_simulation_application.rb', line 709

def initialize(name:, version: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @version = version
  Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil?
end

Instance Attribute Details

#nameString (readonly)

The name of the simulation software suite.

SimulationRuntime is the only supported value.



722
723
724
# File 'robo_maker/cfn_simulation_application.rb', line 722

def name
  @name
end

#versionString? (readonly)

The version of the simulation software suite.

Not applicable for SimulationRuntime .



729
730
731
# File 'robo_maker/cfn_simulation_application.rb', line 729

def version
  @version
end

Class Method Details

.jsii_propertiesObject



731
732
733
734
735
736
# File 'robo_maker/cfn_simulation_application.rb', line 731

def self.jsii_properties
  {
    :name => "name",
    :version => "version",
  }
end

Instance Method Details

#to_jsiiObject



738
739
740
741
742
743
744
745
# File 'robo_maker/cfn_simulation_application.rb', line 738

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