Orchestrator Function: AWS Account Update

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

Public Function: AWSAccountUpdate

publicAWSAccountUpdate(strAWSAccountName:string,strName:string,strAccessKey:string,strSecretKey:string,intConnectionTimeout:number=50,intSocketTimeout:number=50,intMaxConnections:number=50,intMaxErrorRetry:number=-1,strProxyHost:string,intProxyPort:number,strProxyUsername:string,strProxyPassword:string,strProxyDomain:string,strProxyWorkstation:string):boolean{

letobjAWSAccount:AWSAccount=this.AWSAccountFindByName(strAWSAccountName);

try{
letobjRequest:any={
name:strName,
accessKey:strAccessKey,
secretKey:strSecretKey,
connectionTimeout:intConnectionTimeout,
socketTimeout:intSocketTimeout,
maxConnections:intMaxConnections,
maxErrorRetry:intMaxErrorRetry,
proxyHost:strProxyHost,
proxyPort:intProxyPort,
proxyUsername:strProxyUsername,
proxyPassword:strProxyPassword,
proxyDomain:strProxyDomain,
proxyWorkstation:strProxyWorkstation
};

objAWSAccount=AWSAwsAccountManager.updateVcacHost(objAWSAccount,objRequest);

returntrue;
}
catch (objException){
returnfalse;
}
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like