Class: AWSCDK::Omics::CfnVariantStore::SseConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
omics/cfn_variant_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.



665
666
667
668
669
670
# File 'omics/cfn_variant_store.rb', line 665

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.



681
682
683
# File 'omics/cfn_variant_store.rb', line 681

def key_arn
  @key_arn
end

#typeString (readonly)

The encryption type.



676
677
678
# File 'omics/cfn_variant_store.rb', line 676

def type
  @type
end

Class Method Details

.jsii_propertiesObject



683
684
685
686
687
688
# File 'omics/cfn_variant_store.rb', line 683

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

Instance Method Details

#to_jsiiObject



690
691
692
693
694
695
696
697
# File 'omics/cfn_variant_store.rb', line 690

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