Ops/AWS
AWS IAM Policy - file download from S3 on EC2
mkdir.chandler
2023. 9. 2. 00:00
반응형
AWS IAM Policy - file download from S3 on EC2
■ 설명
GameServer에서 S3에 접근하여 패치 파일을 다운로드하기 위한 policy 입니다.
■ 코드
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::bucketname",
"arn:aws:s3:::bucketname/*"
]
}
]
}
■ Reference
내용 | URL | |
S3 policy example | https://docs.aws.amazon.com/ko_kr/AmazonS3/latest/dev/example-policies-s3.html | |
- | - |
by mkdir-chandler
728x90
반응형