Configuration Element

by Simon Sparks · January 5, 2026

This is a sample of how to create a configuration element using the Build Tools.

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: Samples / ConfigurationElement.conf.ts

import { ConfigElementAccessor } from "com.vmware.pscoe.library.ts.util/ConfigElementAccessor";
import { Configuration } from "vrotsc-annotations";

@Configuration({
  name: "General",
  path: "CompanyName",
  attributes: {

    Environment_Road_Sign: { type: "string", description: "", value: "" },

  }
})
export class General extends ConfigElementAccessor {
  constructor() {
    super("CompanyName/General");
  }

  public getEnvironmentRoadSign(): string {
    return this.get<string>("Environment_Road_Sign");
  }
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like