Mark Payne created NIFI-10499:
---------------------------------
Summary: Most AWS Processors should allow Region to be specified
via attribute
Key: NIFI-10499
URL: https://issues.apache.org/jira/browse/NIFI-10499
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Mark Payne
Most of the AWS Processors have a property for "Region" (e.g., us-west-2). The
property has a set of allowable values that are provided by the SDK.
However, often times the Region to use is unknown when the flow is developed.
For example, when a ListS3Bucket is used, it provides in that listing what the
Region is. But then it must be specified again in the FetchS3Object processor,
even though it's a known attribute.
While it's important to provide a drop-down list of allowable values, one of
those Allowable Values should be "Use 'aws.region' attribute"
If selected, the region should be determined by looking at the specified
attribute.
The ListS3 processor should also include this in its output. While it's not a
part of the S3ObjectSummary that is returned from AWS, it is known by the
ListS3 processor because it's configured there. For this processor, the region
should not be able to make use of the 'aws.region' attribute, but most others,
such as PutS3 and FetchS3 should.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)