Class: AWSCDK::Omics::CfnReferenceStore::SseConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnReferenceStore::SseConfigProperty
- Defined in:
- omics/cfn_reference_store.rb
Overview
Server-side encryption (SSE) settings for a store.
Instance Attribute Summary collapse
-
#key_arn ⇒ String?
readonly
An encryption key ARN.
-
#type ⇒ String
readonly
The encryption type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, key_arn: nil) ⇒ SseConfigProperty
constructor
A new instance of SseConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, key_arn: nil) ⇒ SseConfigProperty
Returns a new instance of SseConfigProperty.
599 600 601 602 603 604 |
# File 'omics/cfn_reference_store.rb', line 599 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_arn ⇒ String? (readonly)
An encryption key ARN.
615 616 617 |
# File 'omics/cfn_reference_store.rb', line 615 def key_arn @key_arn end |
#type ⇒ String (readonly)
The encryption type.
610 611 612 |
# File 'omics/cfn_reference_store.rb', line 610 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
617 618 619 620 621 622 |
# File 'omics/cfn_reference_store.rb', line 617 def self.jsii_properties { :type => "type", :key_arn => "keyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
624 625 626 627 628 629 630 631 |
# File 'omics/cfn_reference_store.rb', line 624 def to_jsii result = {} result.merge!({ "type" => @type, "keyArn" => @key_arn, }) result.compact end |