App
The App resource lets you manage AWS Pinpoint Apps for sending targeted push notifications, emails, and SMS messages to your users.
Minimal Example
Section titled “Minimal Example”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" }});
Advanced Configuration
Section titled “Advanced Configuration”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});
App with Custom Tags
Section titled “App with Custom Tags”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" }});
App with Adoption Logic
Section titled “App with Adoption Logic”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" }});