codewhisperer:CreateProfile

Write

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

Resource types

ARNs that codewhisperer:CreateProfile 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:CreateProfile.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with CodeWhisperer resource

Example IAM policy

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

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

Related actions in codewhisperer

View all codewhisperer actions →