Class CfnSegment.SegmentDimensionsProperty
Specifies the dimension settings for a segment.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SegmentDimensionsProperty : Object, CfnSegment.ISegmentDimensionsProperty
Syntax (vb)
Public Class SegmentDimensionsProperty
Inherits Object
Implements CfnSegment.ISegmentDimensionsProperty
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 segmentDimensionsProperty = 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
};
Synopsis
Constructors
SegmentDimensionsProperty() |
Properties
Attributes | One or more custom attributes to use as criteria for the segment. |
Behavior | The behavior-based criteria, such as how recently users have used your app, for the segment. |
Demographic | The demographic-based criteria, such as device platform, for the segment. |
Location | The location-based criteria, such as region or GPS coordinates, for the segment. |
Metrics | One or more custom metrics to use as criteria for the segment. |
UserAttributes | One or more custom user attributes to use as criteria for the segment. |
Constructors
SegmentDimensionsProperty()
public SegmentDimensionsProperty()
Properties
Attributes
One or more custom attributes to use as criteria for the segment.
public object Attributes { get; set; }
Property Value
System.Object
Remarks
Behavior
The behavior-based criteria, such as how recently users have used your app, for the segment.
public object Behavior { get; set; }
Property Value
System.Object
Remarks
Demographic
The demographic-based criteria, such as device platform, for the segment.
public object Demographic { get; set; }
Property Value
System.Object
Remarks
Location
The location-based criteria, such as region or GPS coordinates, for the segment.
public object Location { get; set; }
Property Value
System.Object
Remarks
Metrics
One or more custom metrics to use as criteria for the segment.
public object Metrics { get; set; }
Property Value
System.Object
Remarks
UserAttributes
One or more custom user attributes to use as criteria for the segment.
public object UserAttributes { get; set; }
Property Value
System.Object