Class: AWSCDK::NimbleStudio::CfnStudio::StudioEncryptionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
nimble_studio/cfn_studio.rb

Overview

Configuration of the encryption method that is used for the studio.

.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_type:, key_arn: nil) ⇒ StudioEncryptionConfigurationProperty

Returns a new instance of StudioEncryptionConfigurationProperty.

Parameters:

  • key_type (String)

    The type of KMS key that is used to encrypt studio data.

    .

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

    The ARN for a KMS key that is used to encrypt studio data.

    .



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_arnString? (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_typeString (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_propertiesObject



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_jsiiObject



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