Class: AWSCDK::Athena::CfnWorkGroup::CustomerContentEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Athena::CfnWorkGroup::CustomerContentEncryptionConfigurationProperty
- 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
-
#kms_key ⇒ String
readonly
The customer managed KMS key that is used to encrypt the user's data stores in Athena.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_key:) ⇒ CustomerContentEncryptionConfigurationProperty
constructor
A new instance of CustomerContentEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_key:) ⇒ CustomerContentEncryptionConfigurationProperty
Returns a new instance of CustomerContentEncryptionConfigurationProperty.
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_key ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |