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< ? tagPrefixList, required Input tagStatus})String> ?> -
Creates a new LifecyclePolicySelection.
countNumberThe count number to use with the count type.countTypeThe type of count to perform. Either 'imageCountMoreThan', 'sinceImagePushed', 'sinceImagePulled', or 'sinceImageTransitioned'.countUnitThe unit of time for count types based on image age. Required when 'countType' is 'sinceImagePushed', 'sinceImagePulled', or 'sinceImageTransitioned'. The only supported value is 'days'.storageClassThe 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'.tagPrefixListA list of image tag prefixes on which to take action.tagStatusThe 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