frauddetector:GetRules

List

frauddetector:GetRules is a List access-level action in the frauddetector service. Grants permission to get all rules for a detector (paginated) if ruleId and ruleVersion are not specified. Gets all rules for the detector and the ruleId if present (paginated). Gets a specific rule if both the ruleId and the ruleVersion are specified

Resource types

ARNs that frauddetector:GetRules can be scoped to in an IAM policy.

arn:${Partition}:frauddetector:${Region}:${Account}:rule/${ResourcePath}
rule

Condition keys

Keys you can use in the Condition block of a policy that grants frauddetector:GetRules.

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowFrauddetectorGetRules",
      "Effect": "Allow",
      "Action": "frauddetector:GetRules",
      "Resource": "*"
    }
  ]
}

Related actions in frauddetector

View all frauddetector actions →