aps:UpdateQueryLoggingConfiguration

Write

aps:UpdateQueryLoggingConfiguration is a Write access-level action in the aps service. Grants permission to update a query logging configuration

Resource types

ARNs that aps:UpdateQueryLoggingConfiguration can be scoped to in an IAM policy.

arn:${Partition}:aps:${Region}:${Account}:workspace/${WorkspaceId}
workspace

Condition keys

Keys you can use in the Condition block of a policy that grants aps:UpdateQueryLoggingConfiguration.

aws:RequestTag/${TagKey} String

Filters access based on the tags that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

aws:TagKeys ArrayOfString

Filters access based on the tag keys that are passed in the request

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowApsUpdateQueryLoggingConfiguration",
      "Effect": "Allow",
      "Action": "aps:UpdateQueryLoggingConfiguration",
      "Resource": "*"
    }
  ]
}

Related actions in aps

View all aps actions →