Using Amazon S3 VPC Endpoints for WorkSpaces Pools Features - Amazon WorkSpaces
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using Amazon S3 VPC Endpoints for WorkSpaces Pools Features

Important

The WorkSpaces Pools feature is not available in the Beijing and Ningxia Regions.

When you enable Application Settings Persistence for a WorkSpaces Pool or Home folders for a WorkSpaces Pool directory, WorkSpaces uses the VPC you specify for your directory to provide access to Amazon Simple Storage Service (Amazon S3) buckets. To enable WorkSpaces Pools access to your private S3 endpoint, attach the following custom policy to your VPC endpoint for Amazon S3. For more information about private Amazon S3 endpoints, see VPC Endpoints and Endpoints for Amazon S3 in the Amazon VPC User Guide.

Commercial Amazon Web Services Regions

Use the following policy for resources in the commercial Amazon Web Services Regions.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "Allow-WorkSpaces-to-access-S3-buckets", "Effect": "Allow", "Principal": { "AWS": "arn:aws:sts::<account-id>:assumed-role/workspaces_DefaultRole/WorkSpacesPoolSession" }, "Action": [ "s3:ListBucket", "s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:GetObjectVersion", "s3:DeleteObjectVersion" ], "Resource": [ "arn:aws:s3:::wspool-logs-*", "arn:aws:s3:::wspool-app-settings-*", "arn:aws:s3:::wspool-home-folder-*" ] } ] }
Amazon GovCloud (US) Regions

Use the following policy for resources in the commercial Amazon GovCloud (US) Regions.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "Allow-WorkSpaces-to-access-S3-buckets", "Effect": "Allow", "Principal": { "AWS": "arn:aws:sts::<account-id>:assumed-role/workspaces_DefaultRole/WorkSpacesPoolSession" }, "Action": [ "s3:ListBucket", "s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:GetObjectVersion", "s3:DeleteObjectVersion" ], "Resource": [ "arn:aws-us-gov:s3:::wspool-logs-*", "arn:aws-us-gov:s3:::wspool-app-settings-*", "arn:aws-us-gov:s3:::wspool-home-folder-*" ], } ] }