Class: AWSCDK::HealthImaging::CfnDatastoreProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::HealthImaging::CfnDatastoreProps
- Defined in:
- health_imaging/cfn_datastore_props.rb
Overview
Properties for defining a CfnDatastore.
Instance Attribute Summary collapse
-
#datastore_name ⇒ String?
readonly
The data store name.
-
#kms_key_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
-
#tags ⇒ Hash{String => String}?
readonly
The tags provided when creating a data store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(datastore_name: nil, kms_key_arn: nil, tags: nil) ⇒ CfnDatastoreProps
constructor
A new instance of CfnDatastoreProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(datastore_name: nil, kms_key_arn: nil, tags: nil) ⇒ CfnDatastoreProps
Returns a new instance of CfnDatastoreProps.
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 = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#datastore_name ⇒ String? (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_arn ⇒ String? (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 |
#tags ⇒ Hash{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 end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |