Browse Source

chore(asset-server-plugin): Remove deprecated S3 option

Michael Bromley 4 years ago
parent
commit
55f794aa9c
1 changed files with 0 additions and 8 deletions
  1. 0 8
      packages/asset-server-plugin/src/s3-asset-storage-strategy.ts

+ 0 - 8
packages/asset-server-plugin/src/s3-asset-storage-strategy.ts

@@ -37,13 +37,6 @@ export interface S3Config {
      * The S3 bucket in which to store the assets. If it does not exist, it will be created on startup.
      * The S3 bucket in which to store the assets. If it does not exist, it will be created on startup.
      */
      */
     bucket: string;
     bucket: string;
-    /**
-     * @description
-     * The AWS region in which to host the assets.
-     * @deprecated
-     * Use nativeS3Configuration instead.
-     */
-    region?: string;
     /**
     /**
      * @description
      * @description
      * Configuration object passed directly to the AWS SDK.
      * Configuration object passed directly to the AWS SDK.
@@ -146,7 +139,6 @@ export class S3AssetStorageStrategy implements AssetStorageStrategy {
 
 
         const config = {
         const config = {
             credentials: this.getS3Credentials(),
             credentials: this.getS3Credentials(),
-            region: this.s3Config.region,
             ...this.s3Config.nativeS3Configuration,
             ...this.s3Config.nativeS3Configuration,
         };
         };
         this.s3 = new this.AWS.S3(config);
         this.s3 = new this.AWS.S3(config);