Class CfnSegmentPropsMixin.LocationProperty
Specifies location-based criteria, such as region or GPS coordinates, for the segment.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSegmentPropsMixin.LocationProperty : CfnSegmentPropsMixin.ILocationProperty
Syntax (vb)
Public Class CfnSegmentPropsMixin.LocationProperty Implements CfnSegmentPropsMixin.ILocationProperty
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.Mixins.Preview.AWS.Pinpoint.Mixins;
var locationProperty = new LocationProperty {
Country = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
GpsPoint = new GPSPointProperty {
Coordinates = new CoordinatesProperty {
Latitude = 123,
Longitude = 123
},
RangeInKilometers = 123
}
};
Synopsis
Constructors
| LocationProperty() | Specifies location-based criteria, such as region or GPS coordinates, for the segment. |
Properties
| Country | The country or region code, in ISO 3166-1 alpha-2 format, for the segment. |
| GpsPoint | The GPS point dimension for the segment. |
Constructors
LocationProperty()
Specifies location-based criteria, such as region or GPS coordinates, for the segment.
public LocationProperty()
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.Mixins.Preview.AWS.Pinpoint.Mixins;
var locationProperty = new LocationProperty {
Country = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
GpsPoint = new GPSPointProperty {
Coordinates = new CoordinatesProperty {
Latitude = 123,
Longitude = 123
},
RangeInKilometers = 123
}
};
Properties
Country
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
public object? Country { get; set; }
Property Value
Remarks
GpsPoint
The GPS point dimension for the segment.
public object? GpsPoint { get; set; }