InventoryFilterPredicate - AWS Certificate Manager
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

InventoryFilterPredicate

One condition on a certificate. Set exactly one member.

Contents

Note

In the following list, the required parameters are described first.

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

AccountId

Matches certificates with a related resource in this account.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

AcmCertificateArn

Matches certificates by the ARN of a related ACM certificate. It can match:

  • The certificate the ACM certificate holds now.

  • Every certificate the ACM certificate has held.

Type: AcmCertificateArnPredicate object

Required: No

Domain

Matches the certificate's DNS subject alternative names and subject common name, without regard to case.

Type: DomainPredicate object

Required: No

HighestFindingSeverity

Matches the certificate's HighestFindingSeverity. NOT_EVALUATED matches exactly the certificates whose findings have not been evaluated yet.

Type: String

Valid Values: CRITICAL | HIGH | MEDIUM | LOW | INFORMATIONAL | HEALTHY | NOT_APPLICABLE | NOT_EVALUATED

Required: No

Identifier

Matches one certificate by its identifier. Used alone, it looks up a single certificate.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-z0-9]{1,64}

Required: No

IssuanceType

Matches the certificate's X509Details.IssuanceType, not the issuance type of a related resource.

Type: String

Valid Values: AMAZON_ISSUED | PRIVATE_CA_ISSUED | IMPORTED | EXTERNAL | PRIVATE_CA_DIRECT

Required: No

Issuer

Matches the certificate's X509Details.Issuer distinguished name exactly, including case. It does not match a certificate authority ARN. To match part of the name, use IssuerWords.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

IssuerWords

Matches certificates whose X509Details.Issuer distinguished name contains every word of the value, in any order and in any case. Each word must match a whole word of the name. For example, amazon rsa matches CN=Amazon RSA 2048 M03,O=Amazon,C=US, but amaz does not.

The value holds 1 to 64 words, and the IssuerWords values of one filter hold at most 512 words in total.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

KeyAlgorithm

Matches the certificate's key algorithm.

Type: String

Valid Values: RSA_1024 | RSA_2048 | RSA_3072 | RSA_4096 | EC_prime256v1 | EC_secp384r1 | EC_secp521r1 | ED25519 | ED448 | OTHER

Required: No

MaterialType

Matches the certificate's material type.

Type: String

Valid Values: X509_CERTIFICATE

Required: No

NotAfter

Matches certificates whose NotAfter falls in the range.

Type: InventoryTimeRange object

Required: No

PcaCertificateArn

Matches the certificate that AWS Private Certificate Authority (AWS Private CA) issued with this certificate ARN. The ARN is compared exactly, case included, as AWS Private CA reports it.

Type: String

Length Constraints: Minimum length of 5. Maximum length of 200.

Pattern: arn:[\w+=/,.@-]+:acm-pca:[\w+=/,.@-]*:[0-9]+:certificate-authority/[\w+=,.@-]+/certificate/[\w+=,.@-]+

Required: No

PcaCertificateAuthorityArn

Matches certificates by the ARN of a related AWS Private CA certificate authority. It can match:

  • The certificates it issued.

  • Its own certificate.

Type: PrivateCaCertificateAuthorityArnPredicate object

Required: No

Region

Matches certificates with a related resource in this Region. When you combine it with AccountId, the account and the Region can come from different related resources.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 32.

Pattern: [a-z]{2,4}(-[a-z]+)+-[0-9]+

Required: No

RelatedResourceType

Matches certificates with a related resource of this type. Usage targets, such as load balancers, are not related resources.

Type: String

Valid Values: ACM_CERTIFICATE | PCA_CERTIFICATE | PCA_CERTIFICATE_AUTHORITY

Required: No

SignatureAlgorithm

Matches the certificate's X509Details.SignatureAlgorithm, such as SHA256WITHRSA. The whole value is compared, without regard to case.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: No

UsageStatus

Matches certificates by observed usage:

  • IN_USE: certificates observed in use.

  • NOT_IN_USE: certificates with no observed usages.

Type: String

Valid Values: IN_USE | NOT_IN_USE

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: