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})
相關內容
- 已提問 1 年前
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前