# ColumnGroupProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `geoSpatialColumnGroup`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.GeoSpatialColumnGroupProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.GeoSpatialColumnGroupProperty.html) — Geospatial column group that denotes a hierarchy.
