TagS3Object
Description
Adds or updates a tag on an Amazon S3 Object.
Tags
AWS, Amazon, Archive, S3, Tag
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Bucket * | Bucket | ${s3.bucket} | The S3 Bucket to interact with Supports Expression Language, using FlowFile attributes and Environment variables. | |
Object Key * | Object Key | ${filename} | The S3 Object Key to use. This is analogous to a filename for traditional file systems. Supports Expression Language, using FlowFile attributes and Environment variables. | |
Region * | Region | US West (Oregon) |
| The AWS Region to connect to. |
AWS Credentials Provider Service * | AWS Credentials Provider service | Controller Service: AWSCredentialsProviderService Implementations: AWSCredentialsProviderControllerService | The Controller Service that is used to obtain AWS credentials provider | |
Tag Key * | tag-key | The key of the tag that will be set on the S3 Object Supports Expression Language, using FlowFile attributes and Environment variables. | ||
Tag Value * | tag-value | The value of the tag that will be set on the S3 Object Supports Expression Language, using FlowFile attributes and Environment variables. | ||
Append Tag * | append-tag | true |
| If set to true, the tag will be appended to the existing set of tags on the S3 object. Any existing tags with the same key as the new tag will be updated with the specified value. If set to false, the existing tags will be removed and the new tag will be set on the S3 object. |
Version ID | version | The Version of the Object to tag Supports Expression Language, using FlowFile attributes and Environment variables. | ||
Communications Timeout * | Communications Timeout | 30 secs | The amount of time to wait in order to establish a connection to AWS or receive data from AWS before timing out. | |
SSL Context Service | SSL Context Service | Controller Service: SSLContextService Implementations: StandardRestrictedSSLContextService StandardSSLContextService | Specifies an optional SSL Context Service that, if provided, will be used to create connections | |
Endpoint Override URL | Endpoint Override URL | Endpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints. Supports Expression Language, using Environment variables. | ||
Signer Override | Signer Override | Default Signature |
| The AWS S3 library uses Signature Version 4 by default but this property allows you to specify the Version 2 signer to support older S3-compatible services or even to plug in your own custom signer implementation. |
Custom Signer Class Name * | custom-signer-class-name | Fully qualified class name of the custom signer class. The signer must implement com.amazonaws.auth.Signer interface. Supports Expression Language, using Environment variables. This property is only considered if:
| ||
Custom Signer Module Location | custom-signer-module-location | Comma-separated list of paths to files and/or directories which contain the custom signer's JAR file and its dependencies (if any). Supports Expression Language, using Environment variables. This property is only considered if:
| ||
Proxy Configuration Service | proxy-configuration-service | Controller Service: ProxyConfigurationService Implementations: StandardProxyConfigurationService | Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN |
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
failure | If the Processor is unable to process a given FlowFile, it will be routed to this Relationship. |
success | FlowFiles are routed to this Relationship after they have been successfully processed. |
Reads Attributes
This processor does not read attributes.
Writes Attributes
Name | Description |
---|---|
s3.additionalDetails | The S3 supplied detail from the failed operation |
s3.errorCode | The S3 moniker of the failed operation |
s3.errorMessage | The S3 exception message from the failed operation |
s3.exception | The class name of the exception thrown during processor execution |
s3.statusCode | The HTTP error code (if available) from the failed operation |
s3.tag.___ | The tags associated with the S3 object will be written as part of the FlowFile attributes |
State Management
This component does not store state.
Restricted
This component is not restricted.
Input Requirement
This component requires an incoming relationship.
System Resource Considerations
This component does not specify system resource considerations.
See Also
CopyS3Object, DeleteS3Object, FetchS3Object, GetS3ObjectMetadata, ListS3, PutS3Object