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
resource "aws_pinpoint_app" "default" {
name_prefix = "default-"
}
resource "aws_pinpoint_app" "test" {
name = "pinpoint"
}
resource "aws_pinpoint_app" "this" {
name = var.name
name_prefix = var.name_prefix
tags = var.tags
dynamic "campaign_hook" {
Parameters
-
application_id
optional computed - string -
arn
optional computed - string -
id
optional computed - string -
name
optional computed - string -
name_prefix
optional - string -
tags
optional - map from string to string -
campaign_hook
list block-
lambda_function_name
optional - string -
mode
optional - string -
web_url
optional - string
-
-
limits
list block-
daily
optional - number -
maximum_duration
optional - number -
messages_per_second
optional - number -
total
optional - number
-
-
quiet_time
list block
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
Type: AWS::Pinpoint::App
Properties:
Name: retaildemostore
Outputs:
PinpointAppId:
Type: AWS::Pinpoint::App
Properties:
Name: retaildemostore
Outputs:
PinpointAppId:
Type: AWS::Pinpoint::App
Properties:
Name: retaildemostore
Outputs:
PinpointAppId:
Type: AWS::Pinpoint::App
Properties:
Name: !Ref Pinpointprojectname
PinpointSMSchannel:
Type: AWS::Pinpoint::SMSChannel
Type: AWS::Pinpoint::App
Properties:
Name: retaildemostore
Outputs:
PinpointAppId:
"resourceType": "AWS::Pinpoint::ApplicationSettings",
"filePath": null
},
{
"resourceType": "AWS::Pinpoint::Campaign",
"filePath": null
"AWS::Pinpoint::App": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-app.html",
"Attributes": {
"Arn": {
"PrimitiveType": "String"
}
"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.