@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.705Z") @Stability(value=Stable) public class CfnFHIRDatastore extends CfnResource implements IInspectable
Creates a Data Store that can ingest and export FHIR formatted data.
Please note that when a user tries to do an Update operation via CloudFormation, changes to the Data Store name, Type Version, PreloadDataConfig, or SSEConfiguration will delete their existing Data Store for the stack and create a new one. This will lead to potential loss of data.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.healthlake.*;
CfnFHIRDatastore cfnFHIRDatastore = CfnFHIRDatastore.Builder.create(this, "MyCfnFHIRDatastore")
.datastoreTypeVersion("datastoreTypeVersion")
// the properties below are optional
.datastoreName("datastoreName")
.preloadDataConfig(PreloadDataConfigProperty.builder()
.preloadDataType("preloadDataType")
.build())
.sseConfiguration(SseConfigurationProperty.builder()
.kmsEncryptionConfig(KmsEncryptionConfigProperty.builder()
.cmkType("cmkType")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnFHIRDatastore.Builder
A fluent builder for
CfnFHIRDatastore. |
static interface |
CfnFHIRDatastore.KmsEncryptionConfigProperty
The customer-managed-key(CMK) used when creating a Data Store.
|
static interface |
CfnFHIRDatastore.PreloadDataConfigProperty
Optional parameter to preload data upon creation of the Data Store.
|
static interface |
CfnFHIRDatastore.SseConfigurationProperty
The server-side encryption key configuration for a customer provided encryption key.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFHIRDatastore(software.constructs.Construct scope,
String id,
CfnFHIRDatastoreProps props)
Create a new `AWS::HealthLake::FHIRDatastore`.
|
protected |
CfnFHIRDatastore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFHIRDatastore(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrDatastoreArn()
The Data Store ARN is generated during the creation of the Data Store and can be found in the output from the initial Data Store creation request.
|
String |
getAttrDatastoreEndpoint()
The endpoint for the created Data Store.
|
String |
getAttrDatastoreId()
The Amazon generated Data Store id.
|
String |
getAttrDatastoreStatus()
The status of the FHIR Data Store.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDatastoreName()
The user generated name for the Data Store.
|
String |
getDatastoreTypeVersion()
The FHIR version of the Data Store.
|
Object |
getPreloadDataConfig()
The preloaded data configuration for the Data Store.
|
Object |
getSseConfiguration()
The server-side encryption key configuration for a customer provided encryption key specified for creating a Data Store.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDatastoreName(String value)
The user generated name for the Data Store.
|
void |
setDatastoreTypeVersion(String value)
The FHIR version of the Data Store.
|
void |
setPreloadDataConfig(CfnFHIRDatastore.PreloadDataConfigProperty value)
The preloaded data configuration for the Data Store.
|
void |
setPreloadDataConfig(IResolvable value)
The preloaded data configuration for the Data Store.
|
void |
setSseConfiguration(CfnFHIRDatastore.SseConfigurationProperty value)
The server-side encryption key configuration for a customer provided encryption key specified for creating a Data Store.
|
void |
setSseConfiguration(IResolvable value)
The server-side encryption key configuration for a customer provided encryption key specified for creating a Data Store.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFHIRDatastore(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFHIRDatastore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFHIRDatastore(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFHIRDatastoreProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrDatastoreArn()
@Stability(value=Stable) @NotNull public String getAttrDatastoreEndpoint()
@Stability(value=Stable) @NotNull public String getAttrDatastoreId()
This id is in the output from the initial Data Store creation call.
@Stability(value=Stable) @NotNull public String getAttrDatastoreStatus()
Possible statuses are ‘CREATING’, ‘ACTIVE’, ‘DELETING’, ‘DELETED’.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public String getDatastoreTypeVersion()
The only supported version is R4.
@Stability(value=Stable)
public void setDatastoreTypeVersion(@NotNull
String value)
The only supported version is R4.
@Stability(value=Stable) @Nullable public String getDatastoreName()
@Stability(value=Stable)
public void setDatastoreName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getPreloadDataConfig()
Only data preloaded from Synthea is supported.
@Stability(value=Stable)
public void setPreloadDataConfig(@Nullable
CfnFHIRDatastore.PreloadDataConfigProperty value)
Only data preloaded from Synthea is supported.
@Stability(value=Stable)
public void setPreloadDataConfig(@Nullable
IResolvable value)
Only data preloaded from Synthea is supported.
@Stability(value=Stable) @Nullable public Object getSseConfiguration()
@Stability(value=Stable)
public void setSseConfiguration(@Nullable
CfnFHIRDatastore.SseConfigurationProperty value)
@Stability(value=Stable)
public void setSseConfiguration(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.