Class: AWSCDK::Bedrock::CfnDataSource::ServerSideEncryptionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_data_source.rb

Overview

Contains the configuration for server-side encryption.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kms_key_arn: nil) ⇒ ServerSideEncryptionConfigurationProperty

Returns a new instance of ServerSideEncryptionConfigurationProperty.

Parameters:

  • kms_key_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the AWS key used to encrypt the resource.



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_arnString? (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_propertiesObject



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_jsiiObject



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