Class: AWSCDK::SecurityLake::CfnDataLake::EncryptionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
security_lake/cfn_data_lake.rb

Overview

Provides encryption details of the Amazon Security Lake object.

The AWS shared responsibility model applies to data protection in Amazon Security Lake . As described in this model, AWS is responsible for protecting the global infrastructure that runs all of the AWS Cloud. You are responsible for maintaining control over your content that is hosted on this infrastructure. For more details, see Data protection in the Amazon Security Lake User Guide.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kms_key_id: nil) ⇒ EncryptionConfigurationProperty

Returns a new instance of EncryptionConfigurationProperty.

Parameters:

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

    The ID of KMS encryption key used by Amazon Security Lake to encrypt the Security Lake object.



588
589
590
591
# File 'security_lake/cfn_data_lake.rb', line 588

def initialize(kms_key_id: nil)
  @kms_key_id = kms_key_id
  Jsii::Type.check_type(@kms_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyId") unless @kms_key_id.nil?
end

Instance Attribute Details

#kms_key_idString? (readonly)

The ID of KMS encryption key used by Amazon Security Lake to encrypt the Security Lake object.



597
598
599
# File 'security_lake/cfn_data_lake.rb', line 597

def kms_key_id
  @kms_key_id
end

Class Method Details

.jsii_propertiesObject



599
600
601
602
603
# File 'security_lake/cfn_data_lake.rb', line 599

def self.jsii_properties
  {
    :kms_key_id => "kmsKeyId",
  }
end

Instance Method Details

#to_jsiiObject



605
606
607
608
609
610
611
# File 'security_lake/cfn_data_lake.rb', line 605

def to_jsii
  result = {}
  result.merge!({
    "kmsKeyId" => @kms_key_id,
  })
  result.compact
end