Class: AWSCDK::RoboMaker::CfnSimulationApplication::RobotSoftwareSuiteProperty

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

Overview

Information about a robot software suite.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RobotSoftwareSuiteProperty.

Parameters:

  • name (String)

    The name of the robot software suite.

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

    The version of the robot software suite.



662
663
664
665
666
667
# File 'robo_maker/cfn_simulation_application.rb', line 662

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 robot software suite.

General is the only supported value.



675
676
677
# File 'robo_maker/cfn_simulation_application.rb', line 675

def name
  @name
end

#versionString? (readonly)

The version of the robot software suite.

Not applicable for General software suite.



682
683
684
# File 'robo_maker/cfn_simulation_application.rb', line 682

def version
  @version
end

Class Method Details

.jsii_propertiesObject



684
685
686
687
688
689
# File 'robo_maker/cfn_simulation_application.rb', line 684

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

Instance Method Details

#to_jsiiObject



691
692
693
694
695
696
697
698
# File 'robo_maker/cfn_simulation_application.rb', line 691

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