删除用于主文件夹和应用程序设置持久性的 Amazon S3 存储桶
AppStream 2.0 向其创建的存储桶中添加 Amazon S3 存储桶策略,以防止存储桶被意外删除。要删除 S3 存储桶,必须先删除 S3 存储桶策略。下面是必须删除的用于主文件夹和应用程序设置持久性的存储桶策略。
主文件夹策略
{ "Version": "2012-10-17", "Statement": [ { "Sid": "PreventAccidentalDeletionOfBucket", "Effect": "Deny", "Principal": "*", "Action": "s3:DeleteBucket", "Resource": "arn:aws:s3:::appstream2-36fb080bb8-
region-code
-account-id-without-hyphens
" } ] }
应用程序设置持久性策略
{ "Version": "2012-10-17", "Statement": [ { "Sid": "PreventAccidentalDeletionOfBucket", "Effect": "Deny", "Principal": "*", "Action": "s3:DeleteBucket", "Resource": "arn:aws:s3:::appstream-app-settings-
region-code
-account-id-without-hyphens
-unique-identifier
" } ] }
有关更多信息,请参阅《Amazon Simple Storage Service 用户指南》中的删除或清空存储桶。