LifecyclePolicySelection constructor

const LifecyclePolicySelection({
  1. required Input<int> countNumber,
  2. required Input countType,
  3. Input<String?>? countUnit,
  4. Input<String?>? storageClass,
  5. Input<List<String>?>? tagPrefixList,
  6. 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'.

Implementation

const LifecyclePolicySelection({
  required this.countNumber,
  required this.countType,
  this.countUnit,
  this.storageClass,
  this.tagPrefixList,
  required this.tagStatus,
});