本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
範例: AppStream 2.0 彈性機群工作階段指令碼 Amazon S3 儲存貯體政策跨服務混淆代理預防
範例 aws:SourceAccount
條件式:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "appstream.amazonaws.com" ] }, "Action": "s3:GetObject", "Resource": "
your session script S3 path
", "Condition": { "StringEquals": { "aws:SourceAccount": "your AWS 帳戶 ID
" } } } ] }
範例 aws:SourceArn
條件式:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "appstream.amazonaws.com" ] }, "Action": "s3:GetObject", "Resource": "
your session script S3 path
", "Condition": { "ArnLike": { "aws:SourceArn": "arn:{aws partition}:appstream:{your region name
}:{your AWS 帳戶 ID
}:fleet/{your fleet name
}" } } } ] }