interface SegmentDimensionsProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Pinpoint.CfnSegment.SegmentDimensionsProperty | 
|  Java | software.amazon.awscdk.services.pinpoint.CfnSegment.SegmentDimensionsProperty | 
|  Python | aws_cdk.aws_pinpoint.CfnSegment.SegmentDimensionsProperty | 
|  TypeScript | @aws-cdk/aws-pinpoint»CfnSegment»SegmentDimensionsProperty | 
Specifies the dimension settings for a segment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pinpoint from '@aws-cdk/aws-pinpoint';
declare const attributes: any;
declare const metrics: any;
declare const userAttributes: any;
const segmentDimensionsProperty: pinpoint.CfnSegment.SegmentDimensionsProperty = {
  attributes: attributes,
  behavior: {
    recency: {
      duration: 'duration',
      recencyType: 'recencyType',
    },
  },
  demographic: {
    appVersion: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    channel: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    deviceType: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    make: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    model: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    platform: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
  },
  location: {
    country: {
      dimensionType: 'dimensionType',
      values: ['values'],
    },
    gpsPoint: {
      coordinates: {
        latitude: 123,
        longitude: 123,
      },
      rangeInKilometers: 123,
    },
  },
  metrics: metrics,
  userAttributes: userAttributes,
};
Properties
| Name | Type | Description | 
|---|---|---|
| attributes? | any | One or more custom attributes to use as criteria for the segment. | 
| behavior? | IResolvable | Behavior | The behavior-based criteria, such as how recently users have used your app, for the segment. | 
| demographic? | IResolvable | Demographic | The demographic-based criteria, such as device platform, for the segment. | 
| location? | IResolvable | Location | The location-based criteria, such as region or GPS coordinates, for the segment. | 
| metrics? | any | One or more custom metrics to use as criteria for the segment. | 
| user | any | One or more custom user attributes to use as criteria for the segment. | 
attributes?
Type:
any
(optional)
One or more custom attributes to use as criteria for the segment.
behavior?
Type:
IResolvable | Behavior
(optional)
The behavior-based criteria, such as how recently users have used your app, for the segment.
demographic?
Type:
IResolvable | Demographic
(optional)
The demographic-based criteria, such as device platform, for the segment.
location?
Type:
IResolvable | Location
(optional)
The location-based criteria, such as region or GPS coordinates, for the segment.
metrics?
Type:
any
(optional)
One or more custom metrics to use as criteria for the segment.
userAttributes?
Type:
any
(optional)
One or more custom user attributes to use as criteria for the segment.
