prefect_aws.deployments.steps
Prefect deployment steps for code storage and retrieval in S3 and S3
compatible services.
Functions
push_to_s3
bucket: The name of the S3 bucket where files will be uploaded.folder: The folder in the S3 bucket where files will be uploaded.credentials: A dictionary of AWS credentials (aws_access_key_id, aws_secret_access_key, aws_session_token) or MinIO credentials (minio_root_user, minio_root_password).client_parameters: A dictionary of additional parameters to pass to the boto3 client.ignore_file: The name of the file containing ignore patterns.
- A dictionary containing the bucket and folder where files were uploaded.
pull_from_s3
bucket: The name of the S3 bucket where files are stored.folder: The folder in the S3 bucket where files are stored.credentials: A dictionary of AWS credentials (aws_access_key_id, aws_secret_access_key, aws_session_token) or MinIO credentials (minio_root_user, minio_root_password).client_parameters: A dictionary of additional parameters to pass to the boto3 client.
- A dictionary containing the bucket, folder, and local directory where files were downloaded.
Classes
PushToS3Output
The output of the push_to_s3 step.
PullFromS3Output
The output of the pull_from_s3 step.