codewhisperer:DeleteProfile

Write

codewhisperer:DeleteProfile is a Write access-level action in the codewhisperer service. Grants permission to invoke DeleteProfile on CodeWhisperer

Resource types

ARNs that codewhisperer:DeleteProfile can be scoped to in an IAM policy.

arn:${Partition}:codewhisperer:${Region}:${Account}:profile/${Identifier}
profile

Condition keys

Keys you can use in the Condition block of a policy that grants codewhisperer:DeleteProfile.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with CodeWhisperer resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodewhispererDeleteProfile",
      "Effect": "Allow",
      "Action": "codewhisperer:DeleteProfile",
      "Resource": "*"
    }
  ]
}

Related actions in codewhisperer

View all codewhisperer actions →