Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025.
If you would like to use Python UDFs, create the UDFs prior to that date.
Existing Python UDFs will continue to function as normal. For more information, see the
blog post
Setting up permissions to view schedule query history
To allow users to view schedule query history, edit the IAM role (that is specified with the schedule) Trust relationships to add permissions.
The following is an example of a trust policy in an IAM role that allows the IAM
user myIAMusername
to view schedule query history. Instead of
allowing an IAM user sts:AssumeRole
permission you can choose to allow an
IAM role this permission.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "redshift.amazonaws.com", "redshift-serverless.amazonaws.com" ] }, "Action": "sts:AssumeRole" }, { "Effect": "Allow", "Principal": { "Service": "events.amazonaws.com" }, "Action": "sts:AssumeRole" }, { "Sid": "AssumeRole", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::
123456789012
:user/myIAMusername
" }, "Action": "sts:AssumeRole" } ] }