Class: AWSCDK::Interfaces::AWSNovaact::WorkflowDefinitionReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_novaact/workflow_definition_reference.rb

Overview

A reference to a WorkflowDefinition resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(workflow_definition_arn:) ⇒ WorkflowDefinitionReference

Returns a new instance of WorkflowDefinitionReference.

Parameters:

  • workflow_definition_arn (String)

    The Arn of the WorkflowDefinition resource.



8
9
10
11
# File 'interfaces/aws_novaact/workflow_definition_reference.rb', line 8

def initialize(workflow_definition_arn:)
  @workflow_definition_arn = workflow_definition_arn
  Jsii::Type.check_type(@workflow_definition_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workflowDefinitionArn")
end

Instance Attribute Details

#workflow_definition_arnString (readonly)

The Arn of the WorkflowDefinition resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_novaact/workflow_definition_reference.rb', line 16

def workflow_definition_arn
  @workflow_definition_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_novaact/workflow_definition_reference.rb', line 18

def self.jsii_properties
  {
    :workflow_definition_arn => "workflowDefinitionArn",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_novaact/workflow_definition_reference.rb', line 24

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