Class: AWSCDK::Wisdom::CfnKnowledgeBase::ServerSideEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnKnowledgeBase::ServerSideEncryptionConfigurationProperty
- Defined in:
- wisdom/cfn_knowledge_base.rb
Overview
The configuration information for the customer managed key used for encryption.
Instance Attribute Summary collapse
-
#kms_key_id ⇒ String?
readonly
The customer managed key used for encryption.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_key_id: nil) ⇒ ServerSideEncryptionConfigurationProperty
constructor
A new instance of ServerSideEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_key_id: nil) ⇒ ServerSideEncryptionConfigurationProperty
Returns a new instance of ServerSideEncryptionConfigurationProperty.
1217 1218 1219 1220 |
# File 'wisdom/cfn_knowledge_base.rb', line 1217 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_id ⇒ String? (readonly)
The customer managed key used for encryption.
This customer managed key must have a policy that allows kms:CreateGrant and kms:DescribeKey permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Connect Customer Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) .
1230 1231 1232 |
# File 'wisdom/cfn_knowledge_base.rb', line 1230 def kms_key_id @kms_key_id end |
Class Method Details
.jsii_properties ⇒ Object
1232 1233 1234 1235 1236 |
# File 'wisdom/cfn_knowledge_base.rb', line 1232 def self.jsii_properties { :kms_key_id => "kmsKeyId", } end |
Instance Method Details
#to_jsii ⇒ Object
1238 1239 1240 1241 1242 1243 1244 |
# File 'wisdom/cfn_knowledge_base.rb', line 1238 def to_jsii result = {} result.merge!({ "kmsKeyId" => @kms_key_id, }) result.compact end |