ecs:PutAccountSetting is a Write access-level action in the ecs service. Grants permission to modify the ARN and resource ID format of a resource for a specified IAM user, IAM role, or the root user for an account. You can specify whether the new ARN and resource ID format are enabled for new resources that are created. Enabling this setting is required to use new Amazon ECS features such as resource tagging
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants ecs:PutAccountSetting.
Filters access by the Amazon ECS account setting name
A minimal policy that allows ecs:PutAccountSetting. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEcsPutAccountSetting",
"Effect": "Allow",
"Action": "ecs:PutAccountSetting",
"Resource": "*"
}
]
}