public AWSOrchestrationFactory(bool usePersistantStore, string lambdaRole) { _amazonSimpleWorkflowClient = new AmazonSimpleWorkflowClient(); _lambdaRole = lambdaRole; if (usePersistantStore) { _store = new AWSPeristantStore( ); } }
public AWSOrchestrationFactory(string awsAccessKey, string awsSecretAccessKey, string awsRegion, bool usePersistantStore, string lambdaRole) { _amazonSimpleWorkflowClient = new AmazonSimpleWorkflowClient(awsAccessKey, awsSecretAccessKey, RegionEndpoint.GetBySystemName(awsRegion)); _lambdaRole = lambdaRole; if (usePersistantStore) { _store = new AWSPeristantStore(awsAccessKey, awsSecretAccessKey, awsRegion); } }