AWS::Pinpoint::SegmentUpdates the configuration, dimension, and other settings for an existing segment.
import { CfnSegment } from 'aws-cdk-lib/aws-pinpoint';Or use the module namespace:
import * as pinpoint from 'aws-cdk-lib/aws-pinpoint';
// pinpoint.CfnSegmentConfiguration passed to the constructor as CfnSegmentProps.
applicationIdRequiredstringThe unique identifier for the Amazon Pinpoint application that the segment is associated with.
nameRequiredstringThe name of the segment. > A segment must have a name otherwise it will not appear in the Amazon Pinpoint console.
dimensionsOptionalIResolvable | SegmentDimensionsPropertyAn array that defines the dimensions for the segment.
segmentGroupsOptionalIResolvable | SegmentGroupsPropertyThe 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.
tagsOptionalanyAn 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) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-pinpointAWS::Pinpoint::Segment