Skip to content

InventoryCertificate

Source code in docs_src/capo_acm/types/inventory_certificate.py
class InventoryCertificate(TypedDict, closed=True):
    identifier: "capo_acm.types.content_hash_identifier.ContentHashIdentifier"
    """The certificate's identifier in the inventory."""
    material_type: "capo_acm.types.material_type.MaterialType"
    """The kind of certificate."""
    validity: "capo_acm.types.validity_window.ValidityWindow"
    """When the certificate is valid."""
    identity: (
        "capo_acm.types.inventory_certificate_identity.InventoryCertificateIdentity"
    )
    """Who or what the certificate identifies."""
    usage_count: "int"
    """How many places the certificate was observed in use, counted when the certificate was last collected. It can lag the TotalCount of ListInventoryUsages. It can also differ from InUseByCount in a related ACM certificate's metadata. InUseByCount is the length of the InUseBy list in ACM when the inventory last read it, not what the inventory observed."""
    finding_counts: NotRequired["capo_acm.types.finding_counts.FindingCounts"]
    """Counts of open findings by severity. Absent until findings have been evaluated for this certificate."""
    x509_details: NotRequired[
        "capo_acm.types.inventory_x509_details.InventoryX509Details"
    ]
    """Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE."""
    highest_finding_severity: NotRequired[
        "capo_acm.types.certificate_health_severity.CertificateHealthSeverity"
    ]
    """The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been evaluated yet. SearchInventory returns it for every certificate."""
    related_resource_count: NotRequired["int"]
    """How many related resources the certificate has. These are the ACM certificates, AWS Private Certificate Authority (AWS Private CA) certificates, and AWS Private CA certificate authorities that ListInventoryRelatedResources lists for it. It is a whole number, 0 or more, with no upper bound. 0 means the certificate has none. It is counted each time the inventory updates the certificate, so it can lag the TotalCount of ListInventoryRelatedResources until the next update. Absent when it has not been counted for this certificate."""

finding_counts instance-attribute

finding_counts: NotRequired[FindingCounts]

Counts of open findings by severity. Absent until findings have been evaluated for this certificate.

highest_finding_severity instance-attribute

highest_finding_severity: NotRequired[CertificateHealthSeverity]

The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been evaluated yet. SearchInventory returns it for every certificate.

identifier instance-attribute

The certificate's identifier in the inventory.

identity instance-attribute

Who or what the certificate identifies.

material_type instance-attribute

material_type: MaterialType

The kind of certificate.

related_resource_count instance-attribute

related_resource_count: NotRequired[int]

How many related resources the certificate has. These are the ACM certificates, AWS Private Certificate Authority (AWS Private CA) certificates, and AWS Private CA certificate authorities that ListInventoryRelatedResources lists for it. It is a whole number, 0 or more, with no upper bound. 0 means the certificate has none. It is counted each time the inventory updates the certificate, so it can lag the TotalCount of ListInventoryRelatedResources until the next update. Absent when it has not been counted for this certificate.

usage_count instance-attribute

usage_count: int

How many places the certificate was observed in use, counted when the certificate was last collected. It can lag the TotalCount of ListInventoryUsages. It can also differ from InUseByCount in a related ACM certificate's metadata. InUseByCount is the length of the InUseBy list in ACM when the inventory last read it, not what the inventory observed.

validity instance-attribute

validity: ValidityWindow

When the certificate is valid.

x509_details instance-attribute

x509_details: NotRequired[InventoryX509Details]

Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.