Skip to content
v2.278.0

DifferentialPrivacyColumnProperty Struct ​

Specifies the name of the column that contains the unique identifier of your users, whose privacy you want to protect.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const differentialPrivacyColumnProperty: cleanrooms.CfnConfiguredTable.DifferentialPrivacyColumnProperty = {
  name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cleanrooms as cleanrooms

differential_privacy_column_property = cleanrooms.CfnConfiguredTable.DifferentialPrivacyColumnProperty(
    name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanrooms.*;

DifferentialPrivacyColumnProperty differentialPrivacyColumnProperty = DifferentialPrivacyColumnProperty.builder()
        .name("name")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CleanRooms;

var differentialPrivacyColumnProperty = new DifferentialPrivacyColumnProperty {
    Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

differentialPrivacyColumnProperty := &DifferentialPrivacyColumnProperty{
	Name: jsii.String("name"),
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
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.