Class: AWSCDK::Interfaces::AWSRobomaker::RobotReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRobomaker::RobotReference
- Defined in:
- interfaces/aws_robomaker/robot_reference.rb
Overview
A reference to a Robot resource.
Instance Attribute Summary collapse
-
#robot_arn ⇒ String
readonly
The Arn of the Robot resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(robot_arn:) ⇒ RobotReference
constructor
A new instance of RobotReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(robot_arn:) ⇒ RobotReference
Returns a new instance of RobotReference.
8 9 10 11 |
# File 'interfaces/aws_robomaker/robot_reference.rb', line 8 def initialize(robot_arn:) @robot_arn = robot_arn Jsii::Type.check_type(@robot_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "robotArn") end |
Instance Attribute Details
#robot_arn ⇒ String (readonly)
The Arn of the Robot resource.
16 17 18 |
# File 'interfaces/aws_robomaker/robot_reference.rb', line 16 def robot_arn @robot_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_robomaker/robot_reference.rb', line 18 def self.jsii_properties { :robot_arn => "robotArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_robomaker/robot_reference.rb', line 24 def to_jsii result = {} result.merge!({ "robotArn" => @robot_arn, }) result.compact end |