runway.lookups.handlers.ecr module

Retrieve a value from AWS Elastic Container Registry (ECR).

class runway.lookups.handlers.ecr.EcrLookup[source]

Bases: LookupHandler[CfnginContext | RunwayContext]

ECR Lookup.

TYPE_NAME: ClassVar[str] = 'ecr'

Name that the Lookup is registered as.

static get_login_password(client: ECRClient) str[source]

Get a password to login to ECR registry.

classmethod handle(value: str, context: CfnginContext | RunwayContext, **_kwargs: Any) Any[source]

Retrieve a value from AWS Elastic Container Registry (ECR).

Parameters:
  • value – The value passed to the Lookup.

  • context – The current context object.