Class: AWSCDK::Omics::CfnSequenceStoreProps

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

Overview

Properties for defining a CfnSequenceStore.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, access_log_location: nil, description: nil, e_tag_algorithm_family: nil, fallback_location: nil, propagated_set_level_tags: nil, s3_access_policy: nil, sse_config: nil, tags: nil) ⇒ CfnSequenceStoreProps

Returns a new instance of CfnSequenceStoreProps.

Parameters:

  • name (String)

    A name for the store.

  • access_log_location (String, nil) (defaults to: nil)

    Location of the access logs.

  • description (String, nil) (defaults to: nil)

    A description for the store.

  • e_tag_algorithm_family (String, nil) (defaults to: nil)

    The algorithm family of the ETag.

  • fallback_location (String, nil) (defaults to: nil)

    An S3 location that is used to store files that have failed a direct upload.

  • propagated_set_level_tags (Array<String>, nil) (defaults to: nil)

    The tags keys to propagate to the S3 objects associated with read sets in the sequence store.

  • s3_access_policy (Object, nil) (defaults to: nil)

    The resource policy that controls S3 access on the store.

  • sse_config (AWSCDK::IResolvable, AWSCDK::Omics::CfnSequenceStore::SseConfigProperty, nil) (defaults to: nil)

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

  • tags (Hash{String => String}, nil) (defaults to: nil)

    Tags for the store.



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'omics/cfn_sequence_store_props.rb', line 18

def initialize(name:, access_log_location: nil, description: nil, e_tag_algorithm_family: nil, fallback_location: nil, propagated_set_level_tags: nil, s3_access_policy: nil, sse_config: nil, tags: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @access_log_location = access_log_location
  Jsii::Type.check_type(@access_log_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessLogLocation") unless @access_log_location.nil?
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil?
  @e_tag_algorithm_family = e_tag_algorithm_family
  Jsii::Type.check_type(@e_tag_algorithm_family, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eTagAlgorithmFamily") unless @e_tag_algorithm_family.nil?
  @fallback_location = fallback_location
  Jsii::Type.check_type(@fallback_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fallbackLocation") unless @fallback_location.nil?
  @propagated_set_level_tags = propagated_set_level_tags
  Jsii::Type.check_type(@propagated_set_level_tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "propagatedSetLevelTags") unless @propagated_set_level_tags.nil?
  @s3_access_policy = s3_access_policy
  Jsii::Type.check_type(@s3_access_policy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "s3AccessPolicy") unless @s3_access_policy.nil?
  @sse_config = sse_config.is_a?(Hash) ? ::AWSCDK::Omics::CfnSequenceStore::SseConfigProperty.new(**sse_config.transform_keys(&:to_sym)) : sse_config
  Jsii::Type.check_type(@sse_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vbWljcy5DZm5TZXF1ZW5jZVN0b3JlLlNzZUNvbmZpZ1Byb3BlcnR5In1dfX0=")), "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

#access_log_locationString? (readonly)

Location of the access logs.



48
49
50
# File 'omics/cfn_sequence_store_props.rb', line 48

def access_log_location
  @access_log_location
end

#descriptionString? (readonly)

A description for the store.



53
54
55
# File 'omics/cfn_sequence_store_props.rb', line 53

def description
  @description
end

#e_tag_algorithm_familyString? (readonly)

The algorithm family of the ETag.



58
59
60
# File 'omics/cfn_sequence_store_props.rb', line 58

def e_tag_algorithm_family
  @e_tag_algorithm_family
end

#fallback_locationString? (readonly)

An S3 location that is used to store files that have failed a direct upload.



63
64
65
# File 'omics/cfn_sequence_store_props.rb', line 63

def fallback_location
  @fallback_location
end

#nameString (readonly)

A name for the store.



43
44
45
# File 'omics/cfn_sequence_store_props.rb', line 43

def name
  @name
end

#propagated_set_level_tagsArray<String>? (readonly)

The tags keys to propagate to the S3 objects associated with read sets in the sequence store.



68
69
70
# File 'omics/cfn_sequence_store_props.rb', line 68

def propagated_set_level_tags
  @propagated_set_level_tags
end

#s3_access_policyObject? (readonly)

The resource policy that controls S3 access on the store.



73
74
75
# File 'omics/cfn_sequence_store_props.rb', line 73

def s3_access_policy
  @s3_access_policy
end

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

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



78
79
80
# File 'omics/cfn_sequence_store_props.rb', line 78

def sse_config
  @sse_config
end

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

Tags for the store.



83
84
85
# File 'omics/cfn_sequence_store_props.rb', line 83

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'omics/cfn_sequence_store_props.rb', line 85

def self.jsii_properties
  {
    :name => "name",
    :access_log_location => "accessLogLocation",
    :description => "description",
    :e_tag_algorithm_family => "eTagAlgorithmFamily",
    :fallback_location => "fallbackLocation",
    :propagated_set_level_tags => "propagatedSetLevelTags",
    :s3_access_policy => "s3AccessPolicy",
    :sse_config => "sseConfig",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'omics/cfn_sequence_store_props.rb', line 99

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "accessLogLocation" => @access_log_location,
    "description" => @description,
    "eTagAlgorithmFamily" => @e_tag_algorithm_family,
    "fallbackLocation" => @fallback_location,
    "propagatedSetLevelTags" => @propagated_set_level_tags,
    "s3AccessPolicy" => @s3_access_policy,
    "sseConfig" => @sse_config,
    "tags" => @tags,
  })
  result.compact
end