interface LocationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins.CfnSegmentPropsMixin.LocationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpoint/mixins#CfnSegmentPropsMixin_LocationProperty |
Java | software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnSegmentPropsMixin.LocationProperty |
Python | aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnSegmentPropsMixin.LocationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pinpoint » mixins » CfnSegmentPropsMixin » LocationProperty |
Specifies location-based criteria, such as region or GPS coordinates, for the segment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as pinpoint_mixins } from '@aws-cdk/mixins-preview/aws-pinpoint';
const locationProperty: pinpoint_mixins.CfnSegmentPropsMixin.LocationProperty = {
country: {
dimensionType: 'dimensionType',
values: ['values'],
},
gpsPoint: {
coordinates: {
latitude: 123,
longitude: 123,
},
rangeInKilometers: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| country? | IResolvable | Set | The country or region code, in ISO 3166-1 alpha-2 format, for the segment. |
| gps | IResolvable | GPSPoint | The GPS point dimension for the segment. |
country?
Type:
IResolvable | Set
(optional)
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
gpsPoint?
Type:
IResolvable | GPSPoint
(optional)
The GPS point dimension for the segment.

.NET
Go
Java
Python
TypeScript