AWS Tools for Windows PowerShell
User Guide

Amazon S3 and Tools for Windows PowerShell

In this section, we create a static website using the AWS Tools for Windows PowerShell using Amazon S3 and CloudFront. In the process, we demonstrate a number of common tasks with these services. This walkthrough is modeled after the Getting Started Guide for AWS Static Website Hosting. which describes a similar process using the AWS Management Console.

The commands shown here assume that you have set default credentials and a default region for your PowerShell session. Therefore, credentials and regions are not included in the invocation of the cmdlets.

There is currently no Amazon S3 API for renaming buckets and objects, and therefore, no single Tools for Windows PowerShell cmdlet for performing this task. To rename objects in S3, we recommend that you copy the object using a new name, by running the Copy-S3Object cmdlet, and then delete the original object by running the Remove-S3Object cmdlet.

See Also

On this page: