airflow.providers.amazon.aws.hooks.ecr
¶
Module Contents¶
Classes¶
Helper (frozen dataclass) for storing temporary ECR credentials. |
|
Interact with Amazon Elastic Container Registry (ECR) |
Attributes¶
- class airflow.providers.amazon.aws.hooks.ecr.EcrCredentials[source]¶
Helper (frozen dataclass) for storing temporary ECR credentials.
- class airflow.providers.amazon.aws.hooks.ecr.EcrHook(**kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook
Interact with Amazon Elastic Container Registry (ECR)
Additional arguments (such as
aws_conn_id
) may be specified and are passed down to the underlying AwsBaseHook.See also
- get_temporary_credentials(registry_ids=None)[source]¶
Get temporary credentials for Amazon ECR.
Return list of
EcrCredentials
, obtained credentials valid for 12 hours.