forecast:CreateDataset

Write

forecast:CreateDataset is a Write access-level action in the forecast service. Grants permission to create a dataset

Resource types

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

arn:${Partition}:forecast:${Region}:${Account}:dataset/${ResourceId}
dataset

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in forecast

View all forecast actions →