Class CfnConfiguredTableProps
Properties for defining a CfnConfiguredTable
.
Implements
Inherited Members
Namespace: Amazon.CDK.AwsCleanrooms
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConfiguredTableProps : ICfnConfiguredTableProps
Syntax (vb)
Public Class CfnConfiguredTableProps Implements ICfnConfiguredTableProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnConfiguredTableProps = new CfnConfiguredTableProps {
AllowedColumns = new [] { "allowedColumns" },
AnalysisMethod = "analysisMethod",
Name = "name",
TableReference = new TableReferenceProperty {
Athena = new AthenaTableReferenceProperty {
DatabaseName = "databaseName",
TableName = "tableName",
WorkGroup = "workGroup",
// the properties below are optional
OutputLocation = "outputLocation"
},
Glue = new GlueTableReferenceProperty {
DatabaseName = "databaseName",
TableName = "tableName"
},
Snowflake = new SnowflakeTableReferenceProperty {
AccountIdentifier = "accountIdentifier",
DatabaseName = "databaseName",
SchemaName = "schemaName",
SecretArn = "secretArn",
TableName = "tableName",
TableSchema = new SnowflakeTableSchemaProperty {
V1 = new [] { new SnowflakeTableSchemaV1Property {
ColumnName = "columnName",
ColumnType = "columnType"
} }
}
}
},
// the properties below are optional
AnalysisRules = new [] { new AnalysisRuleProperty {
Policy = new ConfiguredTableAnalysisRulePolicyProperty {
V1 = new ConfiguredTableAnalysisRulePolicyV1Property {
Aggregation = new AnalysisRuleAggregationProperty {
AggregateColumns = new [] { new AggregateColumnProperty {
ColumnNames = new [] { "columnNames" },
Function = "function"
} },
DimensionColumns = new [] { "dimensionColumns" },
JoinColumns = new [] { "joinColumns" },
OutputConstraints = new [] { new AggregationConstraintProperty {
ColumnName = "columnName",
Minimum = 123,
Type = "type"
} },
ScalarFunctions = new [] { "scalarFunctions" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AllowedJoinOperators = new [] { "allowedJoinOperators" },
JoinRequired = "joinRequired"
},
Custom = new AnalysisRuleCustomProperty {
AllowedAnalyses = new [] { "allowedAnalyses" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AllowedAnalysisProviders = new [] { "allowedAnalysisProviders" },
DifferentialPrivacy = new DifferentialPrivacyProperty {
Columns = new [] { new DifferentialPrivacyColumnProperty {
Name = "name"
} }
},
DisallowedOutputColumns = new [] { "disallowedOutputColumns" }
},
List = new AnalysisRuleListProperty {
JoinColumns = new [] { "joinColumns" },
ListColumns = new [] { "listColumns" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AllowedJoinOperators = new [] { "allowedJoinOperators" }
}
}
},
Type = "type"
} },
Description = "description",
SelectedAnalysisMethods = new [] { "selectedAnalysisMethods" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnConfiguredTableProps() | Properties for defining a |
Properties
AllowedColumns | The columns within the underlying AWS Glue table that can be utilized within collaborations. |
AnalysisMethod | The analysis method for the configured table. |
AnalysisRules | The analysis rule that was created for the configured table. |
Description | A description for the configured table. |
Name | A name for the configured table. |
SelectedAnalysisMethods | The selected analysis methods for the configured table. |
TableReference | The table that this configured table represents. |
Tags | An optional label that you can assign to a resource when you create it. |
Constructors
CfnConfiguredTableProps()
Properties for defining a CfnConfiguredTable
.
public CfnConfiguredTableProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnConfiguredTableProps = new CfnConfiguredTableProps {
AllowedColumns = new [] { "allowedColumns" },
AnalysisMethod = "analysisMethod",
Name = "name",
TableReference = new TableReferenceProperty {
Athena = new AthenaTableReferenceProperty {
DatabaseName = "databaseName",
TableName = "tableName",
WorkGroup = "workGroup",
// the properties below are optional
OutputLocation = "outputLocation"
},
Glue = new GlueTableReferenceProperty {
DatabaseName = "databaseName",
TableName = "tableName"
},
Snowflake = new SnowflakeTableReferenceProperty {
AccountIdentifier = "accountIdentifier",
DatabaseName = "databaseName",
SchemaName = "schemaName",
SecretArn = "secretArn",
TableName = "tableName",
TableSchema = new SnowflakeTableSchemaProperty {
V1 = new [] { new SnowflakeTableSchemaV1Property {
ColumnName = "columnName",
ColumnType = "columnType"
} }
}
}
},
// the properties below are optional
AnalysisRules = new [] { new AnalysisRuleProperty {
Policy = new ConfiguredTableAnalysisRulePolicyProperty {
V1 = new ConfiguredTableAnalysisRulePolicyV1Property {
Aggregation = new AnalysisRuleAggregationProperty {
AggregateColumns = new [] { new AggregateColumnProperty {
ColumnNames = new [] { "columnNames" },
Function = "function"
} },
DimensionColumns = new [] { "dimensionColumns" },
JoinColumns = new [] { "joinColumns" },
OutputConstraints = new [] { new AggregationConstraintProperty {
ColumnName = "columnName",
Minimum = 123,
Type = "type"
} },
ScalarFunctions = new [] { "scalarFunctions" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AllowedJoinOperators = new [] { "allowedJoinOperators" },
JoinRequired = "joinRequired"
},
Custom = new AnalysisRuleCustomProperty {
AllowedAnalyses = new [] { "allowedAnalyses" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AllowedAnalysisProviders = new [] { "allowedAnalysisProviders" },
DifferentialPrivacy = new DifferentialPrivacyProperty {
Columns = new [] { new DifferentialPrivacyColumnProperty {
Name = "name"
} }
},
DisallowedOutputColumns = new [] { "disallowedOutputColumns" }
},
List = new AnalysisRuleListProperty {
JoinColumns = new [] { "joinColumns" },
ListColumns = new [] { "listColumns" },
// the properties below are optional
AdditionalAnalyses = "additionalAnalyses",
AllowedJoinOperators = new [] { "allowedJoinOperators" }
}
}
},
Type = "type"
} },
Description = "description",
SelectedAnalysisMethods = new [] { "selectedAnalysisMethods" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
AllowedColumns
The columns within the underlying AWS Glue table that can be utilized within collaborations.
public string[] AllowedColumns { get; set; }
Property Value
string[]
Remarks
AnalysisMethod
The analysis method for the configured table.
public string AnalysisMethod { get; set; }
Property Value
Remarks
DIRECT_QUERY
allows SQL queries to be run directly on this table.
DIRECT_JOB
allows PySpark jobs to be run directly on this table.
MULTIPLE
allows both SQL queries and PySpark jobs to be run directly on this table.
AnalysisRules
The analysis rule that was created for the configured table.
public object? AnalysisRules { get; set; }
Property Value
Remarks
Description
A description for the configured table.
public string? Description { get; set; }
Property Value
Remarks
Name
A name for the configured table.
public string Name { get; set; }
Property Value
Remarks
SelectedAnalysisMethods
The selected analysis methods for the configured table.
public string[]? SelectedAnalysisMethods { get; set; }
Property Value
string[]
Remarks
TableReference
The table that this configured table represents.
public object TableReference { get; set; }
Property Value
Remarks
Tags
An optional label that you can assign to a resource when you create it.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
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.