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
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.
Use the following policy for resources in your Region type. Replace
111122223333 with your Amazon account ID:
- Commercial Amazon Web Services Regions
-
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowWorkSpacesPoolsToAccessS3Buckets",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:sts::111122223333:assumed-role/workspaces_DefaultRole/WorkSpacesPoolSession"
},
"Action": [
"s3:ListBucket",
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:GetObjectVersion",
"s3:DeleteObjectVersion"
],
"Resource": [
"arn:aws:s3:::wspool-app-settings-*",
"arn:aws:s3:::wspool-home-folder-*",
"arn:aws:s3:::wspool-logs-*"
]
}
]
}
- Amazon GovCloud (US) Regions
-
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowWorkSpacesPoolsToAccessS3Buckets",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws-us-gov:sts::111122223333: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-app-settings-*",
"arn:aws-us-gov:s3:::wspool-home-folder-*",
"arn:aws-us-gov:s3:::wspool-logs-*"
]
}
]
}