Application
The Application resource lets you manage AWS ServiceCatalogAppRegistry Applications and their associated configurations.
Minimal Example
Section titled “Minimal Example”Create a basic application with a name and description:
import AWS from "alchemy/aws/control";
const basicApplication = await AWS.ServiceCatalogAppRegistry.Application("basicApp", { name: "BasicApplication", description: "This is a basic application for demonstration purposes."});
Advanced Configuration
Section titled “Advanced Configuration”Configure an application with tags and enable resource adoption:
const advancedApplication = await AWS.ServiceCatalogAppRegistry.Application("advancedApp", { name: "AdvancedApplication", description: "An advanced application with tags.", tags: { Environment: "Development", Team: "Engineering" }, adopt: true // Allow adoption of existing resources});
Example with Additional Tags
Section titled “Example with Additional Tags”Create an application that includes additional metadata through tags:
const taggedApplication = await AWS.ServiceCatalogAppRegistry.Application("taggedApp", { name: "TaggedApplication", description: "An application with multiple tags for tracking.", tags: { Owner: "DevOps", Project: "Migration", Version: "1.0" }});
Adoption of Existing Resources
Section titled “Adoption of Existing Resources”Create an application that adopts an existing resource without failing:
const adoptExistingApp = await AWS.ServiceCatalogAppRegistry.Application("adoptExistingApp", { name: "AdoptExistingApplication", description: "This application adopts an existing resource.", adopt: true});