Class: AWSCDK::RoboMaker::CfnSimulationApplication::RobotSoftwareSuiteProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RoboMaker::CfnSimulationApplication::RobotSoftwareSuiteProperty
- Defined in:
- robo_maker/cfn_simulation_application.rb
Overview
Information about a robot software suite.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the robot software suite.
-
#version ⇒ String?
readonly
The version of the robot software suite.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, version: nil) ⇒ RobotSoftwareSuiteProperty
constructor
A new instance of RobotSoftwareSuiteProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, version: nil) ⇒ RobotSoftwareSuiteProperty
Returns a new instance of RobotSoftwareSuiteProperty.
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
#name ⇒ String (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 |
#version ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |