config:PutStoredQuery

Write

config:PutStoredQuery is a Write access-level action in the config service. Grants permission to save a new query or updates an existing saved query

Resource types

ARNs that config:PutStoredQuery can be scoped to in an IAM policy.

arn:${Partition}:config:${Region}:${Account}:stored-query/${StoredQueryName}/${StoredQueryId}
StoredQuery

Condition keys

Keys you can use in the Condition block of a policy that grants config:PutStoredQuery.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowConfigPutStoredQuery",
      "Effect": "Allow",
      "Action": "config:PutStoredQuery",
      "Resource": "*"
    }
  ]
}

Related actions in config

View all config actions →