Class: AWSCDK::HealthLake::CfnFHIRDatastore::PreloadDataConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
health_lake/cfn_fhir_datastore.rb

Overview

An optional parameter to preload (import) open source Synthea FHIR data upon creation of the data store.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(preload_data_type:) ⇒ PreloadDataConfigProperty

Returns a new instance of PreloadDataConfigProperty.

Parameters:

  • preload_data_type (String)

    The type of preloaded data.



832
833
834
835
# File 'health_lake/cfn_fhir_datastore.rb', line 832

def initialize(preload_data_type:)
  @preload_data_type = preload_data_type
  Jsii::Type.check_type(@preload_data_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "preloadDataType")
end

Instance Attribute Details

#preload_data_typeString (readonly)

The type of preloaded data.

Only Synthea preloaded data is supported.



843
844
845
# File 'health_lake/cfn_fhir_datastore.rb', line 843

def preload_data_type
  @preload_data_type
end

Class Method Details

.jsii_propertiesObject



845
846
847
848
849
# File 'health_lake/cfn_fhir_datastore.rb', line 845

def self.jsii_properties
  {
    :preload_data_type => "preloadDataType",
  }
end

Instance Method Details

#to_jsiiObject



851
852
853
854
855
856
857
# File 'health_lake/cfn_fhir_datastore.rb', line 851

def to_jsii
  result = {}
  result.merge!({
    "preloadDataType" => @preload_data_type,
  })
  result.compact
end