Skip to content
v2.278.0

FilterGroupProperty Struct ​

Object that holds the dimensions to filter on.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const filterGroupProperty: customerprofiles.CfnCalculatedAttributeDefinition.FilterGroupProperty = {
  dimensions: [{
    attributes: {
      attributesKey: {
        dimensionType: 'dimensionType',
        values: ['values'],
      },
    },
  }],
  type: 'type',
};
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_customerprofiles as customerprofiles

filter_group_property = customerprofiles.CfnCalculatedAttributeDefinition.FilterGroupProperty(
    dimensions=[customerprofiles.CfnCalculatedAttributeDefinition.FilterDimensionProperty(
        attributes={
            "attributes_key": customerprofiles.CfnCalculatedAttributeDefinition.FilterAttributeDimensionProperty(
                dimension_type="dimensionType",
                values=["values"]
            )
        }
    )],
    type="type"
)
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.customerprofiles.*;

FilterGroupProperty filterGroupProperty = FilterGroupProperty.builder()
        .dimensions(List.of(FilterDimensionProperty.builder()
                .attributes(Map.of(
                        "attributesKey", FilterAttributeDimensionProperty.builder()
                                .dimensionType("dimensionType")
                                .values(List.of("values"))
                                .build()))
                .build()))
        .type("type")
        .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.CustomerProfiles;

var filterGroupProperty = new FilterGroupProperty {
    Dimensions = new [] { new FilterDimensionProperty {
        Attributes = new Dictionary<string, object> {
            { "attributesKey", new FilterAttributeDimensionProperty {
                DimensionType = "dimensionType",
                Values = new [] { "values" }
            } }
        }
    } },
    Type = "type"
};
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"

filterGroupProperty := &FilterGroupProperty{
	Dimensions: []interface{}{
		&FilterDimensionProperty{
			Attributes: map[string]interface{}{
				"attributesKey": &FilterAttributeDimensionProperty{
					"dimensionType": jsii.String("dimensionType"),
					"values": []*string{
						jsii.String("values"),
					},
				},
			},
		},
	},
	Type: jsii.String("type"),
}

Properties ​

dimensionsIResolvable | IResolvable | CfnCalculatedAttributeDefinition.FilterDimensionProperty[]dimensionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FilterDimensionProperty]]]dimensionsIResolvableDimensionsIResolvableDimensionsinterface{} required #
typestringtypestrtypeStringTypestringType*string required #
The type of logical relationship between the dimensions of the Filter group.