aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable.AnalysisRuleProperty

interface AnalysisRuleProperty

LanguageType name
.NETAmazon.CDK.aws_cleanrooms.CfnConfiguredTable.AnalysisRuleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscleanrooms#CfnConfiguredTable_AnalysisRuleProperty
Javaservices.cleanrooms.CfnConfiguredTable.AnalysisRuleProperty
Pythonaws_cdk.aws_cleanrooms.CfnConfiguredTable.AnalysisRuleProperty
TypeScript aws-cdk-lib » aws_cleanrooms » CfnConfiguredTable » AnalysisRuleProperty

A specification about how data from the configured table can be used in a query.

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 analysisRuleProperty: cleanrooms.CfnConfiguredTable.AnalysisRuleProperty = {
  policy: {
    v1: {
      aggregation: {
        aggregateColumns: [{
          columnNames: ['columnNames'],
          function: 'function',
        }],
        dimensionColumns: ['dimensionColumns'],
        joinColumns: ['joinColumns'],
        outputConstraints: [{
          columnName: 'columnName',
          minimum: 123,
          type: 'type',
        }],
        scalarFunctions: ['scalarFunctions'],

        // the properties below are optional
        joinRequired: 'joinRequired',
      },
      list: {
        joinColumns: ['joinColumns'],
        listColumns: ['listColumns'],
      },
    },
  },
  type: 'type',
};

Properties

NameTypeDescription
policyIResolvable | ConfiguredTableAnalysisRulePolicyPropertyA policy that describes the associated data usage limitations.
typestringThe type of analysis rule.

policy

Type: IResolvable | ConfiguredTableAnalysisRulePolicyProperty

A policy that describes the associated data usage limitations.


type

Type: string

The type of analysis rule.

Valid values are AGGREGATION and LIST.