Show / Hide Table of Contents

Class CfnSegment.SegmentGroupsProperty

Specifies the set of segment criteria to evaluate when handling segment groups for the segment.

Inheritance
object
CfnSegment.SegmentGroupsProperty
Implements
CfnSegment.ISegmentGroupsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSegment.SegmentGroupsProperty : CfnSegment.ISegmentGroupsProperty
Syntax (vb)
Public Class CfnSegment.SegmentGroupsProperty Implements CfnSegment.ISegmentGroupsProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html

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

Specifies the set of segment criteria to evaluate when handling segment groups for the segment.

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

Specifies the set of segment criteria to evaluate when handling segment groups for the segment.

public SegmentGroupsProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html

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

Properties

Groups

Specifies the set of segment criteria to evaluate when handling segment groups for the segment.

public object? Groups { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html#cfn-pinpoint-segment-segmentgroups-groups

Type union: either IResolvable or (either IResolvable or CfnSegment.IGroupsProperty)[]

Include

Specifies how to handle multiple segment groups for the segment.

public string? Include { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html#cfn-pinpoint-segment-segmentgroups-include

Implements

CfnSegment.ISegmentGroupsProperty
Back to top Generated by DocFX