public CloudWatchLogsTarget()
 {
     _client = new Lazy <CloudWatchLogsClientWrapper>(() =>
                                                      new CloudWatchLogsClientWrapper(
                                                          new AmazonCloudWatchLogsClient(
                                                              AWSCredentialsProvider.GetCredentialsOrDefault(AWSAccessKeyId, AWSSecretKey),
                                                              RegionEndpoint.GetBySystemName(AWSRegion)
                                                              ),
                                                          new CloudWatchLogsWrapperSettings(LogGroupName, LogStreamName)
                                                          )
                                                      );
 }
 public CloudWatchLogsTarget()
 {
     _client = new Lazy <CloudWatchLogsClientWrapper>(() =>
                                                      new CloudWatchLogsClientWrapper(
                                                          new AmazonCloudWatchLogsClient(
                                                              AWSCredentialsProvider.GetCredentialsOrDefault(
                                                                  this._awsAccessKeyIdRendered,
                                                                  this._awsSecretKeyRendered),
                                                              RegionEndpoint.GetBySystemName(this._awsRegionRendered)
                                                              ),
                                                          new CloudWatchLogsWrapperSettings(
                                                              this._logGroupNameRendered,
                                                              this._logStreamNameRendered)
                                                          )
                                                      );
 }