ImageCriterion
¶
Source code in docs_src/capo_ec2/types/image_criterion.py
creation_date_condition
instance-attribute
¶
creation_date_condition: NotRequired[CreationDateCondition]
The maximum age for allowed images.
deprecation_time_condition
instance-attribute
¶
deprecation_time_condition: NotRequired[DeprecationTimeCondition]
The maximum period since deprecation for allowed images.
image_names
instance-attribute
¶
image_names: NotRequired[ImageNameList]
The names of allowed images. Names can include wildcards (? and *).
Length: 1–128 characters. With ?, the minimum is 3 characters.
Valid characters:
-
Letters:
A–Z, a–z -
Numbers:
0–9 -
Special characters:
( ) [ ] . / - ' @ _ * ? -
Spaces
Maximum: 50 values
image_providers
instance-attribute
¶
image_providers: NotRequired[ImageProviderList]
The image providers whose images are allowed.
Possible values:
-
amazon: Allow AMIs created by Amazon or verified providers. -
aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace. -
aws-backup-vault: Allow AMIs created by Amazon Web Services Backup. -
12-digit account ID: Allow AMIs created by this account. One or more account IDs can be specified.
-
none: Allow AMIs created by your own account only.
Maximum: 200 values
image_watermarks
instance-attribute
¶
image_watermarks: NotRequired[ImageWatermarkFilterResponseList]
The watermark criteria that an AMI must match to be allowed. An AMI is allowed if it carries at least one watermark that satisfies an ImageWatermarkFilter. A watermark satisfies a filter when all specified fields in the ImageWatermarkFilter match the corresponding values on the watermark of the AMI.
Maximum: 50 values
marketplace_product_codes
instance-attribute
¶
marketplace_product_codes: NotRequired[MarketplaceProductCodeList]
The Amazon Web Services Marketplace product codes for allowed images.
Length: 1-25 characters
Valid characters: Letters (A–Z, a–z) and numbers (0–9)
Maximum: 50 values