interface LocationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pinpoint.CfnSegment.LocationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnSegment_LocationProperty |
![]() | software.amazon.awscdk.services.pinpoint.CfnSegment.LocationProperty |
![]() | aws_cdk.aws_pinpoint.CfnSegment.LocationProperty |
![]() | aws-cdk-lib » aws_pinpoint » CfnSegment » 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-lib';
const locationProperty: pinpoint.CfnSegment.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.