GlacierToGCSOperator

Amazon

Transfers data from Amazon Glacier to Google Cloud Storage

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

aws_conn_idstrThe reference to the AWS connection details
gcp_conn_idstrThe reference to the GCP connection details
vault_namestringthe Glacier vault on which job is executed
bucket_namestrthe Google Cloud Storage bucket where the data will be transferred
object_namestrthe name of the object to check in the Google cloud storage bucket.
gzipbooloption to compress local file or file data for upload
chunk_sizeintsize of chunk in bytes the that will downloaded from Glacier vault
delegate_tostrThe account to impersonate using domain-wide delegation of authority, if any. For this to work, the service account making the request must have domain-wide delegation enabled.
google_impersonation_chainOptional 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).
impersonation_chainUnion[str, Sequence[str]]

Documentation

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: GlacierToGCSOperator

Example DAGs

Was this page helpful?