Class: AWSCDK::CleanRooms::CfnConfiguredTable::DifferentialPrivacyProperty

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

Overview

The analysis method allowed for the configured tables.

DIRECT_QUERY allows SQL queries to be run directly on this table.

DIRECT_JOB allows PySpark jobs to be run directly on this table.

MULTIPLE allows both SQL queries and PySpark jobs to be run directly on this table.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(columns:) ⇒ DifferentialPrivacyProperty

Returns a new instance of DifferentialPrivacyProperty.

Parameters:



1225
1226
1227
1228
# File 'clean_rooms/cfn_configured_table.rb', line 1225

def initialize(columns:)
  @columns = columns
  Jsii::Type.check_type(@columns, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xlYW5yb29tcy5DZm5Db25maWd1cmVkVGFibGUuRGlmZmVyZW50aWFsUHJpdmFjeUNvbHVtblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "columns")
end

Instance Attribute Details

#columnsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnConfiguredTable::DifferentialPrivacyColumnProperty> (readonly)

The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect.

If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.



1236
1237
1238
# File 'clean_rooms/cfn_configured_table.rb', line 1236

def columns
  @columns
end

Class Method Details

.jsii_propertiesObject



1238
1239
1240
1241
1242
# File 'clean_rooms/cfn_configured_table.rb', line 1238

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

Instance Method Details

#to_jsiiObject



1244
1245
1246
1247
1248
1249
1250
# File 'clean_rooms/cfn_configured_table.rb', line 1244

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