Is Object storage s3 in nexcloud the same?

Hi I am currently running nextcloud 18 and these instructions worked here:

In nextcloud 21, is the set-up for object s3 as primary storage done via the same mechanism? (Basically I created this file

<?php
$CONFIG = [
  'objectstore' => array(
    'class' => 'OC\\Files\\ObjectStore\\S3',
    'arguments' => array(
            'bucket' => 'bucket_name',    
            'key'    => 'NEXTCLOUD_AWS_PUBLIC',    
            'secret' => 'NEXTCLOUD_AWS_PRIVATE',
            'autocreate' => false,
            'use_ssl' => true,
            'use_path_style'=>false,   
            'region' => 'us-west-2',      
    ),
),
];