transfer:TagResource

Tagging

transfer:TagResource is a Tagging access-level action in the transfer service. Grants permission to tag an AWS Transfer Family resource

Resource types

ARNs that transfer:TagResource can be scoped to in an IAM policy.

arn:${Partition}:transfer:${Region}:${Account}:agreement/${ServerId}/${AgreementId}
agreement
arn:${Partition}:transfer:${Region}:${Account}:certificate/${CertificateId}
certificate
arn:${Partition}:transfer:${Region}:${Account}:connector/${ConnectorId}
connector
arn:${Partition}:transfer:${Region}:${Account}:host-key/${ServerId}/${HostKeyId}
host-key
arn:${Partition}:transfer:${Region}:${Account}:profile/${ProfileId}
profile
arn:${Partition}:transfer:${Region}:${Account}:server/${ServerId}
server
arn:${Partition}:transfer:${Region}:${Account}:user/${ServerId}/${UserName}
user
arn:${Partition}:transfer:${Region}:${Account}:webapp/${WebAppId}
webapp
arn:${Partition}:transfer:${Region}:${Account}:workflow/${WorkflowId}
workflow

Condition keys

Keys you can use in the Condition block of a policy that grants transfer:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows transfer:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowTransferTagResource",
      "Effect": "Allow",
      "Action": "transfer:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in transfer

View all transfer actions →