Class: AWSCDK::Omics::CfnSequenceStore::SseConfigProperty

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, key_arn: nil) ⇒ SseConfigProperty

Returns a new instance of SseConfigProperty.

Parameters:

  • type (String)

    The encryption type.

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

    An encryption key ARN.



704
705
706
707
708
709
# File 'omics/cfn_sequence_store.rb', line 704

def initialize(type:, key_arn: nil)
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  @key_arn = key_arn
  Jsii::Type.check_type(@key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyArn") unless @key_arn.nil?
end

Instance Attribute Details

#key_arnString? (readonly)

An encryption key ARN.



720
721
722
# File 'omics/cfn_sequence_store.rb', line 720

def key_arn
  @key_arn
end

#typeString (readonly)

The encryption type.



715
716
717
# File 'omics/cfn_sequence_store.rb', line 715

def type
  @type
end

Class Method Details

.jsii_propertiesObject



722
723
724
725
726
727
# File 'omics/cfn_sequence_store.rb', line 722

def self.jsii_properties
  {
    :type => "type",
    :key_arn => "keyArn",
  }
end

Instance Method Details

#to_jsiiObject



729
730
731
732
733
734
735
736
# File 'omics/cfn_sequence_store.rb', line 729

def to_jsii
  result = {}
  result.merge!({
    "type" => @type,
    "keyArn" => @key_arn,
  })
  result.compact
end