interface CfnSegmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins.CfnSegmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpoint/mixins#CfnSegmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnSegmentMixinProps |
Python | aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnSegmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_pinpoint » mixins » CfnSegmentMixinProps |
Properties for CfnSegmentPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html
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';
declare const attributes: any;
declare const metrics: any;
declare const tags: any;
declare const userAttributes: any;
const cfnSegmentMixinProps: pinpoint_mixins.CfnSegmentMixinProps = {
applicationId: 'applicationId',
dimensions: {
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,
},
name: 'name',
segmentGroups: {
groups: [{
dimensions: [{
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,
}],
sourceSegments: [{
id: 'id',
version: 123,
}],
sourceType: 'sourceType',
type: 'type',
}],
include: 'include',
},
tags: tags,
};
Properties
| Name | Type | Description |
|---|---|---|
| application | string | The unique identifier for the Amazon Pinpoint application that the segment is associated with. |
| dimensions? | IResolvable | Segment | An array that defines the dimensions for the segment. |
| name? | string | The name of the segment. |
| segment | IResolvable | Segment | The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. |
| tags? | any | An array of key-value pairs to apply to this resource. |
applicationId?
Type:
string
(optional)
The unique identifier for the Amazon Pinpoint application that the segment is associated with.
dimensions?
Type:
IResolvable | Segment
(optional)
An array that defines the dimensions for the segment.
name?
Type:
string
(optional)
The name of the segment.
A segment must have a name otherwise it will not appear in the Amazon Pinpoint console.
segmentGroups?
Type:
IResolvable | Segment
(optional)
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.
A segment group can consist of zero or more base segments. Your request can include only one segment group.
tags?
Type:
any
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Go
Java
Python
TypeScript