FilterDimensionProperty Struct
Contains the map of attribute names to attribute dimensions.
| Source | |
|---|---|
| Type last changed |
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 filterDimensionProperty: customerprofiles.CfnCalculatedAttributeDefinition.FilterDimensionProperty = {
attributes: {
attributesKey: {
dimensionType: 'dimensionType',
values: ['values'],
},
},
};
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_dimension_property = customerprofiles.CfnCalculatedAttributeDefinition.FilterDimensionProperty(
attributes={
"attributes_key": customerprofiles.CfnCalculatedAttributeDefinition.FilterAttributeDimensionProperty(
dimension_type="dimensionType",
values=["values"]
)
}
)
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.*;
FilterDimensionProperty filterDimensionProperty = FilterDimensionProperty.builder()
.attributes(Map.of(
"attributesKey", FilterAttributeDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.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.CustomerProfiles;
var filterDimensionProperty = new FilterDimensionProperty {
Attributes = new Dictionary<string, object> {
{ "attributesKey", new FilterAttributeDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
} }
}
};
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"
filterDimensionProperty := &FilterDimensionProperty{
Attributes: map[string]interface{}{
"attributesKey": &FilterAttributeDimensionProperty{
"dimensionType": jsii.String("dimensionType"),
"values": []*string{
jsii.String("values"),
},
},
},
}
Properties
attributesIResolvable | { [key: string]: IResolvable | CfnCalculatedAttributeDefinition.attributestyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, FilterAttributeDimensionProperty]]]attributesIResolvableAttributesIResolvableAttributesinterface{} required #Is the attribute within the FilterDimension map.