Skip to main content

Vercel/aliases

@swamp/vercel/aliasesv2026.08.03.4· 1mo agoMODELS
01README

Vercel aliases infrastructure models

02Release Notes
  • Updated: aliases
03Models1
@swamp/vercel/aliases/aliasesv2026.08.03.4aliases.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
idstringDeployment ID to create the alias for
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
alias?stringThe alias we want to assign to the deployment defined in the URL
redirect?stringThe redirect property will take precedence over the deployment id from the URL and consists of a hostname (like test.com) to which the alias should redirect using status code 307
token?stringVercel API token; overrides the VERCEL_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a Aliases
fn get(id: string)
Get a Aliases
ArgumentTypeDescription
idstringThe ID of the Aliases
fn lookup()
Look up an existing Aliases by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Aliases by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Aliases to import
fn delete(id: string)
Delete the Aliases
ArgumentTypeDescription
idstringThe ID of the Aliases
fn sync(identifier?: string)
Sync Aliases state from Vercel
ArgumentTypeDescription
identifier?stringTarget a specific Aliases by uid (e.g. one discovered by list)

Resources

state(infinite)— Aliases resource state
04Previous Versions1
2026.08.03.3
  • Updated: aliases
05Stats
A
100 / 100
Downloads
1
Archive size
10.4 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels