LifecyclePolicyRule class
Represents a rule in an ECR lifecycle policy.
Constructors
-
LifecyclePolicyRule({required Input<
LifecyclePolicyAction> action, Input<String?> ? description, required Input<int> rulePriority, required Input<LifecyclePolicySelection> selection}) -
Creates a new LifecyclePolicyRule.
actionThe action to take when the rule is triggered.descriptionA description of the rule.rulePriorityThe priority of the rule, must be unique within the policy.selectionThe selection criteria for the rule.const -
LifecyclePolicyRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
LifecyclePolicyAction> -
The action to take when the rule is triggered.
final
-
description
→ Input<
String?> ? -
A description of the rule.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rulePriority
→ Input<
int> -
The priority of the rule, must be unique within the policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selection
→ Input<
LifecyclePolicySelection> -
The selection criteria for the rule.
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