S3CreateBucketOperator

Amazon

This operator creates an S3 bucket

View on GitHub

Last Updated: Jan. 24, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

bucket_nameRequiredThis is bucket name you want to create
aws_conn_idThe Airflow connection used for AWS credentials. If this is None or empty then the default boto3 behaviour is used. If running Airflow in a distributed manner and aws_conn_id is None or empty, then default boto3 configuration would be used (and must be maintained on each worker node).
region_nameAWS region_name. If not specified fetched from connection.

Documentation

This operator creates an S3 bucket

See also

For more information on how to use this operator, take a look at the guide: Create an Amazon S3 bucket

Was this page helpful?