Class: AWSCDK::CleanRooms::CfnConfiguredTable::DifferentialPrivacyColumnProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::DifferentialPrivacyColumnProperty
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
Specifies the name of the column that contains the unique identifier of your users, whose privacy you want to protect.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ DifferentialPrivacyColumnProperty
constructor
A new instance of DifferentialPrivacyColumnProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ DifferentialPrivacyColumnProperty
Returns a new instance of DifferentialPrivacyColumnProperty.
1184 1185 1186 1187 |
# File 'clean_rooms/cfn_configured_table.rb', line 1184 def initialize(name:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#name ⇒ String (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.
1195 1196 1197 |
# File 'clean_rooms/cfn_configured_table.rb', line 1195 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1197 1198 1199 1200 1201 |
# File 'clean_rooms/cfn_configured_table.rb', line 1197 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
1203 1204 1205 1206 1207 1208 1209 |
# File 'clean_rooms/cfn_configured_table.rb', line 1203 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |