AWS CLIã使ã£ã¦ S3ãã±ããã®ãã±ããããªã·ã¼ãåå¾ããã«ã¯ãget-bucket-policy ã³ãã³ãã使ç¨ãã¾ãã get-bucket-policy â AWS CLI 1.11.143 Command Reference ã§ããã®å ´åããã±ããããªã·ã¼èªä½ã¯ã¨ã¹ã±ã¼ããããç¶æ ã§åºåããã¦ãã¾ãã¾ãã ä¾ãã°ãããªæãã«ï¼backet-xxxxxxxxããã±ããåï¼ï¼ $ aws s3api get-bucket-policy --bucket backet-xxxxxxxx { "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::1234nnnn5678:role/xxx
{{#tags}}- {{label}}
{{/tags}}