S3CreateBucketOperator

Amazon

This operator creates an S3 bucket

View Source

Last Updated: May. 7, 2021

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_namestrThis is bucket name you want to create
aws_conn_idOptional[str]The 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_nameOptional[str]AWS region_name. If not specified fetched from connection.

Documentation

This operator creates an S3 bucket

Was this page helpful?