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
publicAWSAccountRemove(strAWSAccountName:string):boolean{
letobjAWSAccount:AWSAccount=this.AWSAccountFindByName(strAWSAccountName);
try{
AWSAwsAccountManager.removeAwsAccount(objAWSAccount);
returntrue;
}catch (objException){
returnfalse;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
