Skip to content
v2.278.0

ColumnGroupProperty Struct ​

Groupings of columns that work together in certain Quick Sight features.

This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const columnGroupProperty: quicksight.CfnDataSet.ColumnGroupProperty = {
  geoSpatialColumnGroup: {
    columns: ['columns'],
    name: 'name',

    // the properties below are optional
    countryCode: 'countryCode',
  },
};
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_quicksight as quicksight

column_group_property = quicksight.CfnDataSet.ColumnGroupProperty(
    geo_spatial_column_group=quicksight.CfnDataSet.GeoSpatialColumnGroupProperty(
        columns=["columns"],
        name="name",

        # the properties below are optional
        country_code="countryCode"
    )
)
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.quicksight.*;

ColumnGroupProperty columnGroupProperty = ColumnGroupProperty.builder()
        .geoSpatialColumnGroup(GeoSpatialColumnGroupProperty.builder()
                .columns(List.of("columns"))
                .name("name")

                // the properties below are optional
                .countryCode("countryCode")
                .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.QuickSight;

var columnGroupProperty = new ColumnGroupProperty {
    GeoSpatialColumnGroup = new GeoSpatialColumnGroupProperty {
        Columns = new [] { "columns" },
        Name = "name",

        // the properties below are optional
        CountryCode = "countryCode"
    }
};
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"

columnGroupProperty := &ColumnGroupProperty{
	GeoSpatialColumnGroup: &GeoSpatialColumnGroupProperty{
		Columns: []*string{
			jsii.String("columns"),
		},
		Name: jsii.String("name"),

		// the properties below are optional
		CountryCode: jsii.String("countryCode"),
	},
}

Properties ​

geoSpatialColumnGroupoptionalIResolvable | CfnDataSet.GeoSpatialColumnGroupPropertygeo_spatial_column_groupoptionaltyping.Union[IResolvable, GeoSpatialColumnGroupProperty]geoSpatialColumnGroupoptionalIResolvableGeoSpatialColumnGroupoptionalIResolvableGeoSpatialColumnGroupoptionalinterface{} #
Geospatial column group that denotes a hierarchy.