Class: AWSCDK::ResilienceHubv2::CfnService::AssociatedSystemProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
resilience_hubv2/cfn_service.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(system_arn:, user_journey_ids: nil) ⇒ AssociatedSystemProperty

Returns a new instance of AssociatedSystemProperty.

Parameters:

  • system_arn (String)

    The system ARN.

  • user_journey_ids (Array<String>, nil) (defaults to: nil)

    User journey IDs associated with this system.



716
717
718
719
720
721
# File 'resilience_hubv2/cfn_service.rb', line 716

def initialize(system_arn:, user_journey_ids: nil)
  @system_arn = system_arn
  Jsii::Type.check_type(@system_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "systemArn")
  @user_journey_ids = user_journey_ids
  Jsii::Type.check_type(@user_journey_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "userJourneyIds") unless @user_journey_ids.nil?
end

Instance Attribute Details

#system_arnString (readonly)

The system ARN.



727
728
729
# File 'resilience_hubv2/cfn_service.rb', line 727

def system_arn
  @system_arn
end

#user_journey_idsArray<String>? (readonly)

User journey IDs associated with this system.



732
733
734
# File 'resilience_hubv2/cfn_service.rb', line 732

def user_journey_ids
  @user_journey_ids
end

Class Method Details

.jsii_propertiesObject



734
735
736
737
738
739
# File 'resilience_hubv2/cfn_service.rb', line 734

def self.jsii_properties
  {
    :system_arn => "systemArn",
    :user_journey_ids => "userJourneyIds",
  }
end

Instance Method Details

#to_jsiiObject



741
742
743
744
745
746
747
748
# File 'resilience_hubv2/cfn_service.rb', line 741

def to_jsii
  result = {}
  result.merge!({
    "systemArn" => @system_arn,
    "userJourneyIds" => @user_journey_ids,
  })
  result.compact
end