synthetics:CreateCanary

Write

synthetics:CreateCanary is a Write access-level action in the synthetics service. Grants permission to create a canary

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 synthetics:CreateCanary.

aws:RequestTag/${TagKey} String

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

aws:TagKeys ArrayOfString

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSyntheticsCreateCanary",
      "Effect": "Allow",
      "Action": "synthetics:CreateCanary",
      "Resource": "*"
    }
  ]
}

Related actions in synthetics

View all synthetics actions →