codedeploy:AddTagsToOnPremisesInstances

Tagging

codedeploy:AddTagsToOnPremisesInstances is a Tagging access-level action in the codedeploy service. Grants permission to add tags to one or more on-premises instances

Resource types

ARNs that codedeploy:AddTagsToOnPremisesInstances can be scoped to in an IAM policy.

arn:${Partition}:codedeploy:${Region}:${Account}:instance:${InstanceName}
instance

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodedeployAddTagsToOnPremisesInstances",
      "Effect": "Allow",
      "Action": "codedeploy:AddTagsToOnPremisesInstances",
      "Resource": "*"
    }
  ]
}

Related actions in codedeploy

View all codedeploy actions →