Skip to content
GitHubXDiscord

App

The App resource lets you manage AWS Pinpoint Apps for sending targeted push notifications, emails, and SMS messages to your users.

Create a basic Pinpoint App with a specified name and optional tags.

import AWS from "alchemy/aws/control";
const pinpointApp = await AWS.Pinpoint.App("myPinpointApp", {
name: "My Awesome App",
tags: {
environment: "production",
team: "marketing"
}
});

Configure an app with additional properties such as adopting an existing resource.

const existingApp = await AWS.Pinpoint.App("existingPinpointApp", {
name: "Existing App",
adopt: true // Adopts the existing resource if it already exists
});

Create a Pinpoint App with custom tags to help categorize resources.

const taggedApp = await AWS.Pinpoint.App("taggedPinpointApp", {
name: "My Tagged App",
tags: {
project: "User Engagement",
owner: "dev-team"
}
});

Handle resource adoption in a situation where the app may already exist.

const adoptedApp = await AWS.Pinpoint.App("adoptedPinpointApp", {
name: "Adopted App",
adopt: true,
tags: {
status: "active",
department: "sales"
}
});