forecast:DeleteWhatIfAnalysis

Write

forecast:DeleteWhatIfAnalysis is a Write access-level action in the forecast service. Grants permission to delete a what-if analysis

Resource types

ARNs that forecast:DeleteWhatIfAnalysis can be scoped to in an IAM policy.

arn:${Partition}:forecast:${Region}:${Account}:what-if-analysis/${ResourceId}
whatIfAnalysis

Condition keys

Keys you can use in the Condition block of a policy that grants forecast:DeleteWhatIfAnalysis.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowForecastDeleteWhatIfAnalysis",
      "Effect": "Allow",
      "Action": "forecast:DeleteWhatIfAnalysis",
      "Resource": "*"
    }
  ]
}

Related actions in forecast

View all forecast actions →