Class: AWSCDK::HealthImaging::CfnDatastoreProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
health_imaging/cfn_datastore_props.rb

Overview

Properties for defining a CfnDatastore.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datastore_name: nil, kms_key_arn: nil, tags: nil) ⇒ CfnDatastoreProps

Returns a new instance of CfnDatastoreProps.

Parameters:

  • datastore_name (String, nil) (defaults to: nil)

    The data store name.

  • kms_key_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.

  • tags (Hash{String => String}, nil) (defaults to: nil)

    The tags provided when creating a data store.



12
13
14
15
16
17
18
19
# File 'health_imaging/cfn_datastore_props.rb', line 12

def initialize(datastore_name: nil, kms_key_arn: nil, tags: nil)
  @datastore_name = datastore_name
  Jsii::Type.check_type(@datastore_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "datastoreName") unless @datastore_name.nil?
  @kms_key_arn = kms_key_arn
  Jsii::Type.check_type(@kms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyArn") unless @kms_key_arn.nil?
  @tags = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#datastore_nameString? (readonly)

The data store name.



25
26
27
# File 'health_imaging/cfn_datastore_props.rb', line 25

def datastore_name
  @datastore_name
end

#kms_key_arnString? (readonly)

The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.



30
31
32
# File 'health_imaging/cfn_datastore_props.rb', line 30

def kms_key_arn
  @kms_key_arn
end

#tagsHash{String => String}? (readonly)

The tags provided when creating a data store.



35
36
37
# File 'health_imaging/cfn_datastore_props.rb', line 35

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



37
38
39
40
41
42
43
# File 'health_imaging/cfn_datastore_props.rb', line 37

def self.jsii_properties
  {
    :datastore_name => "datastoreName",
    :kms_key_arn => "kmsKeyArn",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



45
46
47
48
49
50
51
52
53
# File 'health_imaging/cfn_datastore_props.rb', line 45

def to_jsii
  result = {}
  result.merge!({
    "datastoreName" => @datastore_name,
    "kmsKeyArn" => @kms_key_arn,
    "tags" => @tags,
  })
  result.compact
end