Beispiel #1
0
 protected ALambdaFunction(LambdaFunctionConfiguration configuration)
 {
     _now       = configuration.UtcNow ?? (() => DateTime.UtcNow);
     _kmsClient = configuration.KmsClient ?? throw new ArgumentNullException(nameof(configuration.KmsClient));
     _snsClient = configuration.SnsClient ?? throw new ArgumentNullException(nameof(configuration.SnsClient));
     _sqsClient = configuration.SqsClient ?? throw new ArgumentNullException(nameof(configuration.SqsClient));
     _envSource = configuration.EnvironmentSource ?? throw new ArgumentNullException(nameof(configuration.EnvironmentSource));
     _started   = UtcNow;
 }
 protected ALambdaFunction(LambdaFunctionConfiguration configuration) : base(configuration)
 {
 }