Class: AWSCDK::Omics::CfnAnnotationStoreProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnAnnotationStoreProps
- Defined in:
- omics/cfn_annotation_store_props.rb
Overview
Properties for defining a CfnAnnotationStore.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A description for the store.
-
#name ⇒ String
readonly
The name of the Annotation Store.
-
#reference ⇒ AWSCDK::IResolvable, ...
readonly
The genome reference for the store's annotations.
-
#sse_config ⇒ AWSCDK::IResolvable, ...
readonly
The store's server-side encryption (SSE) settings.
-
#store_format ⇒ String
readonly
The annotation file format of the store.
-
#store_options ⇒ AWSCDK::IResolvable, ...
readonly
File parsing options for the annotation store.
-
#tags ⇒ Hash{String => String}?
readonly
Tags for the store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, store_format:, description: nil, reference: nil, sse_config: nil, store_options: nil, tags: nil) ⇒ CfnAnnotationStoreProps
constructor
A new instance of CfnAnnotationStoreProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, store_format:, description: nil, reference: nil, sse_config: nil, store_options: nil, tags: nil) ⇒ CfnAnnotationStoreProps
Returns a new instance of CfnAnnotationStoreProps.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'omics/cfn_annotation_store_props.rb', line 16 def initialize(name:, store_format:, description: nil, reference: nil, sse_config: nil, store_options: nil, tags: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @store_format = store_format Jsii::Type.check_type(@store_format, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "storeFormat") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @reference = reference.is_a?(Hash) ? ::AWSCDK::Omics::CfnAnnotationStore::ReferenceItemProperty.new(**reference.transform_keys(&:to_sym)) : reference Jsii::Type.check_type(@reference, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5Bbm5vdGF0aW9uU3RvcmUuUmVmZXJlbmNlSXRlbVByb3BlcnR5In1dfX0=")), "reference") unless @reference.nil? @sse_config = sse_config.is_a?(Hash) ? ::AWSCDK::Omics::CfnAnnotationStore::SseConfigProperty.new(**sse_config.transform_keys(&:to_sym)) : sse_config Jsii::Type.check_type(@sse_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5Bbm5vdGF0aW9uU3RvcmUuU3NlQ29uZmlnUHJvcGVydHkifV19fQ==")), "sseConfig") unless @sse_config.nil? @store_options = .is_a?(Hash) ? ::AWSCDK::Omics::CfnAnnotationStore::StoreOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@store_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5Bbm5vdGF0aW9uU3RvcmUuU3RvcmVPcHRpb25zUHJvcGVydHkifV19fQ==")), "storeOptions") unless @store_options.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.
47 48 49 |
# File 'omics/cfn_annotation_store_props.rb', line 47 def description @description end |
#name ⇒ String (readonly)
The name of the Annotation Store.
37 38 39 |
# File 'omics/cfn_annotation_store_props.rb', line 37 def name @name end |
#reference ⇒ AWSCDK::IResolvable, ... (readonly)
The genome reference for the store's annotations.
52 53 54 |
# File 'omics/cfn_annotation_store_props.rb', line 52 def reference @reference end |
#sse_config ⇒ AWSCDK::IResolvable, ... (readonly)
The store's server-side encryption (SSE) settings.
57 58 59 |
# File 'omics/cfn_annotation_store_props.rb', line 57 def sse_config @sse_config end |
#store_format ⇒ String (readonly)
The annotation file format of the store.
42 43 44 |
# File 'omics/cfn_annotation_store_props.rb', line 42 def store_format @store_format end |
#store_options ⇒ AWSCDK::IResolvable, ... (readonly)
File parsing options for the annotation store.
62 63 64 |
# File 'omics/cfn_annotation_store_props.rb', line 62 def @store_options end |
#tags ⇒ Hash{String => String}? (readonly)
Tags for the store.
67 68 69 |
# File 'omics/cfn_annotation_store_props.rb', line 67 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 |
# File 'omics/cfn_annotation_store_props.rb', line 69 def self.jsii_properties { :name => "name", :store_format => "storeFormat", :description => "description", :reference => "reference", :sse_config => "sseConfig", :store_options => "storeOptions", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'omics/cfn_annotation_store_props.rb', line 81 def to_jsii result = {} result.merge!({ "name" => @name, "storeFormat" => @store_format, "description" => @description, "reference" => @reference, "sseConfig" => @sse_config, "storeOptions" => @store_options, "tags" => @tags, }) result.compact end |