AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Pinpoint::Segment

CfnSegment

Updates the configuration, dimension, and other settings for an existing segment.

Import

import { CfnSegment } from 'aws-cdk-lib/aws-pinpoint';

Or use the module namespace:

import * as pinpoint from 'aws-cdk-lib/aws-pinpoint';
// pinpoint.CfnSegment

Properties

Configuration passed to the constructor as CfnSegmentProps.

applicationIdRequired
string

The unique identifier for the Amazon Pinpoint application that the segment is associated with.

nameRequired
string

The name of the segment. > A segment must have a name otherwise it will not appear in the Amazon Pinpoint console.

dimensionsOptional
IResolvable | SegmentDimensionsProperty

An array that defines the dimensions for the segment.

segmentGroupsOptional
IResolvable | SegmentGroupsProperty

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.

tagsOptional
any

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter