NIFI-5456: AWS clients now work with private link endpoints (VPC)

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2968.
This commit is contained in:
zenfenan 2018-08-26 19:06:45 +05:30 committed by Pierre Villard
parent 3efcd45e99
commit 4f0e2f5562

View File

@ -286,7 +286,7 @@ public abstract class AbstractAWSProcessor<ClientType extends AmazonWebServiceCl
final String urlstr = StringUtils.trimToEmpty(context.getProperty(ENDPOINT_OVERRIDE).evaluateAttributeExpressions().getValue());
if (!urlstr.isEmpty()) {
getLogger().info("Overriding endpoint with {}", new Object[]{urlstr});
this.client.setEndpoint(urlstr);
this.client.setEndpoint(urlstr, this.client.getServiceName(), this.region.getName());
}
}
}