dsql:InjectError

Write

dsql:InjectError is a Write access-level action in the dsql service. Grants permission to inject errors in targeted clusters

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 dsql:InjectError.

dsql:FisActionId String

Filters access by the ID of an AWS FIS action

dsql:FisTargetArns ArrayOfARN

Filters access by the ARN of an AWS FIS target

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDsqlInjectError",
      "Effect": "Allow",
      "Action": "dsql:InjectError",
      "Resource": "*"
    }
  ]
}

Related actions in dsql

View all dsql actions →