Class: AWSCDK::NimbleStudio::CfnStudio::StudioEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NimbleStudio::CfnStudio::StudioEncryptionConfigurationProperty
- Defined in:
- nimble_studio/cfn_studio.rb
Overview
Configuration of the encryption method that is used for the studio.
.Instance Attribute Summary collapse
-
#key_arn ⇒ String?
readonly
The ARN for a KMS key that is used to encrypt studio data.
. -
#key_type ⇒ String
readonly
The type of KMS key that is used to encrypt studio data.
.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_type:, key_arn: nil) ⇒ StudioEncryptionConfigurationProperty
constructor
A new instance of StudioEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_type:, key_arn: nil) ⇒ StudioEncryptionConfigurationProperty
Returns a new instance of StudioEncryptionConfigurationProperty.
616 617 618 619 620 621 |
# File 'nimble_studio/cfn_studio.rb', line 616 def initialize(key_type:, key_arn: nil) @key_type = key_type Jsii::Type.check_type(@key_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyType") @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)
The ARN for a KMS key that is used to encrypt studio data.
.
632 633 634 |
# File 'nimble_studio/cfn_studio.rb', line 632 def key_arn @key_arn end |
#key_type ⇒ String (readonly)
The type of KMS key that is used to encrypt studio data.
.
627 628 629 |
# File 'nimble_studio/cfn_studio.rb', line 627 def key_type @key_type end |
Class Method Details
.jsii_properties ⇒ Object
634 635 636 637 638 639 |
# File 'nimble_studio/cfn_studio.rb', line 634 def self.jsii_properties { :key_type => "keyType", :key_arn => "keyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
641 642 643 644 645 646 647 648 |
# File 'nimble_studio/cfn_studio.rb', line 641 def to_jsii result = {} result.merge!({ "keyType" => @key_type, "keyArn" => @key_arn, }) result.compact end |