AWS Amazon Pinpoint App

This page shows how to write Terraform and CloudFormation for Amazon Pinpoint App and write them securely.

aws_pinpoint_app (Terraform)

The App in Amazon Pinpoint can be configured in Terraform with the resource name aws_pinpoint_app. The following sections describe 3 examples of how to use the resource and its parameters.

Example Usage from GitHub

pinpoint.tf#L1
resource "aws_pinpoint_app" "default" {
  name_prefix = "default-"
}
pinpoint.tf#L1
resource "aws_pinpoint_app" "test" {
  name = "pinpoint"
}


main.tf#L7
resource "aws_pinpoint_app" "this" {
  name        = var.name
  name_prefix = var.name_prefix
  tags        = var.tags

  dynamic "campaign_hook" {

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides a Pinpoint App resource.

AWS::Pinpoint::App (CloudFormation)

The App in Pinpoint can be configured in CloudFormation with the resource name AWS::Pinpoint::App. The following sections describe 8 examples of how to use the resource and its parameters.

Example Usage from GitHub

pinpoint.yaml#L10
    Type: AWS::Pinpoint::App
    Properties:
        Name: retaildemostore

Outputs:
  PinpointAppId:
pinpoint.yaml#L10
    Type: AWS::Pinpoint::App
    Properties:
        Name: retaildemostore

Outputs:
  PinpointAppId:
pinpoint.yaml#L10
    Type: AWS::Pinpoint::App
    Properties:
        Name: retaildemostore

Outputs:
  PinpointAppId:
2_urlshortener-pinpoint-setup.yaml#L10
    Type: AWS::Pinpoint::App
    Properties:
        Name: !Ref Pinpointprojectname

  PinpointSMSchannel:
    Type: AWS::Pinpoint::SMSChannel
pinpoint.yaml#L10
    Type: AWS::Pinpoint::App
    Properties:
        Name: retaildemostore

Outputs:
  PinpointAppId:
awsResouceIconMatches.json#L612
        "resourceType": "AWS::Pinpoint::ApplicationSettings",
        "filePath": null
      },
      {
        "resourceType": "AWS::Pinpoint::Campaign",
        "filePath": null
PinpointAppSpecification.json#L3
    "AWS::Pinpoint::App": {
      "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-app.html",
      "Attributes": {
        "Arn": {
          "PrimitiveType": "String"
        }
template.json#L1979
    "AWS::Pinpoint::ApplicationSettings": {
      "Type": "AWS::Pinpoint::ApplicationSettings",
      "Properties": {}
    },
    "AWS::OpsWorksCM::Server": {
      "Type": "AWS::OpsWorksCM::Server",

Parameters

Name The display name of the application.
Required: Yes
Type: String
Update requires: Replacement

Tags A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
Required: No
Type: Json
Update requires: No interruption

Explanation in CloudFormation Registry

An app is an Amazon Pinpoint application, also referred to as a project. An application is a collection of related settings, customer information, segments, campaigns, and other types of Amazon Pinpoint resources.

The App resource represents an Amazon Pinpoint application.

Frequently asked questions

What is AWS Amazon Pinpoint App?

AWS Amazon Pinpoint App is a resource for Amazon Pinpoint of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon Pinpoint App?

For Terraform, the soapergem/aws-pinpoint-unsubscribe, chandan-singh/terraform-aws-cognito and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.

For CloudFormation, the vinodtka/oktankstore-src, honey-sangtani-c5i/retail-demo-store and awsaccraug/retail-store source code examples are useful. See the CloudFormation Example section for further details.