GetLifecyclePolicyDocumentRule constructor

const GetLifecyclePolicyDocumentRule({
  1. Input<GetLifecyclePolicyDocumentRuleAction?>? action,
  2. Input<String?>? description,
  3. required Input<int> priority,
  4. required Input<GetLifecyclePolicyDocumentRuleSelection> selection,
})

Creates a new GetLifecyclePolicyDocumentRule. action Specifies the action to take. description Describes the purpose of a rule within a lifecycle policy. priority Sets the order in which rules are evaluated, lowest to highest. When you add rules to a lifecycle policy, you must give them each a unique value for priority. Values do not need to be sequential across rules in a policy. A rule with a tagStatus value of any must have the highest value for priority and be evaluated last. selection Collects parameters describing the selection criteria for the ECR lifecycle policy:

Implementation

const GetLifecyclePolicyDocumentRule({
  this.action,
  this.description,
  required this.priority,
  required this.selection,
});