Class: AWSCDK::Omics::CfnReferenceStoreProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnReferenceStoreProps
- Defined in:
- omics/cfn_reference_store_props.rb
Overview
Properties for defining a CfnReferenceStore.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A description for the store.
-
#name ⇒ String
readonly
A name for the store.
-
#sse_config ⇒ AWSCDK::IResolvable, ...
readonly
Server-side encryption (SSE) settings for the store.
-
#tags ⇒ Hash{String => String}?
readonly
Tags for the store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, description: nil, sse_config: nil, tags: nil) ⇒ CfnReferenceStoreProps
constructor
A new instance of CfnReferenceStoreProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, description: nil, sse_config: nil, tags: nil) ⇒ CfnReferenceStoreProps
Returns a new instance of CfnReferenceStoreProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'omics/cfn_reference_store_props.rb', line 13 def initialize(name:, description: nil, sse_config: nil, tags: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @sse_config = sse_config.is_a?(Hash) ? ::AWSCDK::Omics::CfnReferenceStore::SseConfigProperty.new(**sse_config.transform_keys(&:to_sym)) : sse_config Jsii::Type.check_type(@sse_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5SZWZlcmVuY2VTdG9yZS5Tc2VDb25maWdQcm9wZXJ0eSJ9XX19")), "sseConfig") unless @sse_config.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
A description for the store.
33 34 35 |
# File 'omics/cfn_reference_store_props.rb', line 33 def description @description end |
#name ⇒ String (readonly)
A name for the store.
28 29 30 |
# File 'omics/cfn_reference_store_props.rb', line 28 def name @name end |
#sse_config ⇒ AWSCDK::IResolvable, ... (readonly)
Server-side encryption (SSE) settings for the store.
38 39 40 |
# File 'omics/cfn_reference_store_props.rb', line 38 def sse_config @sse_config end |
#tags ⇒ Hash{String => String}? (readonly)
Tags for the store.
43 44 45 |
# File 'omics/cfn_reference_store_props.rb', line 43 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'omics/cfn_reference_store_props.rb', line 45 def self.jsii_properties { :name => "name", :description => "description", :sse_config => "sseConfig", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'omics/cfn_reference_store_props.rb', line 54 def to_jsii result = {} result.merge!({ "name" => @name, "description" => @description, "sseConfig" => @sse_config, "tags" => @tags, }) result.compact end |