S3PutBucketTaggingOperator
AmazonThis operator puts tagging for an S3 bucket.
Access Instructions
Install the Amazon provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
bucket_nameThe name of the bucket to add tags to.
keyThe key portion of the key/value pair for a tag to be added. If a key is provided, a value must be provided as well.
valueThe value portion of the key/value pair for a tag to be added. If a value is provided, a key must be provided as well.
tag_setA dictionary containing the tags, or a List of key/value pairs.
aws_conn_idThe Airflow connection used for AWS credentials. If this is None or empty then the default boto3 behaviour is used. If running Airflow in a distributed manner and aws_conn_id is None or empty, then the default boto3 configuration would be used (and must be maintained on each worker node).
Documentation
This operator puts tagging for an S3 bucket.
See also
For more information on how to use this operator, take a look at the guide: Set the tags for an Amazon S3 bucket