

 Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026. We will start enforcing it in phases. For more information on the details of Python end of life and migration options, see the [ blog post ](https://amazonaws-china.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/) that was published on June 30, 2025. 

# Activating the express configuration

You activate Amazon Redshift Serverless with express configuration one time per Amazon Web Services account and Amazon Web Services Region, the first time you use it in that Amazon Web Services Region. As an administrator, activate the express configuration by opening it in the Amazon Redshift console or by calling the `GetExpressConfiguration` API operation. This activates the express configuration in that Amazon Web Services Region. Running queries from a client, such as the query editor v2, the Data API, the JDBC, ODBC, and Python drivers, or the Redshift extension for DuckDB, doesn't activate it, so run this step first. Until you activate the Amazon Web Services Region, queries fail with a `ValidationException` like the following:

```
Amazon Redshift Serverless with express configuration is not activated for account {{account-id}} in {{region}}. To activate, open express configuration in the Amazon Redshift console, or call the GetExpressConfiguration API from the AWS CLI, with an IAM identity that has redshift-serverless:GetExpressConfiguration permission. Retry your request after activation is complete.
```

Activation is per account and per Amazon Web Services Region, and it is separate from the `AWSServiceRoleForRedshift` service-linked role. The service-linked role is account-wide, so using Amazon Redshift in other Amazon Web Services Regions, or already having the service-linked role, doesn't activate the express configuration in a new Amazon Web Services Region. The administrator who activates it needs the `redshift-serverless:GetExpressConfiguration` permission, and the `iam:CreateServiceLinkedRole` permission if the account doesn't already have the Amazon Redshift service-linked role. Users who only run queries don't need these permissions.

Activating the express configuration doesn't incur charges. You pay only while your queries run.

The following Amazon CLI command activates the express configuration. Replace `{{region}}` with your Amazon Web Services Region.

```bash
aws redshift-serverless get-express-configuration --region {{region}}
```