Skip to content

EC2  >  Structures  >  CreationDateCondition

CreationDateCondition

Structure Class

CreationDateCondition dataclass

Bases: _SerdeShape

The maximum age for allowed images.

Attributes

maximum_days_since_created class-attribute instance-attribute
maximum_days_since_created: int | None = ...

The maximum number of days that have elapsed since the image was created. For example, a value of 300 allows images that were created within the last 300 days.