Class: AWSCDK::OSIS::CfnPipeline::EncryptionAtRestOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
osis/cfn_pipeline.rb

Overview

Options to control how OpenSearch encrypts buffer data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kms_key_arn:) ⇒ EncryptionAtRestOptionsProperty

Returns a new instance of EncryptionAtRestOptionsProperty.

Parameters:

  • kms_key_arn (String)

    The ARN of the KMS key used to encrypt buffer data.



746
747
748
749
# File 'osis/cfn_pipeline.rb', line 746

def initialize(kms_key_arn:)
  @kms_key_arn = kms_key_arn
  Jsii::Type.check_type(@kms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyArn")
end

Instance Attribute Details

#kms_key_arnString (readonly)

The ARN of the KMS key used to encrypt buffer data.

By default, data is encrypted using an AWS owned key.



757
758
759
# File 'osis/cfn_pipeline.rb', line 757

def kms_key_arn
  @kms_key_arn
end

Class Method Details

.jsii_propertiesObject



759
760
761
762
763
# File 'osis/cfn_pipeline.rb', line 759

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

Instance Method Details

#to_jsiiObject



765
766
767
768
769
770
771
# File 'osis/cfn_pipeline.rb', line 765

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