Class CfnDatastore

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:52.601Z") @Stability(Stable) public class CfnDatastore extends CfnResource implements IInspectable, ITaggableV2
Create a data store.

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.healthimaging.*;
 CfnDatastore cfnDatastore = CfnDatastore.Builder.create(this, "MyCfnDatastore")
         .datastoreName("datastoreName")
         .kmsKeyArn("kmsKeyArn")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDatastore

      protected CfnDatastore(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDatastore

      protected CfnDatastore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDatastore

      @Stability(Stable) public CfnDatastore(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDatastoreProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnDatastore

      @Stability(Stable) public CfnDatastore(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the data store was created.
    • getAttrDatastoreArn

      @Stability(Stable) @NotNull public String getAttrDatastoreArn()
      The Amazon Resource Name (ARN) for the data store.
    • getAttrDatastoreId

      @Stability(Stable) @NotNull public String getAttrDatastoreId()
      The data store identifier.
    • getAttrDatastoreStatus

      @Stability(Stable) @NotNull public String getAttrDatastoreStatus()
      The data store status.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the data store was last updated.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDatastoreName

      @Stability(Stable) @Nullable public String getDatastoreName()
      The data store name.
    • setDatastoreName

      @Stability(Stable) public void setDatastoreName(@Nullable String value)
      The data store name.
    • getKmsKeyArn

      @Stability(Stable) @Nullable public String getKmsKeyArn()
      The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
    • setKmsKeyArn

      @Stability(Stable) public void setKmsKeyArn(@Nullable String value)
      The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
      The tags provided when creating a data store.
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)
      The tags provided when creating a data store.