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