wellarchitected:PutAgentRecommendationPolicy

Write

wellarchitected:PutAgentRecommendationPolicy is a Write access-level action in the wellarchitected service. Grants permission to attach or replace a resource-based policy on the specified agent recommendation

Resource types

ARNs that wellarchitected:PutAgentRecommendationPolicy can be scoped to in an IAM policy.

arn:${Partition}:wellarchitected:${Region}:${Account}:agent-recommendation/${ResourceId} required
agent-recommendation

Condition keys

Keys you can use in the Condition block of a policy that grants wellarchitected:PutAgentRecommendationPolicy.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWellarchitectedPutAgentRecommendationPolicy",
      "Effect": "Allow",
      "Action": "wellarchitected:PutAgentRecommendationPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in wellarchitected

View all wellarchitected actions →