Class: AWSCDK::Omics::CfnVariantStoreProps

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

Overview

Properties for defining a CfnVariantStore.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, reference:, description: nil, sse_config: nil, tags: nil) ⇒ CfnVariantStoreProps

Returns a new instance of CfnVariantStoreProps.

Parameters:



14
15
16
17
18
19
20
21
22
23
24
25
# File 'omics/cfn_variant_store_props.rb', line 14

def initialize(name:, reference:, description: nil, sse_config: nil, tags: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @reference = reference.is_a?(Hash) ? ::AWSCDK::Omics::CfnVariantStore::ReferenceItemProperty.new(**reference.transform_keys(&:to_sym)) : reference
  Jsii::Type.check_type(@reference, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5WYXJpYW50U3RvcmUuUmVmZXJlbmNlSXRlbVByb3BlcnR5In1dfX0=")), "reference")
  @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::CfnVariantStore::SseConfigProperty.new(**sse_config.transform_keys(&:to_sym)) : sse_config
  Jsii::Type.check_type(@sse_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5WYXJpYW50U3RvcmUuU3NlQ29uZmlnUHJvcGVydHkifV19fQ==")), "sseConfig") unless @sse_config.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.



41
42
43
# File 'omics/cfn_variant_store_props.rb', line 41

def description
  @description
end

#nameString (readonly)

A name for the store.



31
32
33
# File 'omics/cfn_variant_store_props.rb', line 31

def name
  @name
end

#referenceAWSCDK::IResolvable, AWSCDK::Omics::CfnVariantStore::ReferenceItemProperty (readonly)

The genome reference for the store's variants.



36
37
38
# File 'omics/cfn_variant_store_props.rb', line 36

def reference
  @reference
end

#sse_configAWSCDK::IResolvable, ... (readonly)

Server-side encryption (SSE) settings for the store.



46
47
48
# File 'omics/cfn_variant_store_props.rb', line 46

def sse_config
  @sse_config
end

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

Tags for the store.



51
52
53
# File 'omics/cfn_variant_store_props.rb', line 51

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



53
54
55
56
57
58
59
60
61
# File 'omics/cfn_variant_store_props.rb', line 53

def self.jsii_properties
  {
    :name => "name",
    :reference => "reference",
    :description => "description",
    :sse_config => "sseConfig",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



63
64
65
66
67
68
69
70
71
72
73
# File 'omics/cfn_variant_store_props.rb', line 63

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "reference" => @reference,
    "description" => @description,
    "sseConfig" => @sse_config,
    "tags" => @tags,
  })
  result.compact
end