Class: AWSCDK::ResilienceHubv2::CfnService::AssociatedSystemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResilienceHubv2::CfnService::AssociatedSystemProperty
- Defined in:
- resilience_hubv2/cfn_service.rb
Overview
Instance Attribute Summary collapse
-
#system_arn ⇒ String
readonly
The system ARN.
-
#user_journey_ids ⇒ Array<String>?
readonly
User journey IDs associated with this system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(system_arn:, user_journey_ids: nil) ⇒ AssociatedSystemProperty
constructor
A new instance of AssociatedSystemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(system_arn:, user_journey_ids: nil) ⇒ AssociatedSystemProperty
Returns a new instance of AssociatedSystemProperty.
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_arn ⇒ String (readonly)
The system ARN.
727 728 729 |
# File 'resilience_hubv2/cfn_service.rb', line 727 def system_arn @system_arn end |
#user_journey_ids ⇒ Array<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_properties ⇒ Object
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_jsii ⇒ Object
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 |