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