Class: AWSCDK::Athena::CfnWorkGroup::CustomerContentEncryptionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
athena/cfn_work_group.rb

Overview

Specifies the customer managed KMS key that is used to encrypt the user's data stores in Athena.

When an AWS managed key is used, this value is null. This setting does not apply to Athena SQL workgroups.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kms_key:) ⇒ CustomerContentEncryptionConfigurationProperty

Returns a new instance of CustomerContentEncryptionConfigurationProperty.

Parameters:

  • kms_key (String)

    The customer managed KMS key that is used to encrypt the user's data stores in Athena.



780
781
782
783
# File 'athena/cfn_work_group.rb', line 780

def initialize(kms_key:)
  @kms_key = kms_key
  Jsii::Type.check_type(@kms_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKey")
end

Instance Attribute Details

#kms_keyString (readonly)

The customer managed KMS key that is used to encrypt the user's data stores in Athena.



789
790
791
# File 'athena/cfn_work_group.rb', line 789

def kms_key
  @kms_key
end

Class Method Details

.jsii_propertiesObject



791
792
793
794
795
# File 'athena/cfn_work_group.rb', line 791

def self.jsii_properties
  {
    :kms_key => "kmsKey",
  }
end

Instance Method Details

#to_jsiiObject



797
798
799
800
801
802
803
# File 'athena/cfn_work_group.rb', line 797

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