Class: AWSCDK::Athena::CfnWorkGroup::ManagedStorageEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Athena::CfnWorkGroup::ManagedStorageEncryptionConfigurationProperty
- Defined in:
- athena/cfn_work_group.rb
Overview
Indicates the encryption configuration for Athena Managed Storage.
If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key
Instance Attribute Summary collapse
-
#kms_key ⇒ String?
readonly
For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_key: nil) ⇒ ManagedStorageEncryptionConfigurationProperty
constructor
A new instance of ManagedStorageEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_key: nil) ⇒ ManagedStorageEncryptionConfigurationProperty
Returns a new instance of ManagedStorageEncryptionConfigurationProperty.
1090 1091 1092 1093 |
# File 'athena/cfn_work_group.rb', line 1090 def initialize(kms_key: nil) @kms_key = kms_key Jsii::Type.check_type(@kms_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKey") unless @kms_key.nil? end |
Instance Attribute Details
#kms_key ⇒ String? (readonly)
For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
1099 1100 1101 |
# File 'athena/cfn_work_group.rb', line 1099 def kms_key @kms_key end |
Class Method Details
.jsii_properties ⇒ Object
1101 1102 1103 1104 1105 |
# File 'athena/cfn_work_group.rb', line 1101 def self.jsii_properties { :kms_key => "kmsKey", } end |
Instance Method Details
#to_jsii ⇒ Object
1107 1108 1109 1110 1111 1112 1113 |
# File 'athena/cfn_work_group.rb', line 1107 def to_jsii result = {} result.merge!({ "kmsKey" => @kms_key, }) result.compact end |