Class CfnSegment.SegmentGroupsProperty
Specifies the set of segment criteria to evaluate when handling segment groups for the segment.
Inheritance
System.Object
CfnSegment.SegmentGroupsProperty
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SegmentGroupsProperty : Object, CfnSegment.ISegmentGroupsProperty
Syntax (vb)
Public Class SegmentGroupsProperty
Inherits Object
Implements CfnSegment.ISegmentGroupsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var attributes;
var metrics;
var userAttributes;
var segmentGroupsProperty = new SegmentGroupsProperty {
Groups = new [] { new GroupsProperty {
Dimensions = new [] { new SegmentDimensionsProperty {
Attributes = attributes,
Behavior = new BehaviorProperty {
Recency = new RecencyProperty {
Duration = "duration",
RecencyType = "recencyType"
}
},
Demographic = new DemographicProperty {
AppVersion = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
Channel = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
DeviceType = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
Make = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
Model = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
Platform = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
}
},
Location = new LocationProperty {
Country = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
GpsPoint = new GPSPointProperty {
Coordinates = new CoordinatesProperty {
Latitude = 123,
Longitude = 123
},
RangeInKilometers = 123
}
},
Metrics = metrics,
UserAttributes = userAttributes
} },
SourceSegments = new [] { new SourceSegmentsProperty {
Id = "id",
// the properties below are optional
Version = 123
} },
SourceType = "sourceType",
Type = "type"
} },
Include = "include"
};
Synopsis
Constructors
SegmentGroupsProperty() |
Properties
Groups | Specifies the set of segment criteria to evaluate when handling segment groups for the segment. |
Include | Specifies how to handle multiple segment groups for the segment. |
Constructors
SegmentGroupsProperty()
public SegmentGroupsProperty()
Properties
Groups
Specifies the set of segment criteria to evaluate when handling segment groups for the segment.
public object Groups { get; set; }
Property Value
System.Object
Remarks
Include
Specifies how to handle multiple segment groups for the segment.
public string Include { get; set; }
Property Value
System.String
Remarks
For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.