airflow.providers.amazon.aws.transfers.glacier_to_gcs
¶
Module Contents¶
Classes¶
Transfers data from Amazon Glacier to Google Cloud Storage. |
- class airflow.providers.amazon.aws.transfers.glacier_to_gcs.GlacierToGCSOperator(*, aws_conn_id='aws_default', gcp_conn_id='google_cloud_default', vault_name, bucket_name, object_name, gzip, chunk_size=1024, google_impersonation_chain=None, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
Transfers data from Amazon Glacier to Google Cloud Storage.
Note
Please be warn that GlacierToGCSOperator may depends on memory usage. Transferring big files may not working well.
See also
For more information on how to use this operator, take a look at the guide: Amazon S3 Glacier To GCS transfer operator
- Parameters
aws_conn_id (str | None) – The reference to the AWS connection details
gcp_conn_id (str) – The reference to the GCP connection details
vault_name (str) – the Glacier vault on which job is executed
bucket_name (str) – the Google Cloud Storage bucket where the data will be transferred
object_name (str) – the name of the object to check in the Google cloud storage bucket.
gzip (bool) – option to compress local file or file data for upload
chunk_size (int) – size of chunk in bytes the that will be downloaded from Glacier vault
google_impersonation_chain (str | Sequence[str] | None) – Optional Google service account to impersonate using short-term credentials, or chained list of accounts required to get the access_token of the last account in the list, which will be impersonated in the request. If set as a string, the account must grant the originating account the Service Account Token Creator IAM role. If set as a sequence, the identities from the list must grant Service Account Token Creator IAM role to the directly preceding identity, with first account from the list granting this role to the originating account (templated).