Amazon Pinpoint
Developer Guide

Step 1: Create an Amazon S3 Bucket

In this solution, you upload files that you want to import into an input folder in an Amazon S3 bucket. When you upload a file into this folder, Amazon S3 triggers a Lambda function. This function moves the input file into an archive folder, and also creates several smaller files in a to_process folder. The first step in implementing this solution is to create an Amazon S3 bucket. Next, you create an input folder that bucket.

Step 1.1: Create the Amazon S3 Bucket and Input Folder

Complete the following procedure to create a new Amazon S3 bucket that contains a folder named input.

To create the Amazon S3 Bucket

  1. Open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. Choose Create bucket.

  3. For Bucket name, type a unique name for the bucket, as shown in the following image.

    
                        An image of the Create Bucket window in the Amazon S3 console. The Bucket
                            name field contains a fictitious value
                            ("customer-data-importer-examplecorp").

    Tip

    The name that you specify has to meet all of the following requirements:

    • It has to be unique across all of AWS.

    • It has to contain at least 3 characters, and no more than 63 characters.

    • It can only contain lowercase ASCII letters (a–z), numbers (0–9), periods (.), and dashes (-).

    • The first character in the bucket name has to be a letter or a number.

    • The name of the bucket can't be formatted like an IP address (such as 192.0.2.0).

  4. Choose Create.

  5. In the list of buckets, choose the bucket that you just created.

  6. Choose Create folder.

  7. For the folder name, enter input, as shown in the following image. Choose Save.

    
                        An image of the Create Folder workflow in the Amazon S3 console. The new
                            folder is named "input".

Next: Create IAM Roles