Issues finding provider options when migrating to serverless 3

I have the following code in a nodejs config module

const {
  userArn, userId
} = serverless.providers.aws.options;

However, I can’t find any information if it’s possible to retrieve this information in serverless 3?