Class: AWSCDK::Interfaces::AWSResiliencehubv2::SystemReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_resiliencehubv2/system_reference.rb

Overview

A reference to a System resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(system_arn:) ⇒ SystemReference

Returns a new instance of SystemReference.

Parameters:

  • system_arn (String)

    The SystemArn of the System resource.



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_arnString (readonly)

The SystemArn of the System resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_resiliencehubv2/system_reference.rb', line 16

def system_arn
  @system_arn
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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