sms-voice:TagResource

Tagging

sms-voice:TagResource is a Tagging access-level action in the sms-voice service. Grants permission to add tags to a resource

Resource types

ARNs that sms-voice:TagResource can be scoped to in an IAM policy.

arn:${Partition}:sms-voice:${Region}:${Account}:configuration-set/${ConfigurationSetName}
ConfigurationSet
arn:${Partition}:sms-voice:${Region}:${Account}:opt-out-list/${OptOutListName}
OptOutList
arn:${Partition}:sms-voice:${Region}:${Account}:phone-number/${PhoneNumberId}
PhoneNumber
arn:${Partition}:sms-voice:${Region}:${Account}:pool/${PoolId}
Pool
arn:${Partition}:sms-voice:${Region}:${Account}:protect-configuration/${ProtectConfigurationId}
ProtectConfiguration
arn:${Partition}:sms-voice:${Region}:${Account}:registration/${RegistrationId}
Registration
arn:${Partition}:sms-voice:${Region}:${Account}:registration-attachment/${RegistrationAttachmentId}
RegistrationAttachment
arn:${Partition}:sms-voice:${Region}:${Account}:sender-id/${SenderId}/${IsoCountryCode}
SenderId
arn:${Partition}:sms-voice:${Region}:${Account}:verified-destination-number/${VerifiedDestinationNumberId}
VerifiedDestinationNumber

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in sms-voice

View all sms-voice actions →