Function: AWS Account Create

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

Public Function: AWSAccountCreate

public AWSAccountCreate(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): AWSAccount {
    let objRequest: 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
    };

    let objAWSAccount: AWSAccount = AWSAwsAccountManager.addAwsAccount(objRequest);

    return objAWSAccount;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like