Skip to content

Create Fhir Datastore

healthlake_create_fhir_datastore R Documentation

Creates a data store that can ingest and export FHIR formatted data

Description

Creates a data store that can ingest and export FHIR formatted data.

Usage

healthlake_create_fhir_datastore(DatastoreName, DatastoreTypeVersion,
  SseConfiguration, PreloadDataConfig, ClientToken, Tags,
  IdentityProviderConfiguration)

Arguments

DatastoreName

The user generated name for the data store.

DatastoreTypeVersion

[required] The FHIR version of the data store. The only supported version is R4.

SseConfiguration

The server-side encryption key configuration for a customer provided encryption key specified for creating a data store.

PreloadDataConfig

Optional parameter to preload data upon creation of the data store. Currently, the only supported preloaded data is synthetic data generated from Synthea.

ClientToken

Optional user provided token used for ensuring idempotency.

Tags

Resource tags that are applied to a data store when it is created.

IdentityProviderConfiguration

The configuration of the identity provider that you want to use for your data store.

Value

A list with the following syntax:

list(
  DatastoreId = "string",
  DatastoreArn = "string",
  DatastoreStatus = "CREATING"|"ACTIVE"|"DELETING"|"DELETED"|"CREATE_FAILED",
  DatastoreEndpoint = "string"
)

Request syntax

svc$create_fhir_datastore(
  DatastoreName = "string",
  DatastoreTypeVersion = "R4",
  SseConfiguration = list(
    KmsEncryptionConfig = list(
      CmkType = "CUSTOMER_MANAGED_KMS_KEY"|"AWS_OWNED_KMS_KEY",
      KmsKeyId = "string"
    )
  ),
  PreloadDataConfig = list(
    PreloadDataType = "SYNTHEA"
  ),
  ClientToken = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  IdentityProviderConfiguration = list(
    AuthorizationStrategy = "SMART_ON_FHIR_V1"|"AWS_AUTH",
    FineGrainedAuthorizationEnabled = TRUE|FALSE,
    Metadata = "string",
    IdpLambdaArn = "string"
  )
)