Class: AWSCDK::Interfaces::AWSResiliencehubv2::UserJourneyReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_resiliencehubv2/user_journey_reference.rb

Overview

A reference to a UserJourney resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(system_identifier:, user_journey_id:) ⇒ UserJourneyReference

Returns a new instance of UserJourneyReference.

Parameters:

  • system_identifier (String)

    The SystemIdentifier of the UserJourney resource.

  • user_journey_id (String)

    The UserJourneyId of the UserJourney resource.



9
10
11
12
13
14
# File 'interfaces/aws_resiliencehubv2/user_journey_reference.rb', line 9

def initialize(system_identifier:, user_journey_id:)
  @system_identifier = system_identifier
  Jsii::Type.check_type(@system_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "systemIdentifier")
  @user_journey_id = user_journey_id
  Jsii::Type.check_type(@user_journey_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userJourneyId")
end

Instance Attribute Details

#system_identifierString (readonly)

The SystemIdentifier of the UserJourney resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_resiliencehubv2/user_journey_reference.rb', line 19

def system_identifier
  @system_identifier
end

#user_journey_idString (readonly)

The UserJourneyId of the UserJourney resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_resiliencehubv2/user_journey_reference.rb', line 23

def user_journey_id
  @user_journey_id
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_resiliencehubv2/user_journey_reference.rb', line 25

def self.jsii_properties
  {
    :system_identifier => "systemIdentifier",
    :user_journey_id => "userJourneyId",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_resiliencehubv2/user_journey_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "systemIdentifier" => @system_identifier,
    "userJourneyId" => @user_journey_id,
  })
  result.compact
end