aws-cdk-lib.aws_pinpoint.CfnSegment.LocationProperty

interface LocationProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnSegment.LocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnSegment_LocationProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnSegment.LocationProperty
Pythonaws_cdk.aws_pinpoint.CfnSegment.LocationProperty
TypeScript 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

NameTypeDescription
country?IResolvable | SetDimensionPropertyThe country or region code, in ISO 3166-1 alpha-2 format, for the segment.
gpsPoint?IResolvable | GPSPointPropertyThe GPS point dimension for the segment.

country?

Type: IResolvable | SetDimensionProperty (optional)

The country or region code, in ISO 3166-1 alpha-2 format, for the segment.


gpsPoint?

Type: IResolvable | GPSPointProperty (optional)

The GPS point dimension for the segment.