Class: AWSCDK::Interfaces::AWSHealthlake::FHIRDatastoreReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSHealthlake::FHIRDatastoreReference
- Defined in:
- interfaces/aws_healthlake/fhir_datastore_reference.rb
Overview
A reference to a FHIRDatastore resource.
Instance Attribute Summary collapse
-
#datastore_arn ⇒ String
readonly
The ARN of the FHIRDatastore resource.
-
#datastore_id ⇒ String
readonly
The DatastoreId of the FHIRDatastore resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(datastore_arn:, datastore_id:) ⇒ FHIRDatastoreReference
constructor
A new instance of FHIRDatastoreReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(datastore_arn:, datastore_id:) ⇒ FHIRDatastoreReference
Returns a new instance of FHIRDatastoreReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_healthlake/fhir_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_arn ⇒ String (readonly)
The ARN of the FHIRDatastore resource.
19 20 21 |
# File 'interfaces/aws_healthlake/fhir_datastore_reference.rb', line 19 def datastore_arn @datastore_arn end |
#datastore_id ⇒ String (readonly)
The DatastoreId of the FHIRDatastore resource.
23 24 25 |
# File 'interfaces/aws_healthlake/fhir_datastore_reference.rb', line 23 def datastore_id @datastore_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_healthlake/fhir_datastore_reference.rb', line 25 def self.jsii_properties { :datastore_arn => "datastoreArn", :datastore_id => "datastoreId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_healthlake/fhir_datastore_reference.rb', line 32 def to_jsii result = {} result.merge!({ "datastoreArn" => @datastore_arn, "datastoreId" => @datastore_id, }) result.compact end |