CfnConfiguredTableProps

class aws_cdk.aws_cleanrooms.CfnConfiguredTableProps(*, allowed_columns, analysis_method, name, table_reference, analysis_rules=None, description=None, tags=None)

Bases: object

Properties for defining a CfnConfiguredTable.

Parameters:
  • allowed_columns (Sequence[str]) – The columns within the underlying AWS Glue table that can be utilized within collaborations.

  • analysis_method (str) – The analysis method for the configured table. The only valid value is currently DIRECT_QUERY.

  • name (str) – A name for the configured table.

  • table_reference (Union[IResolvable, TableReferenceProperty, Dict[str, Any]]) – The AWS Glue table that this configured table represents.

  • analysis_rules (Union[IResolvable, Sequence[Union[IResolvable, AnalysisRuleProperty, Dict[str, Any]]], None]) – The entire created analysis rule.

  • description (Optional[str]) – A description for the configured table.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html

ExampleMetadata:

fixture=_generated

Example:

# 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

cfn_configured_table_props = cleanrooms.CfnConfiguredTableProps(
    allowed_columns=["allowedColumns"],
    analysis_method="analysisMethod",
    name="name",
    table_reference=cleanrooms.CfnConfiguredTable.TableReferenceProperty(
        glue=cleanrooms.CfnConfiguredTable.GlueTableReferenceProperty(
            database_name="databaseName",
            table_name="tableName"
        )
    ),

    # the properties below are optional
    analysis_rules=[cleanrooms.CfnConfiguredTable.AnalysisRuleProperty(
        policy=cleanrooms.CfnConfiguredTable.ConfiguredTableAnalysisRulePolicyProperty(
            v1=cleanrooms.CfnConfiguredTable.ConfiguredTableAnalysisRulePolicyV1Property(
                aggregation=cleanrooms.CfnConfiguredTable.AnalysisRuleAggregationProperty(
                    aggregate_columns=[cleanrooms.CfnConfiguredTable.AggregateColumnProperty(
                        column_names=["columnNames"],
                        function="function"
                    )],
                    dimension_columns=["dimensionColumns"],
                    join_columns=["joinColumns"],
                    output_constraints=[cleanrooms.CfnConfiguredTable.AggregationConstraintProperty(
                        column_name="columnName",
                        minimum=123,
                        type="type"
                    )],
                    scalar_functions=["scalarFunctions"],

                    # the properties below are optional
                    allowed_join_operators=["allowedJoinOperators"],
                    join_required="joinRequired"
                ),
                custom=cleanrooms.CfnConfiguredTable.AnalysisRuleCustomProperty(
                    allowed_analyses=["allowedAnalyses"],

                    # the properties below are optional
                    allowed_analysis_providers=["allowedAnalysisProviders"],
                    differential_privacy=cleanrooms.CfnConfiguredTable.DifferentialPrivacyProperty(
                        columns=[cleanrooms.CfnConfiguredTable.DifferentialPrivacyColumnProperty(
                            name="name"
                        )]
                    )
                ),
                list=cleanrooms.CfnConfiguredTable.AnalysisRuleListProperty(
                    join_columns=["joinColumns"],
                    list_columns=["listColumns"],

                    # the properties below are optional
                    allowed_join_operators=["allowedJoinOperators"]
                )
            )
        ),
        type="type"
    )],
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

allowed_columns

The columns within the underlying AWS Glue table that can be utilized within collaborations.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-allowedcolumns

analysis_method

The analysis method for the configured table.

The only valid value is currently DIRECT_QUERY.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-analysismethod

analysis_rules

The entire created analysis rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-analysisrules

description

A description for the configured table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-description

name

A name for the configured table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-name

table_reference

The AWS Glue table that this configured table represents.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-tablereference

tags

An optional label that you can assign to a resource when you create it.

Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-tags