IntermediateTableAnalysisRulePolicyProperty Struct
| Source | |
|---|---|
| Type last changed |
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 intermediateTableAnalysisRulePolicyProperty: cleanrooms.CfnIntermediateTable.IntermediateTableAnalysisRulePolicyProperty = {
v1: {
custom: {
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'],
allowedResultReceivers: ['allowedResultReceivers'],
comparisonControls: {
allowedColumnComparisonColumns: ['allowedColumnComparisonColumns'],
allowedLiteralComparisonColumns: ['allowedLiteralComparisonColumns'],
},
differentialPrivacy: {
columns: [{
name: 'name',
}],
},
disallowedOutputColumns: ['disallowedOutputColumns'],
},
},
};
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
intermediate_table_analysis_rule_policy_property = cleanrooms.CfnIntermediateTable.IntermediateTableAnalysisRulePolicyProperty(
v1=cleanrooms.CfnIntermediateTable.IntermediateTableAnalysisRulePolicyV1Property(
custom=cleanrooms.CfnIntermediateTable.IntermediateTableAnalysisRuleCustomProperty(
allowed_analyses=["allowedAnalyses"],
# the properties below are optional
additional_analyses="additionalAnalyses",
aggregation_thresholds=[cleanrooms.CfnIntermediateTable.AggregationThresholdProperty(
allowed_aggregate_expression_type="allowedAggregateExpressionType",
identity_columns=["identityColumns"],
minimum_identity_count=123,
type="type",
# the properties below are optional
output_column_thresholds=[cleanrooms.CfnIntermediateTable.OutputColumnThresholdProperty(
minimum_identity_count=123,
output_column_name="outputColumnName"
)]
)],
allowed_analysis_providers=["allowedAnalysisProviders"],
allowed_result_receivers=["allowedResultReceivers"],
comparison_controls=cleanrooms.CfnIntermediateTable.ComparisonControlsProperty(
allowed_column_comparison_columns=["allowedColumnComparisonColumns"],
allowed_literal_comparison_columns=["allowedLiteralComparisonColumns"]
),
differential_privacy=cleanrooms.CfnIntermediateTable.DifferentialPrivacyProperty(
columns=[cleanrooms.CfnIntermediateTable.DifferentialPrivacyColumnProperty(
name="name"
)]
),
disallowed_output_columns=["disallowedOutputColumns"]
)
)
)
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.*;
IntermediateTableAnalysisRulePolicyProperty intermediateTableAnalysisRulePolicyProperty = IntermediateTableAnalysisRulePolicyProperty.builder()
.v1(IntermediateTableAnalysisRulePolicyV1Property.builder()
.custom(IntermediateTableAnalysisRuleCustomProperty.builder()
.allowedAnalyses(List.of("allowedAnalyses"))
// the properties below are optional
.additionalAnalyses("additionalAnalyses")
.aggregationThresholds(List.of(AggregationThresholdProperty.builder()
.allowedAggregateExpressionType("allowedAggregateExpressionType")
.identityColumns(List.of("identityColumns"))
.minimumIdentityCount(123)
.type("type")
// the properties below are optional
.outputColumnThresholds(List.of(OutputColumnThresholdProperty.builder()
.minimumIdentityCount(123)
.outputColumnName("outputColumnName")
.build()))
.build()))
.allowedAnalysisProviders(List.of("allowedAnalysisProviders"))
.allowedResultReceivers(List.of("allowedResultReceivers"))
.comparisonControls(ComparisonControlsProperty.builder()
.allowedColumnComparisonColumns(List.of("allowedColumnComparisonColumns"))
.allowedLiteralComparisonColumns(List.of("allowedLiteralComparisonColumns"))
.build())
.differentialPrivacy(DifferentialPrivacyProperty.builder()
.columns(List.of(DifferentialPrivacyColumnProperty.builder()
.name("name")
.build()))
.build())
.disallowedOutputColumns(List.of("disallowedOutputColumns"))
.build())
.build())
.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 intermediateTableAnalysisRulePolicyProperty = new IntermediateTableAnalysisRulePolicyProperty {
V1 = new IntermediateTableAnalysisRulePolicyV1Property {
Custom = new IntermediateTableAnalysisRuleCustomProperty {
AllowedAnalyses = new [] { "allowedAnalyses" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AggregationThresholds = new [] { new AggregationThresholdProperty {
AllowedAggregateExpressionType = "allowedAggregateExpressionType",
IdentityColumns = new [] { "identityColumns" },
MinimumIdentityCount = 123,
Type = "type",
// the properties below are optional
OutputColumnThresholds = new [] { new OutputColumnThresholdProperty {
MinimumIdentityCount = 123,
OutputColumnName = "outputColumnName"
} }
} },
AllowedAnalysisProviders = new [] { "allowedAnalysisProviders" },
AllowedResultReceivers = new [] { "allowedResultReceivers" },
ComparisonControls = new ComparisonControlsProperty {
AllowedColumnComparisonColumns = new [] { "allowedColumnComparisonColumns" },
AllowedLiteralComparisonColumns = new [] { "allowedLiteralComparisonColumns" }
},
DifferentialPrivacy = new DifferentialPrivacyProperty {
Columns = new [] { new DifferentialPrivacyColumnProperty {
Name = "name"
} }
},
DisallowedOutputColumns = new [] { "disallowedOutputColumns" }
}
}
};
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"
intermediateTableAnalysisRulePolicyProperty := &IntermediateTableAnalysisRulePolicyProperty{
V1: &IntermediateTableAnalysisRulePolicyV1Property{
Custom: &IntermediateTableAnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AggregationThresholds: []interface{}{
&AggregationThresholdProperty{
AllowedAggregateExpressionType: jsii.String("allowedAggregateExpressionType"),
IdentityColumns: []*string{
jsii.String("identityColumns"),
},
MinimumIdentityCount: jsii.Number(123),
Type: jsii.String("type"),
// the properties below are optional
OutputColumnThresholds: []interface{}{
&OutputColumnThresholdProperty{
MinimumIdentityCount: jsii.Number(123),
OutputColumnName: jsii.String("outputColumnName"),
},
},
},
},
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
ComparisonControls: &ComparisonControlsProperty{
AllowedColumnComparisonColumns: []*string{
jsii.String("allowedColumnComparisonColumns"),
},
AllowedLiteralComparisonColumns: []*string{
jsii.String("allowedLiteralComparisonColumns"),
},
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
},
},
}
Properties
v1IResolvable | CfnIntermediateTable.v1typing.Union[IResolvable, IntermediateTableAnalysisRulePolicyV1Property]v1IResolvableV1IResolvableV1interface{} required #