ssm-sap:TagResource

Tagging

ssm-sap:TagResource is a Tagging access-level action in the ssm-sap service. Grants permission to tag a specified resource ARN

Resource types

ARNs that ssm-sap:TagResource can be scoped to in an IAM policy.

arn:${Partition}:ssm-sap:${Region}:${Account}:${ApplicationType}/${ApplicationId}
application
arn:${Partition}:ssm-sap:${Region}:${Account}:${ApplicationType}/${ApplicationId}/COMPONENT/${ComponentId}
component
arn:${Partition}:ssm-sap:${Region}:${Account}:${ApplicationType}/${ApplicationId}/DB/${DatabaseId}
database

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in ssm-sap

View all ssm-sap actions →