LifecyclePolicySelection class

Represents selection criteria for an ECR lifecycle policy rule.

Constructors

LifecyclePolicySelection({required Input<int> countNumber, required Input countType, Input<String?>? countUnit, Input<String?>? storageClass, Input<List<String>?>? tagPrefixList, required Input tagStatus})
Creates a new LifecyclePolicySelection. countNumber The count number to use with the count type. countType The type of count to perform. Either 'imageCountMoreThan', 'sinceImagePushed', 'sinceImagePulled', or 'sinceImageTransitioned'. countUnit The unit of time for count types based on image age. Required when 'countType' is 'sinceImagePushed', 'sinceImagePulled', or 'sinceImageTransitioned'. The only supported value is 'days'. storageClass The image storage class to select. Required when 'countType' is 'sinceImageTransitioned' (must be 'archive'). For 'imageCountMoreThan', 'sinceImagePushed', and 'sinceImagePulled', the only supported value is 'standard'. If omitted, ECR uses 'standard'. tagPrefixList A list of image tag prefixes on which to take action. tagStatus The tag status of the image. Either 'tagged', 'untagged', or 'any'.
const
LifecyclePolicySelection.fromMap(Map<String, dynamic> map)
factory

Properties

countNumber → Input<int>
The count number to use with the count type.
final
countType → Input
The type of count to perform. Either 'imageCountMoreThan', 'sinceImagePushed', 'sinceImagePulled', or 'sinceImageTransitioned'.
final
countUnit → Input<String?>?
The unit of time for count types based on image age. Required when 'countType' is 'sinceImagePushed', 'sinceImagePulled', or 'sinceImageTransitioned'. The only supported value is 'days'.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storageClass → Input<String?>?
The image storage class to select. Required when 'countType' is 'sinceImageTransitioned' (must be 'archive'). For 'imageCountMoreThan', 'sinceImagePushed', and 'sinceImagePulled', the only supported value is 'standard'. If omitted, ECR uses 'standard'.
final
tagPrefixList → Input<List<String>?>?
A list of image tag prefixes on which to take action.
final
tagStatus → Input
The tag status of the image. Either 'tagged', 'untagged', or 'any'.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited