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})
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前