ecr:PutAccountSetting

Write

ecr:PutAccountSetting is a Write access-level action in the ecr service. Grants permission to update account settings

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 ecr:PutAccountSetting.

ecr:AccountSetting String

Filters access by the ECR account setting name

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEcrPutAccountSetting",
      "Effect": "Allow",
      "Action": "ecr:PutAccountSetting",
      "Resource": "*"
    }
  ]
}

Related actions in ecr

View all ecr actions →