Class: AWSCDK::Interfaces::AWSHealthimaging::DatastoreReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_healthimaging/datastore_reference.rb

Overview

A reference to a Datastore resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datastore_arn:, datastore_id:) ⇒ DatastoreReference

Returns a new instance of DatastoreReference.

Parameters:

  • datastore_arn (String)

    The ARN of the Datastore resource.

  • datastore_id (String)

    The DatastoreId of the Datastore resource.



9
10
11
12
13
14
# File 'interfaces/aws_healthimaging/datastore_reference.rb', line 9

def initialize(datastore_arn:, datastore_id:)
  @datastore_arn = datastore_arn
  Jsii::Type.check_type(@datastore_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "datastoreArn")
  @datastore_id = datastore_id
  Jsii::Type.check_type(@datastore_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "datastoreId")
end

Instance Attribute Details

#datastore_arnString (readonly)

The ARN of the Datastore resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_healthimaging/datastore_reference.rb', line 19

def datastore_arn
  @datastore_arn
end

#datastore_idString (readonly)

The DatastoreId of the Datastore resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_healthimaging/datastore_reference.rb', line 23

def datastore_id
  @datastore_id
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_healthimaging/datastore_reference.rb', line 25

def self.jsii_properties
  {
    :datastore_arn => "datastoreArn",
    :datastore_id => "datastoreId",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_healthimaging/datastore_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "datastoreArn" => @datastore_arn,
    "datastoreId" => @datastore_id,
  })
  result.compact
end