libera_utils.aws.constants#

AWS ECR Repository/Algorithm names

Classes

CkObject(value[, names, module, qualname, ...])

Enum of valid CK objects

DataLevel(value[, names, module, qualname, ...])

Data product level

DataProductIdentifier(value[, names, ...])

Enumeration of data product canonical IDs used in AWS resource naming These IDs refer to the data products (files) themselves, NOT the processing steps (since processing steps may produce multiple products).

LiberaApid(value[, names, module, qualname, ...])

APIDs for L0 packets

ManifestType(value[, names, module, ...])

Enumerated legal manifest type values

ProcessingStepIdentifier(value[, names, ...])

Enumeration of processing step IDs used in AWS resource naming and processing orchestration

SpkObject(value[, names, module, qualname, ...])

Enum of valid SPK objects

class libera_utils.aws.constants.CkObject(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Enum of valid CK objects

property data_product_id: DataProductIdentifier#

DataProductIdentifier for CKs associated with this CK object

property processing_step_id: ProcessingStepIdentifier#

ProcessingStepIdentifier for the processing step that produces CKs for this CK object

class libera_utils.aws.constants.DataLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Data product level

class libera_utils.aws.constants.DataProductIdentifier(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Enumeration of data product canonical IDs used in AWS resource naming These IDs refer to the data products (files) themselves, NOT the processing steps (since processing steps may produce multiple products).

In general these names are of the form <level>-<source>-<type>

class libera_utils.aws.constants.LiberaApid(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

APIDs for L0 packets

class libera_utils.aws.constants.ManifestType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Enumerated legal manifest type values

class libera_utils.aws.constants.ProcessingStepIdentifier(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Enumeration of processing step IDs used in AWS resource naming and processing orchestration

In orchestration code, these are used as “NodeID” values to identify processing steps:

The processing_step_node_id values used in libera_cdk deployment stackbuilder module and the node names in processing_system_dag.json must match these.

They must also be passed to the ecr_upload module called by some libera_cdk integration tests.

property ecr_name: str#

Get the manually-configured ECR name for this processing step

We name our ECRs in CDK because they are one of the few resources that humans will need to interact with on a regular basis.

class libera_utils.aws.constants.SpkObject(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Enum of valid SPK objects

property data_product_id: DataProductIdentifier#

DataProductIdentifier for SPKs associated with this SPK object

property processing_step_id: ProcessingStepIdentifier#

ProcessingStepIdentifier for the processing step that produces SPKs for this SPK object