Class: AWSCDK::ResilienceHubv2::CfnUserJourneyProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResilienceHubv2::CfnUserJourneyProps
- Defined in:
- resilience_hubv2/cfn_user_journey_props.rb
Overview
Properties for defining a CfnUserJourney.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the user journey.
-
#name ⇒ String
readonly
The name of the user journey.
-
#policy_arn ⇒ String?
readonly
The ARN of the resilience policy to associate with this user journey.
-
#system_identifier ⇒ String
readonly
The system ARN or system ID that owns this user journey.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, system_identifier:, description: nil, policy_arn: nil) ⇒ CfnUserJourneyProps
constructor
A new instance of CfnUserJourneyProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, system_identifier:, description: nil, policy_arn: nil) ⇒ CfnUserJourneyProps
Returns a new instance of CfnUserJourneyProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 13 def initialize(name:, system_identifier:, description: nil, policy_arn: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @system_identifier = system_identifier Jsii::Type.check_type(@system_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "systemIdentifier") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @policy_arn = policy_arn Jsii::Type.check_type(@policy_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "policyArn") unless @policy_arn.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The description of the user journey.
38 39 40 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 38 def description @description end |
#name ⇒ String (readonly)
The name of the user journey.
28 29 30 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 28 def name @name end |
#policy_arn ⇒ String? (readonly)
The ARN of the resilience policy to associate with this user journey.
43 44 45 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 43 def policy_arn @policy_arn end |
#system_identifier ⇒ String (readonly)
The system ARN or system ID that owns this user journey.
33 34 35 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 33 def system_identifier @system_identifier end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 45 def self.jsii_properties { :name => "name", :system_identifier => "systemIdentifier", :description => "description", :policy_arn => "policyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'resilience_hubv2/cfn_user_journey_props.rb', line 54 def to_jsii result = {} result.merge!({ "name" => @name, "systemIdentifier" => @system_identifier, "description" => @description, "policyArn" => @policy_arn, }) result.compact end |