Class: AWSCDK::Interfaces::AWSStepfunctions::ActivityReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_stepfunctions/activity_reference.rb

Overview

A reference to a Activity resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(activity_arn:) ⇒ ActivityReference

Returns a new instance of ActivityReference.

Parameters:

  • activity_arn (String)

    The Arn of the Activity resource.



8
9
10
11
# File 'interfaces/aws_stepfunctions/activity_reference.rb', line 8

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

Instance Attribute Details

#activity_arnString (readonly)

The Arn of the Activity resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_stepfunctions/activity_reference.rb', line 16

def activity_arn
  @activity_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_stepfunctions/activity_reference.rb', line 18

def self.jsii_properties
  {
    :activity_arn => "activityArn",
  }
end

Instance Method Details

#to_jsiiObject



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

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