Class: AWSCDK::Omics::CfnAnnotationStoreProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
omics/cfn_annotation_store_props.rb

Overview

Properties for defining a CfnAnnotationStore.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:



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 = store_options.is_a?(Hash) ? ::AWSCDK::Omics::CfnAnnotationStore::StoreOptionsProperty.new(**store_options.transform_keys(&:to_sym)) : store_options
  Jsii::Type.check_type(@store_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5Bbm5vdGF0aW9uU3RvcmUuU3RvcmVPcHRpb25zUHJvcGVydHkifV19fQ==")), "storeOptions") unless @store_options.nil?
  @tags = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#descriptionString? (readonly)

A description for the store.



47
48
49
# File 'omics/cfn_annotation_store_props.rb', line 47

def description
  @description
end

#nameString (readonly)

The name of the Annotation Store.



37
38
39
# File 'omics/cfn_annotation_store_props.rb', line 37

def name
  @name
end

#referenceAWSCDK::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_configAWSCDK::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_formatString (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_optionsAWSCDK::IResolvable, ... (readonly)

File parsing options for the annotation store.



62
63
64
# File 'omics/cfn_annotation_store_props.rb', line 62

def store_options
  @store_options
end

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

Tags for the store.



67
68
69
# File 'omics/cfn_annotation_store_props.rb', line 67

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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