GetLifecyclePolicyDocumentRule constructor
const
GetLifecyclePolicyDocumentRule({
- Input<
GetLifecyclePolicyDocumentRuleAction?> ? action, - Input<
String?> ? description, - required Input<
int> priority, - 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,
});