Skip to content
GitHubXDiscord

Profile

The Profile resource lets you manage AWS Route53Profiles Profiles for configuring and managing DNS settings in AWS Route 53.

Create a basic profile with required properties and one optional tag.

import AWS from "alchemy/aws/control";
const profile = await AWS.Route53Profiles.Profile("basicProfile", {
name: "BasicProfile",
tags: [
{
key: "Environment",
value: "Development"
}
]
});

Configure a profile with additional properties such as the adoption of existing resources.

const advancedProfile = await AWS.Route53Profiles.Profile("advancedProfile", {
name: "AdvancedProfile",
adopt: true,
tags: [
{
key: "Project",
value: "Route53Migration"
},
{
key: "Owner",
value: "DevTeam"
}
]
});

Create a profile while adopting an existing resource if it already exists.

const adoptedProfile = await AWS.Route53Profiles.Profile("adoptedProfile", {
name: "AdoptedProfile",
adopt: true
});