interface LocationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Pinpoint.CfnSegmentPropsMixin.LocationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awspinpoint#CfnSegmentPropsMixin_LocationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnSegmentPropsMixin.LocationProperty |
Python | aws_cdk.cfn_property_mixins.aws_pinpoint.CfnSegmentPropsMixin.LocationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_pinpoint » 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 { aws_pinpoint as pinpoint } from '@aws-cdk/cfn-property-mixins';
const locationProperty: pinpoint.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