codestar-notifications:DeleteTarget

Write

codestar-notifications:DeleteTarget is a Write access-level action in the codestar-notifications service. Grants permission to delete a target for a notification rule

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants codestar-notifications:DeleteTarget.

aws:RequestTag/${TagKey} String

Filters actions based on the presence of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters actions based on the presence of tag keys in the request

Example IAM policy

A minimal policy that allows codestar-notifications:DeleteTarget. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodestarnotificationsDeleteTarget",
      "Effect": "Allow",
      "Action": "codestar-notifications:DeleteTarget",
      "Resource": "*"
    }
  ]
}

Related actions in codestar-notifications

View all codestar-notifications actions →