mirror of
https://github.com/apache/nifi.git
synced 2025-02-09 11:35:05 +00:00
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:
parent
3efcd45e99
commit
4f0e2f5562
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user