Class: AWSCDK::Omics::CfnAnnotationStore::SseConfigProperty

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



696
697
698
699
700
701
# File 'omics/cfn_annotation_store.rb', line 696

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.



712
713
714
# File 'omics/cfn_annotation_store.rb', line 712

def key_arn
  @key_arn
end

#typeString (readonly)

The encryption type.



707
708
709
# File 'omics/cfn_annotation_store.rb', line 707

def type
  @type
end

Class Method Details

.jsii_propertiesObject



714
715
716
717
718
719
# File 'omics/cfn_annotation_store.rb', line 714

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

Instance Method Details

#to_jsiiObject



721
722
723
724
725
726
727
728
# File 'omics/cfn_annotation_store.rb', line 721

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