interface AnalysisRuleCustomProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CleanRooms.CfnConfiguredTable.AnalysisRuleCustomProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscleanrooms#CfnConfiguredTable_AnalysisRuleCustomProperty |
Java | software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable.AnalysisRuleCustomProperty |
Python | aws_cdk.aws_cleanrooms.CfnConfiguredTable.AnalysisRuleCustomProperty |
TypeScript | aws-cdk-lib » aws_cleanrooms » CfnConfiguredTable » AnalysisRuleCustomProperty |
A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables.
It supports differential privacy.
Example
// 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 analysisRuleCustomProperty: cleanrooms.CfnConfiguredTable.AnalysisRuleCustomProperty = {
allowedAnalyses: ['allowedAnalyses'],
// the properties below are optional
additionalAnalyses: 'additionalAnalyses',
aggregationThresholds: [{
allowedAggregateExpressionType: 'allowedAggregateExpressionType',
identityColumns: ['identityColumns'],
minimumIdentityCount: 123,
type: 'type',
// the properties below are optional
outputColumnThresholds: [{
minimumIdentityCount: 123,
outputColumnName: 'outputColumnName',
}],
}],
allowedAnalysisProviders: ['allowedAnalysisProviders'],
comparisonControls: {
allowedColumnComparisonColumns: ['allowedColumnComparisonColumns'],
allowedLiteralComparisonColumns: ['allowedLiteralComparisonColumns'],
},
differentialPrivacy: {
columns: [{
name: 'name',
}],
},
disallowedOutputColumns: ['disallowedOutputColumns'],
};
Properties
| Name | Type | Description |
|---|---|---|
| allowed | string[] | The ARN of the analysis templates that are allowed by the custom analysis rule. |
| additional | string | An indicator as to whether additional analyses (such as AWS Clean Rooms ML) can be applied to the output of the direct query. |
| aggregation | IResolvable | (IResolvable | Aggregation)[] | |
| allowed | string[] | The IDs of the AWS accounts that are allowed to query by the custom analysis rule. |
| comparison | IResolvable | Comparison | |
| differential | IResolvable | Differential | The differential privacy configuration. |
| disallowed | string[] | A list of columns that aren't allowed to be shown in the query output. |
allowedAnalyses
Type:
string[]
The ARN of the analysis templates that are allowed by the custom analysis rule.
additionalAnalyses?
Type:
string
(optional)
An indicator as to whether additional analyses (such as AWS Clean Rooms ML) can be applied to the output of the direct query.
aggregationThresholds?
Type:
IResolvable | (IResolvable | Aggregation)[]
(optional)
allowedAnalysisProviders?
Type:
string[]
(optional)
The IDs of the AWS accounts that are allowed to query by the custom analysis rule.
Required when allowedAnalyses is ANY_QUERY .
comparisonControls?
Type:
IResolvable | Comparison
(optional)
differentialPrivacy?
Type:
IResolvable | Differential
(optional)
The differential privacy configuration.
disallowedOutputColumns?
Type:
string[]
(optional)
A list of columns that aren't allowed to be shown in the query output.

.NET
Go
Java
Python
TypeScript