Class: AWSCDK::CleanRooms::CfnCollaboration::DataEncryptionMetadataProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms/cfn_collaboration.rb

Overview

The settings for client-side encryption for cryptographic computing.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allow_cleartext:, allow_duplicates:, allow_joins_on_columns_with_different_names:, preserve_nulls:) ⇒ DataEncryptionMetadataProperty

Returns a new instance of DataEncryptionMetadataProperty.

Parameters:

  • allow_cleartext (Boolean, AWSCDK::IResolvable)

    Indicates whether encrypted tables can contain cleartext data ( TRUE ) or are to cryptographically process every column ( FALSE ).

  • allow_duplicates (Boolean, AWSCDK::IResolvable)

    Indicates whether Fingerprint columns can contain duplicate entries ( TRUE ) or are to contain only non-repeated values ( FALSE ).

  • allow_joins_on_columns_with_different_names (Boolean, AWSCDK::IResolvable)

    Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( TRUE ) or can only be joined on Fingerprint columns of the same name ( FALSE ).

  • preserve_nulls (Boolean, AWSCDK::IResolvable)

    Indicates whether NULL values are to be copied as NULL to encrypted tables ( TRUE ) or cryptographically processed ( FALSE ).



715
716
717
718
719
720
721
722
723
724
# File 'clean_rooms/cfn_collaboration.rb', line 715

def initialize(allow_cleartext:, allow_duplicates:, allow_joins_on_columns_with_different_names:, preserve_nulls:)
  @allow_cleartext = allow_cleartext
  Jsii::Type.check_type(@allow_cleartext, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "allowCleartext")
  @allow_duplicates = allow_duplicates
  Jsii::Type.check_type(@allow_duplicates, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "allowDuplicates")
  @allow_joins_on_columns_with_different_names = allow_joins_on_columns_with_different_names
  Jsii::Type.check_type(@allow_joins_on_columns_with_different_names, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "allowJoinsOnColumnsWithDifferentNames")
  @preserve_nulls = preserve_nulls
  Jsii::Type.check_type(@preserve_nulls, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "preserveNulls")
end

Instance Attribute Details

#allow_cleartextBoolean, AWSCDK::IResolvable (readonly)

Indicates whether encrypted tables can contain cleartext data ( TRUE ) or are to cryptographically process every column ( FALSE ).



730
731
732
# File 'clean_rooms/cfn_collaboration.rb', line 730

def allow_cleartext
  @allow_cleartext
end

#allow_duplicatesBoolean, AWSCDK::IResolvable (readonly)

Indicates whether Fingerprint columns can contain duplicate entries ( TRUE ) or are to contain only non-repeated values ( FALSE ).



735
736
737
# File 'clean_rooms/cfn_collaboration.rb', line 735

def allow_duplicates
  @allow_duplicates
end

#allow_joins_on_columns_with_different_namesBoolean, AWSCDK::IResolvable (readonly)

Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( TRUE ) or can only be joined on Fingerprint columns of the same name ( FALSE ).



740
741
742
# File 'clean_rooms/cfn_collaboration.rb', line 740

def allow_joins_on_columns_with_different_names
  @allow_joins_on_columns_with_different_names
end

#preserve_nullsBoolean, AWSCDK::IResolvable (readonly)

Indicates whether NULL values are to be copied as NULL to encrypted tables ( TRUE ) or cryptographically processed ( FALSE ).



745
746
747
# File 'clean_rooms/cfn_collaboration.rb', line 745

def preserve_nulls
  @preserve_nulls
end

Class Method Details

.jsii_propertiesObject



747
748
749
750
751
752
753
754
# File 'clean_rooms/cfn_collaboration.rb', line 747

def self.jsii_properties
  {
    :allow_cleartext => "allowCleartext",
    :allow_duplicates => "allowDuplicates",
    :allow_joins_on_columns_with_different_names => "allowJoinsOnColumnsWithDifferentNames",
    :preserve_nulls => "preserveNulls",
  }
end

Instance Method Details

#to_jsiiObject



756
757
758
759
760
761
762
763
764
765
# File 'clean_rooms/cfn_collaboration.rb', line 756

def to_jsii
  result = {}
  result.merge!({
    "allowCleartext" => @allow_cleartext,
    "allowDuplicates" => @allow_duplicates,
    "allowJoinsOnColumnsWithDifferentNames" => @allow_joins_on_columns_with_different_names,
    "preserveNulls" => @preserve_nulls,
  })
  result.compact
end