CmdID / aws / aws s3control
aws s3control tag-resource
Creates a new user-defined tag or updates an existing tag. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID that created the S3 resource that you're trying to add tags to or the requester's account ID.--resource-arnThe Amazon Resource Name (ARN) of the S3 resource that you're applying tags to.--tagsThe Amazon Web Services resource tags that you want to add to the specified S3 resource.