Orchestrator Function: AWS Account Find By Name

by Simon Sparks · 7 February 2026

To use this function add it to the class library file named OrchestratorPluginAWSService.ts

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

Filename: OrchestratorPluginAWSService.ts

Description: Orchestrator Function to Find an AWS Account by Name

Public Function: AWSAccountFindByName

publicAWSAccountFindByName(strAWSAccountName:string):AWSAccount{
letarrAWSAccount:AWSAccount[]=this.serverFindAllForType<AWSAccount>("AWS:AWSAccount");

letobjAWSAccount:AWSAccount=arrAWSAccount.find((objAWSAccount:AWSAccount):boolean=>{
returnobjAWSAccount.name===strAWSAccountName;
});

returnobjAWSAccount;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like