Amazon Pinpoint Preference Center

Amazon Pinpoint Preference Center guides Amazon Pinpoint customers in building a web application that helps end users to choose their communication preferences. By collecting communication preferences, Amazon Pinpoint customers can send targeted communications to their end users based on their preferred communication channels and interests.

Until now, Amazon Pinpoint customers had to develop their own preference centers or extract preference data from other systems to collect end user communication preferences. With Amazon Pinpoint Preference Center, customers now have a guidance that accurately segments their end users.

To address legal or regulatory requirements, for example, CAN-SPAM Act, this solution provides end users the option to opt out of receiving marketing communications.

Default Amazon Pinpoint Preference Center web application output


The diagram below presents the architecture you can build using the example code on GitHub.

Amazon Pinpoint Preference Center architecture

The architecture diagram represents the following assets:

  • An Amazon Simple Storage Service (Amazon S3) bucket with static HTML, Javascript, and Cascading Style Sheet (CSS) files for the static webpage. The static files are served through Amazon CloudFront so that they can be cached and served from edge locations nearest to the end user. Lambda@Edge appends security headers to the content served out of Amazon S3. This provides an additional layer of security, protecting against attacks such as Cross-site scripting (XSS).
  • An Amazon API Gateway with an AWS Lambda function to provide a REST API to read and save user information in Amazon Pinpoint.
  • An Amazon DynamoDB table to contain metadata that describes the content to be displayed on the preference center. As the metadata is modified, Amazon DynamoDB Streams triggers an AWS Lambda function that updates information within Amazon Pinpoint to automatically generate new Amazon Pinpoint segments that are tied to the publications defined in the metadata.

Amazon Pinpoint Preference Center

Version 1.0.1
Released: 08/2021
Author: AWS

Additional resources

Did this Guidance help you?
Provide feedback 



You can deploy a customized preference center that can support specific branding or be embedded into an existing webpage via inline frame (<iframe>) tags.

Mobile compatibility

The preference center uses a responsive mobile-first design for optimal rendering on multiple screen sizes.

Multi-channel preferences

Collect preferences for email, SMS, and voice.
Build icon
Deploy an AWS Solution yourself

Browse our library of AWS Solutions to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an AWS Partner Solution

Find AWS Partners to help you get started.

Learn more 
Explore icon
Explore Guidance

Find prescriptive architectural diagrams, sample code, and technical content for common use cases.

Learn more