Class: AWSCDK::ObservabilityAdmin::CfnS3TableIntegration::EncryptionConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
observability_admin/cfn_s3_table_integration.rb

Overview

Defines the encryption configuration for S3 Table integrations, including the encryption algorithm and KMS key settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sse_algorithm:, kms_key_arn: nil) ⇒ EncryptionConfigProperty

Returns a new instance of EncryptionConfigProperty.

Parameters:

  • sse_algorithm (String)

    The server-side encryption algorithm used for encrypting data in the S3 Table integration.

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

    The Amazon Resource Name (ARN) of the KMS key used for encryption when using customer-managed keys.



560
561
562
563
564
565
# File 'observability_admin/cfn_s3_table_integration.rb', line 560

def initialize(sse_algorithm:, kms_key_arn: nil)
  @sse_algorithm = sse_algorithm
  Jsii::Type.check_type(@sse_algorithm, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sseAlgorithm")
  @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 KMS key used for encryption when using customer-managed keys.



576
577
578
# File 'observability_admin/cfn_s3_table_integration.rb', line 576

def kms_key_arn
  @kms_key_arn
end

#sse_algorithmString (readonly)

The server-side encryption algorithm used for encrypting data in the S3 Table integration.



571
572
573
# File 'observability_admin/cfn_s3_table_integration.rb', line 571

def sse_algorithm
  @sse_algorithm
end

Class Method Details

.jsii_propertiesObject



578
579
580
581
582
583
# File 'observability_admin/cfn_s3_table_integration.rb', line 578

def self.jsii_properties
  {
    :sse_algorithm => "sseAlgorithm",
    :kms_key_arn => "kmsKeyArn",
  }
end

Instance Method Details

#to_jsiiObject



585
586
587
588
589
590
591
592
# File 'observability_admin/cfn_s3_table_integration.rb', line 585

def to_jsii
  result = {}
  result.merge!({
    "sseAlgorithm" => @sse_algorithm,
    "kmsKeyArn" => @kms_key_arn,
  })
  result.compact
end