Class: AWSCDK::RoboMaker::CfnRobotApplication::RobotSoftwareSuiteProperty

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



591
592
593
594
595
596
# File 'robo_maker/cfn_robot_application.rb', line 591

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.



604
605
606
# File 'robo_maker/cfn_robot_application.rb', line 604

def name
  @name
end

#versionString? (readonly)

The version of the robot software suite.

Not applicable for General software suite.



611
612
613
# File 'robo_maker/cfn_robot_application.rb', line 611

def version
  @version
end

Class Method Details

.jsii_propertiesObject



613
614
615
616
617
618
# File 'robo_maker/cfn_robot_application.rb', line 613

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

Instance Method Details

#to_jsiiObject



620
621
622
623
624
625
626
627
# File 'robo_maker/cfn_robot_application.rb', line 620

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