Class: AWSCDK::Interfaces::AWSResiliencehubv2::SystemReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSResiliencehubv2::SystemReference
- Defined in:
- interfaces/aws_resiliencehubv2/system_reference.rb
Overview
A reference to a System resource.
Instance Attribute Summary collapse
-
#system_arn ⇒ String
readonly
The SystemArn of the System resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(system_arn:) ⇒ SystemReference
constructor
A new instance of SystemReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(system_arn:) ⇒ SystemReference
Returns a new instance of SystemReference.
8 9 10 11 |
# File 'interfaces/aws_resiliencehubv2/system_reference.rb', line 8 def initialize(system_arn:) @system_arn = system_arn Jsii::Type.check_type(@system_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "systemArn") end |
Instance Attribute Details
#system_arn ⇒ String (readonly)
The SystemArn of the System resource.
16 17 18 |
# File 'interfaces/aws_resiliencehubv2/system_reference.rb', line 16 def system_arn @system_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_resiliencehubv2/system_reference.rb', line 18 def self.jsii_properties { :system_arn => "systemArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_resiliencehubv2/system_reference.rb', line 24 def to_jsii result = {} result.merge!({ "systemArn" => @system_arn, }) result.compact end |