Function: AWS Account Remove

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 Remove an AWS Account

Public Function: AWSAccountRemove

public AWSAccountRemove(strAWSAccountName: string): boolean {

    let objAWSAccount: AWSAccount = this.AWSAccountFindByName(strAWSAccountName);

    try {
        AWSAwsAccountManager.removeAwsAccount(objAWSAccount);

        return true;
    } catch (objException) {
        return false;
    }
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like