Class: AWSCDK::Bedrock::CfnDataSource::ServerSideEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataSource::ServerSideEncryptionConfigurationProperty
- Defined in:
- bedrock/cfn_data_source.rb
Overview
Contains the configuration for server-side encryption.
Instance Attribute Summary collapse
-
#kms_key_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the AWS key used to encrypt the resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_key_arn: nil) ⇒ ServerSideEncryptionConfigurationProperty
constructor
A new instance of ServerSideEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_key_arn: nil) ⇒ ServerSideEncryptionConfigurationProperty
Returns a new instance of ServerSideEncryptionConfigurationProperty.
2145 2146 2147 2148 |
# File 'bedrock/cfn_data_source.rb', line 2145 def initialize(kms_key_arn: nil) @kms_key_arn = kms_key_arn Jsii::Type.check_type(@kms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyArn") unless @kms_key_arn.nil? end |
Instance Attribute Details
#kms_key_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the AWS key used to encrypt the resource.
2154 2155 2156 |
# File 'bedrock/cfn_data_source.rb', line 2154 def kms_key_arn @kms_key_arn end |
Class Method Details
.jsii_properties ⇒ Object
2156 2157 2158 2159 2160 |
# File 'bedrock/cfn_data_source.rb', line 2156 def self.jsii_properties { :kms_key_arn => "kmsKeyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
2162 2163 2164 2165 2166 2167 2168 |
# File 'bedrock/cfn_data_source.rb', line 2162 def to_jsii result = {} result.merge!({ "kmsKeyArn" => @kms_key_arn, }) result.compact end |