Skip to content
v2.278.0

AggregateColumnProperty Struct ​

Column in configured table that can be used in aggregate function in query.

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 aggregateColumnProperty: cleanrooms.CfnConfiguredTable.AggregateColumnProperty = {
  columnNames: ['columnNames'],
  function: 'function',
};
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

aggregate_column_property = cleanrooms.CfnConfiguredTable.AggregateColumnProperty(
    column_names=["columnNames"],
    function="function"
)
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.*;

AggregateColumnProperty aggregateColumnProperty = AggregateColumnProperty.builder()
        .columnNames(List.of("columnNames"))
        .function("function")
        .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 aggregateColumnProperty = new AggregateColumnProperty {
    ColumnNames = new [] { "columnNames" },
    Function = "function"
};
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"

aggregateColumnProperty := &AggregateColumnProperty{
	ColumnNames: []*string{
		jsii.String("columnNames"),
	},
	Function: jsii.String("function"),
}

Properties ​

columnNamesstring[]column_namestyping.List[str]columnNamesList<String>ColumnNamesstring[]ColumnNames*[]*string required #
Column names in configured table of aggregate columns.
functionstringfunctionstrfunctionStringFunctionstringFunction*string required #
Aggregation function that can be applied to aggregate column in query.