1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
You can create an S3 with the following code.
Cors is not set in this code.
import boto3
AWS_REGION ="ap-northeast-1"
client = boto3.client('s3',region_name=AWS_REGION)
bucket_name = "bucket_name"
response = client.create_bucket(Bucket=bucket_name,
CreateBucketConfiguration={'LocationConstraint': AWS_REGION})
관련 콘텐츠
- 질문됨 8달 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전