--- title: "New-VBOAmazonS3ServiceConnectionSettings" description: "This cmdlet creates the VBOAmazonS3ConnectionSettings object. This object contains connection settings to Amazon S3 object storage repository." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/new-vboamazons3serviceconnectionsettings.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > Amazon Storage Settings > Amazon S3 Connection Settings > New-VBOAmazonS3ServiceConnectionSettings" dateModified: "2026-08-21" --- # New-VBOAmazonS3ServiceConnectionSettings ## Short Description Defines connection settings to Amazon S3 object storage repository. ::: note In Veeam Backup for Microsoft 365 8, this cmdlet became deprecated. Use the [`New-VBOAmazonS3ConnectionSettings`](new-vboamazons3connectionsettings.md) cmdlet to define connection settings to Amazon S3 object storage repository. ::: ## Syntax ``` New-VBOAmazonS3ServiceConnectionSettings -Account -RegionType [] ``` ## Detailed Description This cmdlet creates the [`VBOAmazonS3ConnectionSettings`](vboamazons3connectionsettings.md) object. This object contains connection settings to Amazon S3 object storage repository. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Account

Specifies Amazon S3 storage account credentials. The cmdlet will use these storage account credentials to connect to Amazon S3 object storage repository.

Accepts the VBOAmazonS3Account object.

To get this object, run the Get-VBOAmazonS3Account cmdlet.

VBOAmazonS3Account

True

Named

False

RegionType

Specifies the region type for Amazon S3 object storage repository. The cmdlet will connect to the selected region type and will set up a connection with Amazon S3 object storage repository. You can select the following region type:

  • Global
  • USGovernment
  • China

VBOAmazonS3RegionType

True

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Output Object The cmdlet returns the [`VBOAmazonS3ConnectionSettings`](vboamazons3connectionsettings.md) object that defines connection settings to Amazon S3 object storage repository. ## Examples ::: example ### Example 1: Connecting to Amazon S3 Object Storage of Global Region Type This example shows how to connect to Amazon S3 object storage repository of the *Global* region type. ``` $account = Get-VBOAmazonS3Account -Id 26e61916-0257-4a05-8f65-204628d2ed7a New-VBOAmazonS3ServiceConnectionSettings -Account $account -RegionType Global ``` Perform the following steps: 1. Run the [`Get-VBOAmazonS3Account`](get-vboamazons3account.md) cmdlet. Specify the `Id` parameter value. Save the result to the `$account` variable. 2. Run the `New-VBOAmazonS3ServiceConnectionSettings` cmdlet. Set the `$account` variable as the `Account` parameter value. Specify the `RegionType` parameter value. ::: ::: example ### Example 2: Connecting to Amazon S3 Object Storage of US Government Region Type This example shows how to connect to Amazon S3 object storage repository of the *US Government* region type. ``` $account = Get-VBOAmazonS3Account -Id d1fc1171-3206-429f-9563-51b9af8df0ac New-VBOAmazonS3ServiceConnectionSettings -Account $account -RegionType USGovernment ``` Perform the following steps: 1. Run the [`Get-VBOAmazonS3Account`](get-vboamazons3account.md) cmdlet. Specify the `Id` parameter value. Save the result to the `$account` variable. 2. Run the `New-VBOAmazonS3ServiceConnectionSettings` cmdlet. Set the `$account` variable as the `Account` parameter value. Specify the `RegionType` parameter value. ::: ::: example ### Example 3: Connecting to Amazon S3 Object Storage of China Region Type This example shows how to connect to Amazon S3 object storage repository of the *China* region type. ``` $account = Get-VBOAmazonS3Account -Id f7e0a65d-1042-4ab0-bc73-699acbb5cb79 New-VBOAmazonS3ServiceConnectionSettings -Account $account -RegionType China ``` Perform the following steps: 1. Run the [`Get-VBOAmazonS3Account`](get-vboamazons3account.md) cmdlet. Specify the `Id` parameter value. Save the result to the `$account` variable. 2. Run the `New-VBOAmazonS3ServiceConnectionSettings` cmdlet. Set the `$account` variable as the `Account` parameter value. Specify the `RegionType` parameter value. ::: ## Related Commands [`Get-VBOAmazonS3Account`](get-vboamazons3account.md)