Class: AWSCDK::Interfaces::AWSResiliencehubv2::UserJourneyReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSResiliencehubv2::UserJourneyReference
- Defined in:
- interfaces/aws_resiliencehubv2/user_journey_reference.rb
Overview
A reference to a UserJourney resource.
Instance Attribute Summary collapse
-
#system_identifier ⇒ String
readonly
The SystemIdentifier of the UserJourney resource.
-
#user_journey_id ⇒ String
readonly
The UserJourneyId of the UserJourney resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(system_identifier:, user_journey_id:) ⇒ UserJourneyReference
constructor
A new instance of UserJourneyReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(system_identifier:, user_journey_id:) ⇒ UserJourneyReference
Returns a new instance of UserJourneyReference.
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_identifier ⇒ String (readonly)
The SystemIdentifier of the UserJourney resource.
19 20 21 |
# File 'interfaces/aws_resiliencehubv2/user_journey_reference.rb', line 19 def system_identifier @system_identifier end |
#user_journey_id ⇒ String (readonly)
The UserJourneyId of the UserJourney resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |