Class Ref

java.lang.Object
clusterless.commons.naming.Ref

public final class Ref extends Object
Creates an identifier to use as an export/import key for provider output/export values.

 aws:qualifier:[stage:]scopeName:scopeVersion:resourceNS:resourceType:resourceName
 

Where the qualifier represents the type of value being exported/imported: - id - name - arn

Where stage is the stage of the deployment, such as dev, test, prod, etc. It is optional.

scopeName and scopeVersion are analogous to project names and versions.

Resources are identified by a namespace, type, and name.

   ref:aws:id:project-a:20230101:core:compute:spot
   ref:aws:id:dev:project-a:20230101:core:compute:spot