aps:CreateScraper

Write

aps:CreateScraper is a Write access-level action in the aps service. Grants permission to create a scraper

Resource types

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

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

Condition keys

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

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

Dependent actions

To use aps:CreateScraper you may also need to grant:

Example IAM policy

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

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

Related actions in aps

View all aps actions →